Commit Graph

646 Commits

Author SHA1 Message Date
justin marcus
fb5376f903 Remove explict calls to InitGameTextLocalization() as they shouldn't be needed anymore.
[at]Jamie.Dale [at]Thomas.Ross



#ROBOMERGE-SOURCE: CL 11175912 via CL 11175917 via CL 11175921
#ROBOMERGE-BOT: (v640-11091645)

[CL 11175927 by justin marcus in Main branch]
2020-01-30 09:19:25 -05:00
Ben Marsh
0e6aa011b3 Copying //UE4/Dev-Build @ CL 11166028 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11166227 by Ben Marsh in Main branch]
2020-01-29 14:48:18 -05:00
Martin Ridgers
836a7f4cff Fixed check(FPlatformTLS::GetCurrentThreadId() == MasterThreadID); asserts. The GLog singleton is lazy initialised and by default will assume that its "master thread" is the one it was created on. This lazy initialisation can happen during the dynamic init (e.g. static) of a DLL which modern Windows does on a worker thread thus makeing its master thread not this one. So we make it this one and GLog->TearDown() is happy.
#rb rm
#rnx

[CL 11153499 by Martin Ridgers in Dev-Core branch]
2020-01-29 07:44:14 -05:00
jamie dale
1efd504465 Fixed static initialization order issue when binding FTextLocalizationManager::OnPakFileMounted
The FTextLocalizationManager constructor would run before the FCoreDelegates::OnPakFileMounted constructor, resulting in the FTextLocalizationManager::OnPakFileMounted binding being cleared. This binding is now made from BeginPreInitTextLocalization which runs before the PAK file loader is created.

#rb none
#rnx


#ROBOMERGE-SOURCE: CL 11125855 via CL 11126351 via CL 11126451
#ROBOMERGE-BOT: (v640-11091645)

[CL 11126561 by jamie dale in Main branch]
2020-01-28 05:18:51 -05:00
PJ Kack
ef8a7b620e AUTO MERGE
Merging //UE4/Main @ 11112898 to //UE4/Dev-Core (dev-core-l0178)

#rb none

(ushell-p4-mergedown)

[CL 11113593 by PJ Kack in Dev-Core branch]
2020-01-26 11:35:42 -05:00
Rolando Caloca
bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
Arciel Rekman
337e706273 Optimize shader compilation through XGE (bringing CL 11084076)
- Avoid directory scanning for .ini files by restoring already initialized config cache state on the workers
  - Avoid directory scanning for modules by restoring already initialized modulemanager state on the workers
  - Avoid directory scanning for external profilers DLLs by disabling the option in the build config
  - 20s -> 319ms of FEngineLoop::PreInit which was caused by directory scan through XGE remote filesystem
  - 5% -> 96% efficiency when computing the effective work against process total time for remotely built shaders
  - 5m36 ->1m26s to run "recompileshaders all" console command including waiting on async built shaders

#rb Danny.Couture (authored), Luke.Thatcher, Steve.Robb, Josh.Adams
[FYI] Bob.Tellez, Danny.Couture


#ROBOMERGE-OWNER: Arciel.Rekman
#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 11106212 via CL 11106216
#ROBOMERGE-BOT: (v640-11091645)

[CL 11106241 by Arciel Rekman in Main branch]
2020-01-24 12:16:02 -05:00
rex hill
ee79f769dd CmdLineFile argument now removes itself from command line
#rnx
#rb chris.gagnon


#ROBOMERGE-SOURCE: CL 11104883 via CL 11104902 via CL 11104929
#ROBOMERGE-BOT: (v640-11091645)

[CL 11104942 by rex hill in Main branch]
2020-01-24 10:16:38 -05:00
Johan Berg
cbd1856796 Avoid spamming "Frame %d" events when Trace cpu channel is enabled.
#rb cm.nordin

[CL 11104151 by Johan Berg in Dev-Core branch]
2020-01-24 08:02:42 -05:00
graeme thornton
b096dace81 When processing command line aliases, check for there being a valid ProjectPath rather than a project file path. In some build types, the project file path might not have been configured and therefore the aliasing system will early out.
#rb rex.hill


#ROBOMERGE-SOURCE: CL 11053848 via CL 11053863 via CL 11053865
#ROBOMERGE-BOT: (v637-11041722)

[CL 11053866 by graeme thornton in Main branch]
2020-01-17 14:25:28 -05:00
CarlMagnus Nordin
80460b15ca IoDispatcher:
Fixed some initialization order problems

#rb none

[CL 11041131 by CarlMagnus Nordin in Dev-Core branch]
2020-01-17 03:29:28 -05:00
CarlMagnus Nordin
6abf1ca5c9 Create one IoDispatcher container file per pak file and let the pak file system handle mounting of IoStores
#rb per.larsson

