Commit Graph

651 Commits

Author SHA1 Message Date
danny couture
16c046ce9e Schedule async textures on GThreadPool instead of GLargeThreadPool to reduce memory usage and improve editor responsiveness
Add texture compilation shutdown with cancellation when exiting the editor with textures still being processed
Improve game-thread responsiveness during forced async texture flush

#rb Francis.Hurteau

[CL 13990314 by danny couture in ue5-main branch]
2020-07-31 10:17:28 -04:00
Martin Ridgers
7734ed92e3 Fixed trace initialisation after a bad merge from UE-Main.
#rb jb
#rnx

#ushell-cherrypick of 13650632 by Martin.Ridgers

#ushell-cherrypick of 13873967 by Martin.Ridgers

[CL 13874021 by Martin Ridgers in ue5-main branch]
2020-07-16 09:26:09 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -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
danny couture
aa8163282b Merge GThreadPool and GLargeThreadPool in Editor using new ThreadPool wrapping functionality
- Supports limiting concurrency essentially giving the option of carving smaller threadpools out of a bigger one
  - Supports priority mapping function to allow per instance priority scheduling
  - In Editor, GThreadPool is now carved up from GLargeThreadPool by wrapping it and limiting concurrency
  - Can also reduce latency on the main thread pool because work items are scheduled just-in-time giving
    the chance to other wrapped queues to take turn and each make progress even if they have hundreds
    of tasks in their respective queue.

#rb Andriy.Tylychko, Francis.Hurteau

[CL 13682779 by danny couture in ue5-main branch]
2020-06-16 06:32:37 -04:00
Matt Kuhlenschmidt
603a4119c5 Fix HAL/PlatformFileManager.h non-portable casing CIS issues
#rb none

[CL 13214257 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-06 17:58:18 -04:00
Ben Marsh
99be00dcdb Merging latest from Private-Starship.
[CL 13192225 by Ben Marsh in ue5-main branch]
2020-05-05 18:50:52 -04:00
graeme thornton
13cc2ddf91 Minor update to editor target selection on launch to account for the possibility of default targets living in the engine
#ROBOMERGE-SOURCE: CL 13169031 via CL 13169032 via CL 13169035 via CL 13169038 via CL 13169055
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13169064 by graeme thornton in Main branch]
2020-05-05 05:21:56 -04:00
graeme thornton
e14db73224 Use the default editor target config setting, if it exists, to determine the path to the editor target file for startup re-compilation purposes
#ROBOMERGE-SOURCE: CL 13167877 via CL 13167881 via CL 13167891 via CL 13167921 via CL 13167982
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13168006 by graeme thornton in Main branch]
2020-05-05 04:39:02 -04:00
carlmagnus nordin
373fd671f7 Copying //UE4/Release-4.25Plus-Dev to Release-4.25Plus (//UE4/Release-4.25Plus)
#rnx
#jira none
#rb none

#ROBOMERGE-OWNER: carlmagnus.nordin
#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 12973630 in //UE4/Release-4.25Plus/... via CL 12973644
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12973696 by carlmagnus nordin in Main branch]
2020-04-22 06:25:12 -04:00
peter sauerbrei
87b27c72cd Workaround for IOS failing to load a default material until we can fix the shader being in the wrong library
#rb matt.collins

#ROBOMERGE-SOURCE: CL 12939116 via CL 12939157 via CL 12939184
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12939191 by peter sauerbrei in Main branch]
2020-04-20 17:06:44 -04:00
nick darnell
199eff3f74 Slate - When using demo.ClientRecordAsyncEndOfFrame 1 to run replay recording concurrent with slate tick, there tend to still be wrting performed on replicated objects due to player input. Because of this, Slate Tick is now seperable dividing up the initial call to just Platform and Input ticking, which performs message pumping as well as some additional added slate input tasks - tasks which inhertently tend to have networking side effects if the user is performing some action like clicking a button, which might trigger something networking related. Then we run replay recording if that option is enabled alongside slate tick where we only advance time, and then tick and paint widgets, which is assumed to not perform any replication altering behavior, this fixes several networking related crashes.
[FYI] Matt.Kuhlenschmidt
#rb Matt.Kuhlenschmidt


#ROBOMERGE-OWNER: nick.darnell
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 12781294 via CL 12781354 via CL 12781355 via CL 12781356
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782473 by nick darnell in Main branch]
2020-04-14 13:37:26 -04:00
arciel rekman
9ad7f4d545 Add a core delegate called on sampling the input (UE-91807).
- Allows to generalize input latency tracking.

#rb Steve.Robb
#jira UE-91807
[CODEREVIEW] Stefan.Boberg, Josh.Adams, Luke.Thatcher

#ROBOMERGE-SOURCE: CL 12695295 in //UE4/Release-4.25/... via CL 12695315 via CL 12695342
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v676-12543919)

