Commit Graph

8306 Commits

Author SHA1 Message Date
Martin Ridgers
1d840cfe34 Use uint32 to store the UID instead of uint16. If anything the code generation is a little better as there are no prefixes.
#rb im
#rnx

[CL 16156198 by Martin Ridgers in ue5-main branch]
2021-04-29 08:15:47 -04:00
Martin Ridgers
75898aaf65 Guard against some legacy paths taken when analyzing old traces as they set the auxilary data collector object to null.
#rb im
#rnx

[CL 16156193 by Martin Ridgers in ue5-main branch]
2021-04-29 08:14:42 -04:00
Martin Ridgers
7107dca2f6 EventData.GetString() was incorrectly returning false if the requested field did exist but was empty.
#rb im
#rnx

[CL 16156188 by Martin Ridgers in ue5-main branch]
2021-04-29 08:12:58 -04:00
Helge Mathee
1934a4145c Fix build break - RigVMController.cpp
#rb na
#jira na

[CL 16156127 by Helge Mathee in ue5-main branch]
2021-04-29 08:01:53 -04:00
Helge Mathee
f000025113 Control Rig: Introducing the notion of bulk edits to the rigvmcontroller
#rb sara.schvartzman
#jira UEA-564

[CL 16156048 by Helge Mathee in ue5-main branch]
2021-04-29 07:44:28 -04:00
Rune Stubbe
02afe50726 Reenabled variable length UV encoding for Nanite meshes to save disk space
#[robomerge] ignore
#lockdown graham.wihlidal
#[fyi] nick.whiting

#ushell-cherrypick of 16120952 by Rune.Stubbe

[CL 16155632 by Rune Stubbe in ue5-main branch]
2021-04-29 05:43:20 -04:00
Helge Mathee
3afc8b83ea Control Rig: Moving debug memory to its own container
#rb sara.schvartzman
#jira na, Control Rig Debugging Work

[CL 16155492 by Helge Mathee in ue5-main branch]
2021-04-29 05:02:50 -04:00
Devin Doucette
e9c43a79ae DDC: Implemented ICache on FDerivedDataCacheInterface
Moved IDerivedDataCacheModule to its own header and renamed CreateOrGetDDC to CreateOrGetCache.

#rb Zousar.Shaker
#rnx
#preflight 6089d5a036afba00015c0348

[CL 16153121 by Devin Doucette in ue5-main branch]
2021-04-28 23:25:28 -04:00
Jerome Delattre
aa9c726b34 Use GetActorLabel instead of GetName when taking Screenshot with functional test
Actor Name is a property that user can't change directly from the Outliner now. To keep to ScreenshotFunctionalTest actor behavior seamless for the user, we use the actor label instead.
A property is introduced to hold the Actor name on the Client build.

+ update all the necessary screenshot names.

#jira UE-114551
#rb Andrew.Grant, JeanFrancois.Dube, William.Ewen
#rnx

[CL 16152859 by Jerome Delattre in ue5-main branch]
2021-04-28 22:51:13 -04:00
nuno leiria
5417acf4b9 Restore support for packaging multiple game/client/server targets.
Add a default project setting for the build target and binary configuration selection.
Removed 'platformtarget' menu and exposed 'target' and 'flavor' menus (flavor is only used for android now but will also work if other platforms add their own flavors).
Setting -distribution now forces packaging with shipping.

#jira UE-108788, UE-113086, UE-101662
#rb ben.marsh, josh.adams

[CL 16148683 by nuno leiria in ue5-main branch]
2021-04-28 16:52:24 -04:00
Devin Doucette
e42bbbedab DDC: Implement ICacheStore on FDerivedDataBackendInterface
This allows the new cache to be implemented more efficiently using the old cache backends because functionality like the corruption wrapper and key length limiter can be bypassed and the individual backends can store cache records in whatever way is most efficient for them.

The hierarchical backend may request payloads when they are not required due to incomplete tracking of backend state, and GetPayload will never fill other backends due to the inefficiency of the existing backend framework.

The filesystem backend does not cache any state in memory, which makes requests for individual payloads less efficient than if it cached a mapping of cache payload key to raw hash after the first request for a cache key.

The HTTP, S3, and pak file backends are not implemented for the new interface.

The backends do not implement ICacheStore::CancelAll() because the existing backend framework provides WaitForQuiescence to wait for completion of async requests, and the implementation of ICacheStore by those backends works with that mechanism.

The non-leaf backends (hierarchical, async put, etc.) do not update stats from the ICacheStore functions.

#rb Zousar.Shaker
#rnx
#preflight 60899f35d324590001b47517

[CL 16148296 by Devin Doucette in ue5-main branch]
2021-04-28 16:22:18 -04:00
Devin Doucette
84641e44fb DDC: Added an assert to FCacheRecordBuilder::BuildAsync to require a callback
#rb trivial
#rnx

