Commit Graph

10153 Commits

Author SHA1 Message Date
andy sonnenburg
beb33b0faf Add OptionalFwd.h for TOptional
#rb andrew.scheidecker
#rb markus.breyer
#rb michael.noland
#rb steve.robb

#preflight 622f75c1223365469e3b9a4f


#ROBOMERGE-AUTHOR: andy.sonnenburg
#ROBOMERGE-SOURCE: CL 19376614 via CL 19378292 via CL 19381215 via CL 19393896 via CL 19394130
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402380 by andy sonnenburg in ue5-main branch]
2022-03-16 03:07:13 -04:00
andrew ladenberger
d4242cdbf8 Removed a few high-frequency/low-value RHI stats to improve profiler readability and stability
#rb mickael.gilabert, andriy.tylychko
[FYI] ue-rendering-rhi

#ROBOMERGE-AUTHOR: andrew.ladenberger
#ROBOMERGE-SOURCE: CL 19375773 via CL 19375783 via CL 19377324 via CL 19392623 via CL 19393069
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402299 by andrew ladenberger in ue5-main branch]
2022-03-16 03:04:16 -04:00
charles bloom
04ffabc485 ImageWrapper and import/export refactor
FImage is now the standard preferred type for a bag of pixels
FImageView can point at pixels without owning an allocation
ERawImageFormat (FImage) converts to ETextureSourceFormat
FImageUtils provides generic load/save and get/set from FImage
major cleanup in the ImageWrappers
new preferred API is through ImageWrapperModule Compress/Decompress
SetRaw/GetRaw functions cleaned up to not have undefined behavior on unexpected formats
ImageWrapper output added for HDR,BMP,TGA
RGBA32F format added and supported throughout import/export
EditorFactories import/export made more generic, most image types handled the same way using FImage now
Deprecate old TSF RGBA order pixel formats
Fix many crashes or bad handling of unusual pixel formats
Pixel access functions should be used instead of switches on pixel type

#preflight 6230ade7e65a7e65d68a187c
#rb julien.stjean,martins.mozeiko,dan.thompson,fabian.giesen

[CL 19397199 by charles bloom in ue5-main branch]
2022-03-15 18:29:37 -04:00
shawn mcgrath
61cf03bac1 VectorVM bug fixes & half float support. Experimental VM on by default. #rb Rob.Krajcarski #preflight 6230b204421403c1553829fc
[CL 19388907 by shawn mcgrath in ue5-main branch]
2022-03-15 13:46:08 -04:00
Arne Schober
3eb5affed9 M - LowLevel Task extension for Expediting, and Revival of previously cancelled Tasks.
Where Revival tries to revert any Cancellation as if it never happened. If the canceled Task was already executed by the Scheduler the revival will fail
(the Task will not be relaunched if revival fails). And where Expediting tries to fast track a task if the result is needed immediately on the current Context.
#preflight 6230cb60f41c515c3704cf08
#RB Francis.Hurteau

[CL 19388819 by Arne Schober in ue5-main branch]
2022-03-15 13:43:06 -04:00
Devin Doucette
01274b17c8 Logging: Added a dedicated master thread for logging
#preflight 622fb0eca709bd110fea0da5
#rb Zousar.Shaker

[CL 19387540 by Devin Doucette in ue5-main branch]
2022-03-15 12:31:55 -04:00
Johan Torp
c98b32e33e Silence static analys warning
#jira UE-144965
#rb trivial
#rnx
#preflight 6230a502306f46da14877a0c

[CL 19386054 by Johan Torp in ue5-main branch]
2022-03-15 11:00:57 -04:00
danny couture
26909ffc19 Add base class for FAsyncTask to make it easier to interact with while keeping its templated type an implementation detail
#rnx
#rb Francis.Hurteau
#preflight 622f51ea344901ad1929b63f

[CL 19384075 by danny couture in ue5-main branch]
2022-03-15 07:50:05 -04:00
will damon
b17ecc43bb Add support for Xcode 13.3
- Always ignore -Wunused-but-set-variable (on Apple platforms).
- Ignore -Wunordered-compare-function-pointers on third-party includes (across all clang platforms).