[CL 12695359 by arciel rekman in Main branch]
2020-04-09 15:55:16 -04:00
ben woodhouse
9b65474372 Add logging for csvprofiler execcmds
#ROBOMERGE-SOURCE: CL 12488729 via CL 12488736 via CL 12488739
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12488747 by ben woodhouse in Main branch]
2020-03-30 14:19:06 -04:00
ethan geller
a72b7c24aa #rb aaron.mcleran
#ROBOMERGE-OWNER: ethan.geller
#ROBOMERGE-AUTHOR: ethan.geller
#ROBOMERGE-SOURCE: CL 12460400 via CL 12462420 via CL 12464809 via CL 12464956
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12465043 by ethan geller in Main branch]
2020-03-26 21:00:04 -04:00
ben woodhouse
282b3b6fb1 Add -csvExecCmds command line option, to run exec commands on particular CSV frames. E.g:
-csvexeccmds="500:listtextures,1000:listtextures". This can be useful when doing deterministic benchmarking


#ROBOMERGE-SOURCE: CL 12448050 via CL 12448070
#ROBOMERGE-BOT: (v671-12333473)

[CL 12448081 by ben woodhouse in Release-Engine-Staging branch]
2020-03-26 09:10:31 -04:00
Zousar Shaker
e184a4ce29 Implementation #2 - Ensure that when getting correct case for project path during engine startup on the Windows platform, we don't also resolve directory junctions at the same time as doing so can cause problems for p4 operations. This is done using the slow 'FindFirstFile' approach on EVERY SEGMENT of the project file path as was formerly done in the GetFilenameOnDisk implementation for Windows.
#jira UE-90427
#rb devin.doucette


#ushell-cherrypick of 12169209 by Zousar.Shaker
#robomerge[RELEASE] 4.25

[CL 12233080 by Zousar Shaker in Main branch]
2020-03-17 12:17:43 -04:00
josh adams
502f5c598a - Brought over a fix for Windows project path fixup
#rb zousar.shaker
#rnx


#ROBOMERGE-SOURCE: CL 12191972 via CL 12191973
#ROBOMERGE-BOT: (v662-12191386)

[CL 12191974 by josh adams in Main branch]
2020-03-15 18:08:09 -04:00
Zousar Shaker
956dd1221a Undo //UE4/Main/Engine/Source/Runtime/Launch/Private/... changelist 12154303
#jira UE-90427
#rb devin.doucette
#robomerge[RELEASE] 4.25

[CL 12154857 by Zousar Shaker in Main branch]
2020-03-12 17:17:10 -04:00
Zousar Shaker
42d2114448 Ensure that when getting correct case for project path during engine startup on the Windows platform, we don't also resolve directory junctions at the same time as doing so can cause problems for p4 operations. This is done using the slow 'FindFirstFile' approach on EVERY SEGMENT of the project file path as was formerly done in the GetFilenameOnDisk implementation for Windows.
#jira UE-90427
#rb devin.doucette
#robomerge[RELEASE] 4.25


#ushell-cherrypick of 12148641 by Zousar.Shaker

[CL 12154303 by Zousar Shaker in Main branch]
2020-03-12 16:21:53 -04:00
robert manuszewski
b74141b70b FReferenceFinder will not use multithreading until all native classes have been registered to avoid asserts when assembling token streams for classes that haven't had it assembled yet.
#rb none
#jira UE-87699

#ROBOMERGE-SOURCE: CL 12138322 in //UE4/Release-4.25/... via CL 12138327
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v659-12123632)

[CL 12140481 by robert manuszewski in Main branch]
2020-03-11 17:11:23 -04:00
ben marsh
ffd2f1ede7 Fix detection of engine modules being out of date.
#rb none
#jira UE-88824, UE-89676

#ROBOMERGE-SOURCE: CL 11658206 in //UE4/Release-4.25/... via CL 11658244
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11658322 by ben marsh in Main branch]
2020-02-27 11:10:22 -05:00
ben marsh
628a79285c Don't allow UBT to try and compile engine modules when the engine is already running.
#rb none
#jira UE-88824

#ROBOMERGE-SOURCE: CL 11637884 in //UE4/Release-4.25/... via CL 11637925
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v655-11596533)

[CL 11637942 by ben marsh in Main branch]
2020-02-26 13:33:44 -05:00
dmitriy dyomin
da160a036b Better fix for: Avoid spawning 6 extra threads on mobile for saving HighResScreenshots
#rb none


#ROBOMERGE-OWNER: dmitriy.dyomin
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 11574730 via CL 11574734 via CL 11574739 via CL 11574741
#ROBOMERGE-BOT: (v654-11333218)

[CL 11574774 by dmitriy dyomin in Main branch]
2020-02-21 04:23:16 -05:00
dmitriy dyomin
8aa2c13ecd Do not initialize HighResScreenshotConfig on mobile platforms, to avoid creating 6 threads
#ROBOMERGE-SOURCE: CL 11574653 via CL 11574656 via CL 11574657 via CL 11574658
#ROBOMERGE-BOT: (v654-11333218)

[CL 11574659 by dmitriy dyomin in Main branch]
2020-02-21 03:25:32 -05:00