[CL 16148043 by Devin Doucette in ue5-main branch]
2021-04-28 16:05:08 -04:00
Patrick Boutot
4ac34803a4 WidgetReflector: Save and load the attribute count in the snapshot.
#fyi matthias.worch
#review-16145980 matt.kuhlenschmidt

[CL 16145973 by Patrick Boutot in ue5-main branch]
2021-04-28 13:22:40 -04:00
Devin Doucette
6566793856 DDC: Split ICache into ICacheFactory and ICacheStore, expand FRequest into TRequest
#rb Zousar.Shaker
#rnx
#preflight 6089849fe1c5d10001273917

[CL 16145619 by Devin Doucette in ue5-main branch]
2021-04-28 12:55:00 -04:00
sara schvartzman
4619b7776d ControlRig: Breakpoints UI icons
#jira na
#rb helge.mathee

[CL 16143642 by sara schvartzman in ue5-main branch]
2021-04-28 10:36:07 -04:00
sara schvartzman
b97e560fce Control Rig Debugging: Breakpoints UI.
#jira na
#rb helge.mathee
#fyi jack.cai

[CL 16139504 by sara schvartzman in ue5-main branch]
2021-04-28 04:17:19 -04:00
Marc Audy
3cfedaade8 Fix PVS warning V502 when comparing against NAME_None in a trinary
[CL 16137741 by Marc Audy in ue5-main branch]
2021-04-28 01:58:36 -04:00
charles bloom
05b4b19678 Float16Color use VectorStoreHalf/VectorLoadHalf
add SSE2 half conversions

#rb alexander.suvorov
#fyi rod.bogart

[CL 16135278 by charles bloom in ue5-main branch]
2021-04-27 20:41:39 -04:00
Julien StJean
547c7f160d Optimisation to the legacy texture import and improvement to texture wrapper
Minor change to FImageWrapperBase. GetRaw and GetCompressed now consume the array with the same name instead of having to do a copy of it.
I changed the api IImageWrapper::GetCompressed to return a TArray64<uint8> instead of returning a const TArray64<uint8>&.
Added the format RGBAF to the struct ERGBFormat. Changed the engine code using the EXR image wrapper to reflect that.
The EXR image wrapper now avoid doing an unessary copy of the compressed image when calling compress.

Improvement to the performence of the function UTextureFactory::ImportImage. We now use the magic bytes of the file for certains format to skip some tests.

Here is some performance metrics I captured on my desktop (6 core, 12 threads XEON)

Importing a folder of tiff files (22 files, 4.16 GB Total)
Before: 66.152738 seconds
After: 43.609245 seconds

#jira UEENT-3822
#rb Alexis.Matte

[CL 16128765 by Julien StJean in ue5-main branch]
2021-04-27 11:59:02 -04:00
Richard TalbotWatkin
591cc432a6 Fix for Nanite building with reordered section material indices.
This involves a change to the DDC key format for static meshes with multiple sections in LOD0.
#jira UE-112945
#rb Graham.Wihlidal, Alexis.Matte

[CL 16127723 by Richard TalbotWatkin in ue5-main branch]
2021-04-27 10:50:58 -04:00
ionut matasaru
ca34a14039 [Insights
- Browser: Added more logs to diagnose "Connect" functionality.
  - Browser: Added more trace metadata: Branch, BuildVersion and Changelist.
  - Session Info: Added info about Branch, BuildVersion and Changelist metadata and disabled Uri field.
  - Browser: Optimized the tooltips in Session list.
  - Added SLazyToolTip.

#rb Catalin.Dragoiu

[CL 16123428 by ionut matasaru in ue5-main branch]
2021-04-27 08:41:14 -04:00
sebastian nordgren
38d7063b2a Added AssetTypeActions for UForceFeedbackAttenuation.
#jira UE-114095
#review-16093489 @lauren.barnes

[CL 16122951 by sebastian nordgren in ue5-main branch]
2021-04-27 06:43:44 -04:00
Tim Smith
de9adfe9b0 Fix NonUnity build
#rb trivial
#rnx

[CL 16122938 by Tim Smith in ue5-main branch]
2021-04-27 06:40:20 -04:00
Helge Mathee
4cf6dc7f35 Control Rig: Variable Remapping
#rb sara.schvartzman, jack.cai
#jira UEA-564

[CL 16122169 by Helge Mathee in ue5-main branch]
2021-04-27 03:19:42 -04:00
Lukas Hermanns
2a6092c316 Replace custom Disassemble function in ShaderConductor interface with the one that was already there.
#rb Ryan.Vance
#fyi Carl.Lloyd
#jira none
#rnx

[CL 16118857 by Lukas Hermanns in ue5-main branch]
2021-04-26 17:13:29 -04:00