28 Commits

Author SHA1 Message Date
thomas ross
c67517af8e Fix for not correctly tracking combined progress if all supplied bundles had 0 weight. Will now evenly distribute progress if all bundles have 0 weight instead of tracking nothing.
#rb swarm
#tests Android Dev Client

[CL 25537509 by thomas ross in ue5-main branch]
2023-05-18 21:07:41 -04:00
thomas ross
95e8160a94 FInstallBundleCombinedProgressTracker (InstallBundleManager Utility)
- Fixed issue when we could en up showing 100% Updating status when there was still Finishing work being done while waiting to receive GetBundleProgress. Now if ProgressPercent is 1.0f we will correctly show Finilizing progress if applicable.
- No longer track 0 weight bundles as they have no meaningful reason to be tracked and can lead to errors.
#rb Swarm
#tests Android Dev Client

[CL 25157574 by thomas ross in ue5-main branch]
2023-04-22 01:07:57 -04:00
marc audy
9f5443d9ef * More removal of includes to reduce compile times (FortTypes.h, FortPersistentTypes.h, etc etc)
#rb self
#preflight 6344ac456e400a8e200e4a44

[CL 22451800 by marc audy in ue5-main branch]
2022-10-11 02:52:57 -04:00
bryan sefcik
df13e400e4 Renamed private pch headers in InstallBundleManager and fixed -NoPCH -DisableUnity compile issues.
#jira
#preflight 6307d6ebaa0fda29197d3f0f

[CL 21585132 by bryan sefcik in ue5-main branch]
2022-08-26 01:45:41 -04:00
Andriy Tylychko
2a295eb685 deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau

[CL 17176325 by Andriy Tylychko in ue5-main branch]
2021-08-16 11:05:18 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
justin marcus
e230f015a1 Install Bundle Refactor
- Type renames

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10685506 via CL 10685521 via CL 10685532
#ROBOMERGE-BOT: (v610-10636431)

[CL 10685540 by justin marcus in Main branch]
2019-12-12 15:05:38 -05:00
justin marcus
5ae44b2b9e Install bundle manager refactor
- Refactor Progress
- Add logging for bundle versions
- Fix min/max bundle version logging not working when some bundles had no version

[at]Daniel.Lamb [at]Hongyi.Yu [at]Thomas.Ross



#ROBOMERGE-SOURCE: CL 10683000 via CL 10684147 via CL 10684258
#ROBOMERGE-BOT: (v610-10636431)

[CL 10684369 by justin marcus in Main branch]
2019-12-12 14:46:31 -05:00
justin marcus
64a4c8cc9c Install bundle manager refactor
- Pause / Resume support
- Cancel support
- Make TArrayView usage const correct

[at]Daniel.Lamb [at]Hongyi.Yu



#ROBOMERGE-SOURCE: CL 10612015 via CL 10612030 via CL 10613683
#ROBOMERGE-BOT: (v608-10590470)

[CL 10613781 by justin marcus in Main branch]
2019-12-09 13:52:45 -05:00
justin marcus
841c53cda5 Install Bundle Manager
- Add Version Info to GetContentState

[at]Daniel.Lamb


#ROBOMERGE-SOURCE: CL 10073808 via CL 10073823 via CL 10073831 via CL 10073836
#ROBOMERGE-BOT: (v574-10069753)

[CL 10075039 by justin marcus in Main branch]
2019-11-07 15:35:09 -05:00
justin marcus
5d32bfb2e9 Fix FBundlePrereqCombinedStatusHelper tracking all bundles returned in a FInstallBundleContentState instead of only the ones actually being installed.
Move bundle weighting range normalization into FBundlePrereqCombinedStatusHelper so bundles are wegihted correctly with this fix.

[at]Thomas.Ross [at]Daniel.Lamb


#ROBOMERGE-SOURCE: CL 9899764 via CL 9902976 via CL 9903041
#ROBOMERGE-BOT: (v558-9892490)

[CL 9920624 by justin marcus in Main branch]
2019-10-31 14:19:21 -04:00
justin marcus
ed48906064 Stub out most of the Install Bundle Source Interface
[at]Daniel.Lamb [at]Hongyi.Yu


#ROBOMERGE-SOURCE: CL 9890818 via CL 9892367 via CL 9892450
#ROBOMERGE-BOT: (v557-9890184)