[CL 11027862 by CarlMagnus Nordin in Dev-Core branch]
2020-01-16 06:01:45 -05:00
rex hill
0d1c337cab Fixed being able to override save directory with argument alias file
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 10953960 via CL 10953961 via CL 10953962 via CL 10953963
#ROBOMERGE-BOT: CORE (Main -> Dev-Core) (v632-10940481)

[CL 10979471 by rex hill in Dev-Core branch]
2020-01-14 05:36:00 -05:00
rex hill
cace4192cb Fixed being able to override save directory with argument alias file
#rb none
#rnx
#jira


#ROBOMERGE-SOURCE: CL 10953960 via CL 10953961 via CL 10953962
#ROBOMERGE-BOT: (v632-10940481)

[CL 10953963 by rex hill in Main branch]
2020-01-13 13:34:42 -05:00
Johan Berg
672f245053 Users of TraceLog now use channels
Systems that use TraceLog now uses channels to control if events are emitted. Also introduce a new command line argument "-trace" which allows users to specify a comma separated list of channel names to enable.

#rb martin.ridgers, ionut.matasaru

[CL 10950761 by Johan Berg in Dev-Core branch]
2020-01-13 07:16:21 -05:00
ryan durand
18322b071e Updating copyright for Engine Runtime.
#rnx
#rb none

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 via CL 10870549
#ROBOMERGE-BOT: CORE (Main -> Dev-Core) (v626-10872990)

[CL 10897039 by ryan durand in Dev-Core branch]
2020-01-07 15:06:57 -05: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
PJ Kack
47a384fa28 IoStore: Fix IoDispatcher shutdown crash by moving shutdown to end of AppPreExit (i.e. after UObjectBaseShutdown and ShutdownAsyncThread, but before UnloadModulesAtShutdown)
Fix parsing of chunkmanifest to handle options and skip creating chunks without files.
Optimize file exists and recursive find to do one single file system traversal only.
Fix "Serializing..." output to display total number of packages

#rb per.larsson

[CL 10760676 by PJ Kack in Dev-Core branch]
2019-12-17 04:48:08 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
Robert Manuszewski
0993c8b84b Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 10707228 by Robert Manuszewski in Dev-Core branch]
2019-12-13 06:53:10 -05:00
dan hertzka
a1fbb066f7 Accounting for a (major) missed spot when initially updating the varios places UWidget passes a UserIndex to FSlateApplication - the processing of the FReply that lives on the LocalPlayer itself
- Now, if ever the fallback case of UWidget::SetFocus() is hit, for example, the desired focus target will be updated for the correct SlateUser that corresponds to the LocalPlayer
- Also updating UWidget's uses of GetUserIndexForController() to the new signature that accounts for the possibility of a player not yet having a valid SlateUser index

#rb [at]Donal.MacCarthy
[REVIEW] [at]Nick.Darnell, [at]Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: dan.hertzka
#ROBOMERGE-SOURCE: CL 10614852 via CL 10614856 via CL 10614859 via CL 10614861 via CL 10614863 via CL 10614864
#ROBOMERGE-BOT: CORE (Main -> Dev-Core) (v610-10636431)

[CL 10701777 by dan hertzka in Dev-Core branch]
2019-12-13 01:25:00 -05:00
Martin Ridgers
63f4a49e04 Don't auto-connect Programs to a trace recorder.
#rb trivial
#rnx

[CL 10670040 by Martin Ridgers in Dev-Core branch]
2019-12-12 07:18:35 -05:00
CarlMagnus Nordin
f5e4762b22 IoDispatcher:
Split container files based on pak chunking

#rb per.larsson

[CL 10669979 by CarlMagnus Nordin in Dev-Core branch]
2019-12-12 06:39:05 -05:00
emil persson
8fdf7449e8 Fix for memory leak that triggered check(!TotalBytesRequested) in FD3D12SegListAllocator::Destroy(). FVirtualTextureChunkStreamingManager was never destroyed so the resources it held thus never released.
#rb ethan.geller


#ROBOMERGE-SOURCE: CL 10669161 via CL 10669166 via CL 10669169
#ROBOMERGE-BOT: (v609-10634694)

[CL 10669174 by emil persson in Main branch]
2019-12-12 05:23:35 -05:00
dan hertzka
b9b180eeff Accounting for a (major) missed spot when initially updating the varios places UWidget passes a UserIndex to FSlateApplication - the processing of the FReply that lives on the LocalPlayer itself
- Now, if ever the fallback case of UWidget::SetFocus() is hit, for example, the desired focus target will be updated for the correct SlateUser that corresponds to the LocalPlayer
- Also updating UWidget's uses of GetUserIndexForController() to the new signature that accounts for the possibility of a player not yet having a valid SlateUser index

#rb [at]Donal.MacCarthy
[REVIEW] [at]Nick.Darnell, [at]Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 10614852 via CL 10614856 via CL 10614859 via CL 10614861 via CL 10614863
#ROBOMERGE-BOT: (v608-10590470)

[CL 10614864 by dan hertzka in Main branch]
2019-12-09 14:50:46 -05:00