Commit Graph

10467 Commits

Author SHA1 Message Date
dmytro vovk
59a5f61067 Fixed VectorLoadURGBA16N and VectorLoadSRGBA16N on NEON and FPU
#jira UE-151249
#rb Zak.Middleton

#ushell-cherrypick of 20130528 by dmytro.vovk
#preflight 627ae02e68422389764e57c5

[CL 20131539 by dmytro vovk in ue5-main branch]
2022-05-10 18:51:29 -04:00
geoff evans
0988a55b0a Trace Snapshot to File
### Features
We can now write tailing memory to a utrace file. Snapshotting while tracing to a file or socket is supported.
This change introduces a new console command: Trace.SnapshotFile. It writes the profiling data from memory into an optionally specified a utrace file.

### Testing
Run Editor with -tracefile
Run Editor with -trace, connect live with insights
Run Editor without -trace (this does generate a very small utrace since there is memory and data in the tail even though default channels are not enabled)

#rb johan.berg
#jira UE-150302,UE-150292
#preflight 6272a3213e1f2a9d3a88ee3d

#ROBOMERGE-OWNER: geoff.evans
#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 20124258 via CL 20125717 via CL 20126082
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20129506 by geoff evans in ue5-main branch]
2022-05-10 17:03:04 -04:00
Josh Adams
8910629a37 - Fixed the Save dir for some editor configs, also fixes plugins loading into Editor.ini
#rb jason.stasik
#jira UE-151341
#preflight 627aad9c3277776ff3fd0768

[CL 20127187 by Josh Adams in ue5-main branch]
2022-05-10 14:41:00 -04:00
Josh Adams
b788a36fba - Fixed another checkSlow
#rb trivial
#preflight 627a9be4fc07e0a9b41b1a6a

[CL 20125473 by Josh Adams in ue5-main branch]
2022-05-10 13:30:02 -04:00
mickael gilabert
68e0f62dfb Added UpdateStats stub to FPooledVirtualMemoryAllocator
#rb trivial

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 20122245 via CL 20122306 via CL 20122319 via CL 20122327
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20123994 by mickael gilabert in ue5-main branch]
2022-05-10 11:39:29 -04:00
mickael gilabert
be3bc1ea71 Moved bookkeeping to beginning of large chunks so large page allocator could fallback to CachedPageOSAllocator without crashing at canary check
Improved very large page allocator to keep alive FreeList upon a certain amount of frames. this to prevent physical memory fragmentation

[REVIEW] [at]rob.millar, [at]eric.mcdaniel, [at]david.harvey
[FYI] ben.woodhouse, dave.barrett, john.huelin
#rnx

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 20122059 via CL 20122066 via CL 20122077 via CL 20122086
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20123982 by mickael gilabert in ue5-main branch]
2022-05-10 11:39:10 -04:00
vincent robert
83b789ded4 Optimize BVH, cache improvement
#preflight: https://horde.devtools.epicgames.com/job/627a58b8705bfaf9ae36db7d

[CL 20123324 by vincent robert in ue5-main branch]
2022-05-10 11:04:25 -04:00
Josh Adams
79030a2f8d - Deleting old unused code, and a related useless checkSlow that was firing in debug
#rb trivial
#preflight 627a5b779d4909c3fc18aac0

[CL 20121836 by Josh Adams in ue5-main branch]
2022-05-10 08:56:22 -04:00
joe barnes
1360416ed0 [Android] Roll back LoadingScreen hang detector until we can track down and resolve false hang detection triggers when app is backgrounded for > 30s.
[REVIEW] [at]peter.sauerbrei

#localization none
#tests local

#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 20118306 via CL 20118381 via CL 20118509 via CL 20118533 via CL 20118567
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20119171 by joe barnes in ue5-main branch]
2022-05-10 01:17:48 -04:00
robert millar
949ed7ba3a Insert dummy values into memory images for names like vtable pointers.
#rb ben.ingram

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 20115901 via CL 20115948 via CL 20115961 via CL 20115990
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20117747 by robert millar in ue5-main branch]
2022-05-09 23:27:24 -04:00
Stu McKenna
222e2fc9bd - Convert Spline DI to Shader Parameters
- Object Reader conversion to use shader structures
- Neighbor Grid 3D conversion to use shader structures

#rb michael.galetzka
#jira none
#preflight 6275a329f77c9c2b5440dfc9

[CL 20115249 by Stu McKenna in ue5-main branch]
2022-05-09 20:49:45 -04:00
stanley hayes
3792731900 #JIRA: SOL-2646
- Fix for FFileHelper::SaveStringToFile not closing a file handle

#rnx
#rb Jared.Cotton
#rb YiLiang.Siew

#preflight 627961c4a35fb5cb3f54e42a

#ROBOMERGE-AUTHOR: stanley.hayes
#ROBOMERGE-SOURCE: CL 20110449 via CL 20110971 via CL 20111930 via CL 20112187
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20114367 by stanley hayes in ue5-main branch]
2022-05-09 19:53:27 -04:00
charles lefebvre
d08f17e0fa Add NullOpt for TOptional
#rb Steve.Robb
#preflight 627929d27a7883bdcb01948a

#ROBOMERGE-AUTHOR: charles.lefebvre
#ROBOMERGE-SOURCE: CL 20104230 via CL 20110377 via CL 20111418 via CL 20111704
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20114325 by charles lefebvre in ue5-main branch]
2022-05-09 19:52:09 -04:00
Marc Audy
a3e52531f4 Revert no discard workaround for ensure macro as it is causing a lot of static analysis issues.
#rnx
#preflight

