Commit Graph

871 Commits

Author SHA1 Message Date
alex kahn
eee2dd4151 [Backout] - CL30051221 - CIS Compile Error
[FYI] christopher.waters
Original CL Desc
-----------------------------------------------------------------
Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30054260 by alex kahn in ue5-main branch]
2023-12-01 16:35:33 -05:00
christopher waters
f665a777c7 Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30051281 by christopher waters in ue5-main branch]
2023-12-01 15:32:12 -05:00
ben marsh
c56b317cbd Add support for JSON log events from stdout to Gauntlet, and re-enable automatically turning on JSON output when UE_LOG_JSON_TO_STDOUT environment variable is set.
[FYI] Devin.Doucette

[CL 30039040 by ben marsh in ue5-main branch]
2023-12-01 09:12:43 -05:00
devin doucette
fccbcacdee Logging: Backed out support for UE_LOG_JSON_TO_STDOUT
#rnx

[CL 29912178 by devin doucette in ue5-main branch]
2023-11-23 13:09:34 -05:00
devin doucette
2c7e07838e Logging: Added env var UE_LOG_JSON_TO_STDOUT=1 to enable structured logging on stdout for consistency with other tools
#rb Zousar.Shaker

[CL 29910379 by devin doucette in ue5-main branch]
2023-11-23 10:36:46 -05:00
ionut matasaru
62c44bba97 [Insights] Fixed "Frame" CPU timing events for the Render thread to not be added when the "RenderCommands" trace channel is on. This is because the "BeginFrame" and "EndFrame" commands will define CPU scopes (when "RenderCommands" channel is on) and will overlap with the "Frame" timing event (resulting in incorrect timestamps for both "BeginFrame" and "Frame" timing events). Also renamed "Frame" to "RenderingFrame" for the timer to not be merged with one used in the Game thread.
#jira UE-201035
#rb Johan.Berg, Catalin.Dragoiu

[CL 29908662 by ionut matasaru in ue5-main branch]
2023-11-23 08:18:10 -05:00
dmitriy dyomin
e947de61d9 Moved FReadOnlyCVARCache to RenderCore module
Cleaned up and made more rendering read-only cvars go through this cache
It now can cache platform specific cvars, in non-editor builds
#rb jack.porter

[CL 29681907 by dmitriy dyomin in ue5-main branch]
2023-11-13 09:13:11 -05:00
francis hurteau
bf6dacedd0 FlushAsyncLoading prior to disallowing any new requests as requests done during the scope of the flush are going to get flushed as well.
Directly use the loader to issue sync load from LoadPackage

#rb Danny.Couture, Robert.Millar

[CL 29605987 by francis hurteau in ue5-main branch]
2023-11-09 14:52:55 -05:00
jeff fisher
94e117c63d UE-194878 xr.DisableOpenXROnAndroidWithoutOculus evaluated too late to modify via INI
-Move PreInitHMDDevice to a point quite a bit later in PreInitPreStartupScreen so that more unreal engine systems are setup when we call it, including ini reading, cvars, fplatform memory, etc.
#jira UE-194878
#rb christopher.fiala

[CL 29503791 by jeff fisher in ue5-main branch]
2023-11-06 18:08:48 -05:00
jeanfrancois dube
f0816dfdef [Backout] - CL29402006
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
World Partition Editor Module: remove early loading of the module that was required by some object construction order that it no more needed.

#rb vincent.beauchemin

[CL 29408688 by jeanfrancois dube in ue5-main branch]
2023-11-03 11:52:48 -04:00
jeanfrancois dube
e6577434bd World Partition Editor Module: remove early loading of the module that was required by some object construction order that it no more needed.
#rb vincent.beauchemin

[CL 29402019 by jeanfrancois dube in ue5-main branch]
2023-11-03 07:49:44 -04:00
danny couture
5e4ad81f3a [EditorPerf] - Add windows performance counters to Insight traces when -perfcounters is present on the command-line
#rnx
#rb Ionut.Matasaru