#rb brandon.schaefer
#jira UE-145699
#preflight 622d1696dd1bf3a95a9dfbf0
#rnx

#ROBOMERGE-AUTHOR: will.damon
#ROBOMERGE-SOURCE: CL 19375174 in //UE5/Release-5.0/... via CL 19376309
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19378035 by will damon in ue5-main branch]
2022-03-14 16:31:05 -04:00
Dan Thompson
c88187f01d Overlap IoStore reads with decrypt/decompress.
#rb carl-magnus.nordin
#rb fabian.giesen
#rb charles.bloom
#preflight 622baa6032749f363c91bec7

[CL 19376611 by Dan Thompson in ue5-main branch]
2022-03-14 15:13:04 -04:00
Devin Doucette
6759762d2b CompressedBuffer: Fixed the tests to avoid a crash depending on execution order
#preflight 622f8d87511d438d6b5bd32c
#rb Zousar.Shaker
#rnx

[CL 19376438 by Devin Doucette in ue5-main branch]
2022-03-14 15:03:48 -04:00
Devin Doucette
7d0ea0c0f8 StringBuilder: Migrated tests to Catch
#preflight 622f8a0080715dc6dad9dd90
#rb Zousar.Shaker
#rnx

[CL 19376039 by Devin Doucette in ue5-main branch]
2022-03-14 14:44:11 -04:00
ilya loshchinin
d9d64098f7 Fixed ThreadSingleton returning a stale pointer if using TryGet() after its destructor has been run.
This fixes FramePro malloc profiler using an invalid FrameProProfilerContext TLS object when profiling memory deallocation of another ThreadSingleton.

#tests Squads games on WSL, manually starting/stopping FramePro profiling.
#rb brandon.schaefer
#preflight 622ea396e652f92f31152268

#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19370380 via CL 19370384 via CL 19370497 via CL 19370636 via CL 19370637
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19374482 by ilya loshchinin in ue5-main branch]
2022-03-14 13:12:48 -04:00
ionut matasaru
c971027564 Fixed TraceStats crashing when the stat name is a wide char FName.
#jira UE-145293
#rb Catalin.Dragoiu
#preflight 622f3641344901ad191c3a08

[CL 19372250 by ionut matasaru in ue5-main branch]
2022-03-14 09:55:16 -04:00
Luke Thatcher
ee64a28f30 Copying //UE5/Dev-ParallelRendering to //UE5/Main
This change is the copy-up of work from //UE5/Dev-ParallelRendering to unify the various RHI texture types
 - The separate RHI texture types (FRHITexture2D, FRHITexture2DArray, FRHITexture3D, FRHITextureCube, FRHITextureCubeArray) have been replaced with a single type: FRHITexture.
 - Includes the required refactoring / fixes for the various platform RHIs.

The old texture types are still supported via typedefs, but will soon be marked deprecated. Future rendering code should make use of the FRHITexture type instead.

#jira UE-139559
#rb Mihnea.Balta
#preflight 622f3af819287beb2c3047f6
#robomerge[FN_ENGINEMERGE] DEV-NC

[CL 19371962 by Luke Thatcher in ue5-main branch]
2022-03-14 09:14:58 -04:00
danny couture
5afa88ede2 Add command-line option to disable debug output device which is often useful to avoid significant slowdown due to long stalls in OutputDebugString when VS is attached
#rnx
#rb Robert.Millar, Francis.Hurteau
#preflight 622b388346679d56c310b2f3