[CL 20114201 by Marc Audy in ue5-main branch]
2022-05-09 19:41:41 -04:00
Josh Adams
2023137e20 - Changed Plugins to use an FConfigContext, uising the FConfigContext::ReadPluginFile() factory, this dramatically reduces the number of files to scan, solves the BaseFoo.ini vs DefaultFoo.ini issue for Engine vs Project plugins
- Moved the IniCacheSet into the FConfigContext, and out of FConfigCacheIni. We could possibly get rid of it now entirely with the reduced number of paths we look for (and the fact that plugin scanning will be multithreaded soon)
- Removed the TRUEENGINE workaround now that Plugins are using a context to load the file, this makes the workaround unnecessary since plugins don't fake the EngineConfigDir
#rb jon.nabozny
#preflight 627959cf242446ce6c637258
#jira UE-151373,UE-151376

[CL 20108089 by Josh Adams in ue5-main branch]
2022-05-09 14:58:59 -04:00
jeanfrancois dube
d86ffe48bd World Partition Actor Descriptors:
- Added actor tags to actor descriptors so they can be queried for unloaded actors.
- Added filtering by actor tags in WorldPartitionResaveActorsBuilder.

#rb patrick.enfedaque, richard.malo
#preflight 62751614e31cfc52d5aea104
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 20074269 via CL 20074279 via CL 20074282
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105943 by jeanfrancois dube in ue5-main branch]
2022-05-09 13:38:24 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
aditya ravichandran
8facdaacfa FAsyncTaskNotification: Refactor to remove SSlateAsyncTaskNotificationWidget and use different SNotificationItem notifications depending on the state
#jira UE-134088
#rb Matt.Kuhlenschmidt
#preflight 62791d38ea2a9db9dc57a50e

[CL 20102262 by aditya ravichandran in ue5-main branch]
2022-05-09 10:06:37 -04:00
Geoffrey Douglas
1fda1c70bb Refactor the LiveLink component to allow each LiveLink controller in its controller map to specifiy a component to control
Deprecate the "ComponentToControl" property of the LiveLinkComponentController
Add a customization for LiveLinkControllerBase that ensures the Component picker is displayed first in the details panel
Fix the fallout from the deprecation in USDImporter plugin

#jira UE-147579
#rb simon.therriault, daniel.coelho
#preflight 62790eb24561731dbeee939d

[CL 20101534 by Geoffrey Douglas in ue5-main branch]
2022-05-09 09:01:28 -04:00
David Harvey
3997a1ff0c fix platform file trace for modular builds.
#jira UE-151231
#rnx
#rb trivial
#preflight 6278febdf34e710b6de75a71

[CL 20101167 by David Harvey in ue5-main branch]
2022-05-09 07:49:16 -04:00
Dan Thompson
3a6321167b Packaging Reference Chunk Database - "Lossless Patch Preventer"
Can now provide reference iostore containers to reuse compressed chunks from. If a match is found on *the decompressed data*, instead of recompressing the blocks, they are read off of disk. This allows tweaks of the compressor algorithm without introducing changes as the runtime still sees the exact same data. Additionally this allows for fairly dramatic staging speedups as nvme speeds are significantly faster than high effort compressions. This is distinct from the DDC compression because:
1) DDC compression ties in the compressor version/method
2) We are explicitly interested in chunks that are deployed to end users, not merely cached for speed.

To facilitate this, several changes were made to IoStore:

FIoStoreReader now directly reads from IFileHandles* instead of routing through the GenericPlatformFile async read system, as that system is sensitive to build #defines and can result in constant file opens under load (indeed, for anything not a .pak file, every read is an open/close).

Cold file cache read speed improvements from ~140MB/s to ~1 GB/s. Hot is more.

Additionally:
    FIoStoreReader switched to UE::Tasks from taskgraph for tasks in order to facilitate task retraction during waits as the previous ReadAsync call was trivial to deadlock when called from worker threads due to its use of TFuture<>.
    FIoStoreReader::ReadCompressed now returns the compressed blocks as they were on disk - padded to AES encryption block size.

#rb fabian.giesen
#rb jeff.roberts
#preflight 627586dcf77c9c2b543d4d8b

[CL 20086673 by Dan Thompson in ue5-main branch]
2022-05-06 18:22:44 -04:00
Josh Adams
df38061d8e - Fixed a config issue with deeply nested projects
#rb alex.mcadams (tested)
#preflight 62758966c8382bead6c72525

[CL 20085137 by Josh Adams in ue5-main branch]
2022-05-06 17:05:38 -04:00
Stu McKenna
015b56fd32 - Convert MeshRendererInfo DI to Shader Parameters
- Convert VectorField DI to Shader Parameters
- Convert CurlNoise DI to Shader Parameters
- Convert Camera DI to Shader Parameters
- Convert Occlusion DI to Shader Parameters

#rb simon.tovey, rob.krajcarski
#jira none
#preflight 627468a3f9623aee676a827b

[CL 20077368 by Stu McKenna in ue5-main branch]
2022-05-06 11:57:30 -04:00
josh adams
3d25a4ef0c - Un-reverting the FConfigContext and other cleanup change, as this fixes the plugin ini issue that was caused by missing changes from another changelist
#rb paul.chipchase
#p4v-preflight-copy 20033354
#preflight 6271b0c9e56311b5d8517c55

[CL 20074731 by josh adams in ue5-main branch]
2022-05-06 09:40:03 -04:00
Andriy Tylychko
1d617c8757 fixed a discrepency between declaration of FBaseGraphTask::LifeStage and its usage
#preflight 6274f0a3594b7a20314df456

[CL 20073670 by Andriy Tylychko in ue5-main branch]
2022-05-06 06:12:29 -04:00