[CL 9892487 by justin marcus in Main branch]
2019-10-30 11:59:58 -04:00
justin marcus
45fece62d6 Add CombinedPauseFlags to FBundlePrereqCombinedStatusHelper::FCombinedBundleStatus
[at]Thomas.Rosss


#ROBOMERGE-SOURCE: CL 8213125 via CL 8213127 via CL 8220902
#ROBOMERGE-BOT: (v401-8057353)

[CL 8221187 by justin marcus in Main branch]
2019-08-22 22:50:45 -04:00
justin marcus
60610d1b81 Optional paks are now contained in their own install bundles instead of using optional tag sets.
[at]Daniel.Lamb [at]Thomas.Ross


#ROBOMERGE-SOURCE: CL 8129730 via CL 8129735 via CL 8133455
#ROBOMERGE-BOT: (v401-8057353)

[CL 8159454 by justin marcus in Main branch]
2019-08-21 09:27:39 -04:00
justin marcus
8b39bd15b0 Move Install Bundle Manager interface out of core and into the bundle manager module.
[at]Thomas.Ross [at]Daniel.Lamb


#ROBOMERGE-SOURCE: CL 7842003 via CL 7842009 via CL 7842010 via CL 7860819
#ROBOMERGE-BOT: (v389-7813075)

[CL 7860867 by justin marcus in Main branch]
2019-08-08 00:48:21 -04:00
justin marcus
e5a8262212 Remove unnecessary check for InstallDownloadProgress and fix weight when there is no background download progress.
[at]Thomas.Ross


#ROBOMERGE-SOURCE: CL 7660983 via CL 7662130 via CL 7667013
#ROBOMERGE-BOT: (v372-7473910)

[CL 7667319 by justin marcus in Main branch]
2019-07-30 21:17:00 -04:00
thomas ross
854bc63f70 Changing Initializing State to move to Updating once we begin downloads instead of waiting for progress.
#rb none
#tests iOS Client
[CODEREVIEW] [at]Justin.Marcus


#ROBOMERGE-SOURCE: CL 7479216 via CL 7479218 via CL 7479219 via CL 7499866 via CL 7547002
#ROBOMERGE-BOT: (v372-7473910)

[CL 7547285 by thomas ross in Main branch]
2019-07-23 11:02:18 -04:00
thomas ross
cfc1a3a624 Fix for Android progress sliding backwards early in the percent.
#rb none
#tests Android Classic Client
[CODEREVIEW] [at]Justin.Marcus


#ROBOMERGE-SOURCE: CL 7460598 via CL 7460605 via CL 7460610 via CL 7462708 via CL 7468236
#ROBOMERGE-BOT: (v371-7306989)

[CL 7468360 by thomas ross in Main branch]
2019-07-20 02:33:10 -04:00
justin marcus
cb31bf9954 BundlePrereqCombindStatusHelper - fix shader caching on Android being combined with other progress.
[REVIEW] [at]Thomas.Ross



#ROBOMERGE-SOURCE: CL 7327686 via CL 7327688 via CL 7327689 via CL 7327694 via CL 7396370
#ROBOMERGE-BOT: (v371-7306989)

[CL 7397777 by justin marcus in Main branch]
2019-07-17 10:18:29 -04:00
thomas ross
726f798670 BundlePrereqCombinedStatusHelper:
- Fixing Bug where we prematurely show status as Finished and then correct to show an earlier correct status.
- Fixing Bug where we were not resetting the bRequiredUpdate flag when calling SetBundlesToTrackFromContentState multiple times
- Adding bBundleRequiresUpdate bool to the current content state.
- Renaming CompilingShaders CombinedState to Finishing to match BundleManager progress better. Removed NoUpdateRequired state and replaced it with an accurate state and the bRequiredUpdate flag.

Fortnite
- Update calls to match above changes
- Fix bug where we would not show correct text during Shader Compilation
- Fix bug where we would show bad progress when mounting data when no updates are required.

#test iOS Client, Android Client
#rb Justin.Marcus


#ROBOMERGE-SOURCE: CL 7300373 via CL 7300377 via CL 7300378 via CL 7300379 via CL 7309265
#ROBOMERGE-BOT: (v371-7306989)

[CL 7316935 by thomas ross in Main branch]
2019-07-15 21:03:47 -04:00