[CL 29346706 by danny couture in ue5-main branch]
2023-11-01 21:19:15 -04:00
tim smith
f68f89394f Fixed LauchEngineLoop to not include some include files if it isn't being built with CoreUObject
#rb Tim.Smith

[CL 29281492 by tim smith in ue5-main branch]
2023-10-31 13:25:05 -04:00
florian penzkofer
14690a94f8 Make sure that read-only cache for CVars is populated before accessing from worker threads
This fixes a race condition between the PSO preloading and ReadOnlyCVarCache initialization.

#rb Dmitriy.Dyomin

[CL 29193978 by florian penzkofer in ue5-main branch]
2023-10-27 15:47:09 -04:00
andrew scheidecker
b5aa8055ca Replace all #if WITH_VERSE_VM with #if WITH_VERSE_VM || defined(__INTELLISENSE__).
This allows Intellisense to provide useful information in VerseVM code despite WITH_VERSE_VM not being universally enabled.
#rb Tim.Smith, YiLiang.Siew

[CL 29185651 by andrew scheidecker in ue5-main branch]
2023-10-27 12:20:31 -04:00
josh adams
0ad33526bb - Avoid double calls to FEngineLoop::AppExit() (was happening in a Program that called it while exiting, but Mac also calls AppExit in it's standard Wrapper code)
#rb josh.adams

[CL 29155958 by josh adams in ue5-main branch]
2023-10-26 19:21:57 -04:00
matt peters
e53bae0868 MPCook: Add global function UE::GetMultiprocessId to handle the commandline parsing of MultiprocessId for CookWorkers.
#rnx
#rb Zousar.Shaker

[CL 28938402 by matt peters in ue5-main branch]
2023-10-19 18:18:01 -04:00
guillaume abadie
079ed4f3a4 Implements r.DumpGPU.CameraCut
#jira UE-192501, UE-179496

[CL 28620797 by guillaume abadie in ue5-main branch]
2023-10-10 11:13:43 -04:00
lorry li
b2c5f3e4db Load boot hotfix cvars after config system initialized, persistency dir checking has dependency to it on console.
[REVIEW] [at]michael.atchison [at]michael.kirzinger [at]joe.barnes
#rb [at]michael.atchison [at]michael.kirzinger

#tests Tested on console with boot hotfix applied.
#jira UE-196854

[CL 28415511 by lorry li in ue5-main branch]
2023-10-03 11:24:20 -04:00
zach bethel
c92cf39716 Refactored render command fence implementation to fence render command pipes.
- Reimplemented render command fence bundler flushing to keep the bundler active during a GC.
 - Added insights regions to track render command pipe recording and fence bundler activity when the render commands channel is active.
 - Cleaned up render command pipe recording so that it works properly with the fence bundler.

#rb chrisopher.waters
[FYI] Dominic.Couture

[CL 28206922 by zach bethel in ue5-main branch]
2023-09-25 17:29:10 -04:00
robert millar
1c1df0ca9c Additional insights CPU profiling scopes
[CL 28095545 by robert millar in ue5-main branch]
2023-09-21 14:22:33 -04:00
josh adams
aeb5cb1347 - Restoring a backout after fixing the issue that causes the backout
[Backout] - CL27745134
[FYI] stan.hormell
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27923017 by josh adams in ue5-main branch]
2023-09-15 13:39:02 -04:00
robert millar
387bb0bd06 Add ability to presize name table in editor for large projects.
Example config in Editor.ini:

[Names]
PreallocateNames=10485760
PreallocateNameMemoryMB=900

#rb ben.zeigler

[CL 27883674 by robert millar in ue5-main branch]
2023-09-14 12:46:21 -04:00
zach bethel
b1ffe1f273 Flush rendering commands prior to clearing pending delete objects at shutdown.
#jira UE-194136
#rb christopher.waters

[CL 27767314 by zach bethel in ue5-main branch]
2023-09-11 15:41:46 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00