[CL 19371543 by danny couture in ue5-main branch]
2022-03-14 07:37:07 -04:00
rex hill
55842d3e94 Crashfix inis at startup
#preflight 622b9e000a614dcb0c02ce51

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 19359429 via CL 19360744 via CL 19363804 via CL 19368121 via CL 19368191
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19368995 by rex hill in ue5-main branch]
2022-03-12 20:49:32 -04:00
marc audy
4cf0b8b7ea Move UCSModifiedProperties in to sparse storage as only a small percentage of all components stores data in it
#preflight 622661ff9d201d1ecdf2845c
#rb Michael.Noland, Rob.Millar
#lockdown Bob.Tellez
#jira

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19360442 via CL 19363736 via CL 19368055 via CL 19368105
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19368993 by marc audy in ue5-main branch]
2022-03-12 20:49:19 -04:00
Josh Adams
c564febc2f - Added FDDPIRegistry::GetAllSortedPlaformInfos which returns fake and disabled platforms, while GetSortedPlatformInfos will now only return "concrete/usable" platforms (independent of SDK status, etc)
- Changed the SupportedPlatforms dialog to show all DDPI platforms, not just the ones that are compiled in currently
#rb chris.waters
#preflight 622bc87546679d56c32545cd

[CL 19361979 by Josh Adams in ue5-main branch]
2022-03-11 17:28:48 -05:00
Devin Doucette
006e85ab44 CompressedBuffer: Changed RawHash to FIoHash
- Only the first 20 bytes of the RawHash field in the header will be consumed.
- In a subsequent change, the last 12 bytes of the RawHash field will be set to zero for new compressed buffers.

- Leveraged composite buffers to avoid performing an extra copy of compressed blocks.
- Updated FBlockEncoder::Compress to always use ParallelFor.
- Added ParallelForWithPreWorkWithTaskContext.

#preflight 622ba3869b7ce6ea5d44b7ab
#rb Zousar.Shaker
#rnx

[CL 19360767 by Devin Doucette in ue5-main branch]
2022-03-11 16:21:11 -05:00
andrew scheidecker
533e2944b4 Add a FDynamicallyTypedValue class that stores a value as some uninterpreted memory and a pointer to some runtime type information that contains methods to interpret the memory.
The garbage collector gains opcodes to mark references inside these values, though a FProperty to emit those opcodes is not part of this changelist.
#rb Robert.Manuszewski, Steve.Robb
#preflight 622b3d98cd605bd993bb58e1

#ROBOMERGE-AUTHOR: andrew.scheidecker
#ROBOMERGE-SOURCE: CL 19353106 via CL 19354089 via CL 19355248 via CL 19357433 via CL 19357654
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19359137 by andrew scheidecker in ue5-main branch]
2022-03-11 14:30:17 -05:00
andy sonnenburg
6877dda0f7 Add missing header file include to NonNullPointer.h
#preflight skip


#ROBOMERGE-OWNER: stan.hormell
#ROBOMERGE-AUTHOR: andy.sonnenburg
#ROBOMERGE-SOURCE: CL 19347889 via CL 19348914 via CL 19352332 via CL 19353057 via CL 19356075
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19357792 by andy sonnenburg in ue5-main branch]
2022-03-11 13:11:08 -05:00
marc audy
a3275e4513 Move SystemGUIDs in to a cpp to avoid massive recompiles when changing
Convert landscape mobile cook version to system guid system
#jira
#rnx

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19346370 via CL 19352300 via CL 19352991 via CL 19355735
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19357735 by marc audy in ue5-main branch]
2022-03-11 13:08:58 -05:00
stu mckenna
a642e19494 (Editgrate) Fixing memstomp in HLSL translator for custom hlsl node
[FYI] shaun.kime
#jira UE-143910
#rb Stu.McKenna
#preflight 621931661d1c5017994b099c
#lockdown marc.audy
#rnx

#ROBOMERGE-AUTHOR: stu.mckenna
#ROBOMERGE-SOURCE: CL 19344223 via CL 19344252 via CL 19346474 via CL 19351334 via CL 19351399
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351982 by stu mckenna in ue5-main branch]
2022-03-11 04:29:28 -05:00
steve robb
0e1e8c13fb Removal of unused CopyFormatted*() and *_TextOnly() functions.
#rb graeme.thornton
#preflight 6229fae77341dd1ecf70f0a0

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19335163 via CL 19339363 via CL 19345711 via CL 19350978 via CL 19351029
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351730 by steve robb in ue5-main branch]
2022-03-11 04:01:36 -05:00