Commit Graph

14568 Commits

Author SHA1 Message Date
dmytro ivanov
d7e3046599 Unreal Insights support for tracing swap events
#jira UE-198367
#rb ionut.matasaru

[CL 31839388 by dmytro ivanov in ue5-main branch]
2024-02-27 09:39:44 -05:00
ionut matasaru
11e371d176 [Insights] Fixed FMemory::Malloc/delete mismatch in FDefinitionProvider.
#rb paul.chipchase

[CL 31838349 by ionut matasaru in ue5-main branch]
2024-02-27 09:07:27 -05:00
rafa lecina
49e24ea72f Allow to set a custom debug keystore instead of always using default one
#jira UE-202881
[REVIEW] [at]Chris.Babcock
#rb Chris.Babcock

[CL 31834155 by rafa lecina in ue5-main branch]
2024-02-27 03:54:20 -05:00
dan thompson
897cd0a5f4 Prevent partial initialization of the reference chunk database on failures.
#rb fabian.giesen

[CL 31820385 by dan thompson in ue5-main branch]
2024-02-26 18:02:39 -05:00
dan thompson
7c183a3178 Removing AssetRegistryWritebackAfterStage. This has evolved such that it needs to be run during stage and is not really useful afterwards. Was deprecated in 5.4 after being release in I think 5.3, highly unlikely anyone was using it.
#jira UE-195225
#rb charles.bloom

[CL 31817274 by dan thompson in ue5-main branch]
2024-02-26 16:35:32 -05:00
charles bloom
4b4e8649bd TextureCompressorModule::GetOutputAlphaFromKnownAlphaOrFallback to clean up common patterns of trying to query alpha
TextureFormatOodle : yes you can free the float mip immediately because hashing is no longer on an async task
FImage::FreeData with async detach option
validate VT sizes better to prevent crashes

#jira UE-183888

#rb dan.thompson, fabian.giesen

[CL 31815947 by charles bloom in ue5-main branch]
2024-02-26 16:02:58 -05:00
charles bloom
d9d4e588b5 TextureFormatUncompressed CanAcceptNonF32Source and avoid alloc and copy when possible
also note that the 565 and 555 color conversions are wrong but do not change them
output unchanged, no DDC key bump

#rb fabian.giesen

[CL 31813745 by charles bloom in ue5-main branch]
2024-02-26 14:59:57 -05:00
Florin Pascu
02727fc1e3 Fix RM error, missed move/add, move/delete of CL 31807181
#jira UE-206488

[CL 31808442 by Florin Pascu in ue5-main branch]
2024-02-26 12:42:19 -05:00
florin pascu
fb603bc427 IOS/TVOS/VisionOS TP refactor to TPS/TPC
#rb adam.kinge
#jira UE-206488

[CL 31807213 by florin pascu in ue5-main branch]
2024-02-26 12:11:20 -05:00
wouter burgers
79b4d19b05 SkeinUE: Changed 'conflict resolution tab icon' to grey instead of yellow to match the rest of the editor.
[FYI] manuel.lang

[CL 31799638 by wouter burgers in ue5-main branch]
2024-02-26 06:30:11 -05:00
wouter burgers
b96d8d30b2 SkeinUE: Refactored SSourceControlControls.
The SSourceControlControls is currently instantiated in two places in the editor: bottom right and as part of the snapshot history panel. Regardless, we would like the behavior of these buttons to be the same. This was accomplished by providing 'defaults' in SourceControlMenuHelpers and then setting temporary 'overrides' in SnapshotHistoryPanel. This wasn't very pretty and somewhat confusing with SSourceControlControls providing a mix of instance and static interfaces and behaviors. I've refactored this with the idea in mind that these buttons should behave similar, wherever they are placed in the editor and providing static methods to control that behavior. The default behavior is now no-op and SnapshotHistory provides the UEFN/Skein behavior.

This also allowed the 'CanAutoSave' code to live in one location (in the SnapshotHistoryController) instead of being duplicated in two spots. This was also not possible because engine code cannot be accessed from SkeinSourceControlSlate, where the SSourceControlControls was being instantiated, resulting in the behavior as described in the JIRA bug.

#rb manuel.lang, marco.anastasi

[CL 31796796 by wouter burgers in ue5-main branch]
2024-02-26 03:57:11 -05:00
bryan johnson
0a9447536e [Backout] - CL31782478
[FYI] karen.jirak
Original CL Desc
-----------------------------------------------------------------
Place Actors Panel - Usability Improvements

~ Extracted a large chunk out of FToolkitBuilder and put it in abstract class CategoryDrivenContentBuilderBase, which provides a base class for any class which needs a lefthand vertical category picker which loads content in the box next to the picker
~ Implemented CategoryDrivenContentBuilder, which provides a delegate which takes an FName as an argument which provides the name of the category just clicked, and returns the TSharedRef<SWidget> the user wants loaded for the selected category
~ created FPlacementModeCommands which creates a command to load content for any placement commands found
~ Introduced CVar PlaceActors.EnableCategoryChooserView which, when true, loads the new (in progress) place actors tab
~ altered SPlacementModeTools to create and use the CategoryDrivenContentBuilder when PlaceActors.EnableCategoryChooserView is true, else it loads the usual place actors panel
~ updated ToolElementRegistry with a convenience method that generates the widget and immediately converts it to a shared Ref

Note that after a change in the CVar, you will need to close and reopen the place actors panel for it to appear properly.

#jira UE-205201
#rb brooke.hubert, JeanMichel.Dignard

[CL 31789618 by bryan johnson in ue5-main branch]
2024-02-24 01:15:09 -05:00
karen jirak
33c468c122 Place Actors Panel - Usability Improvements
- added definition for constructor back to toolkit builder

#jira UE-205201

[CL 31787670 by karen jirak in ue5-main branch]
2024-02-23 20:52:38 -05:00
karen jirak
cd34502066 Place Actors Panel - Usability Improvements
- removed the new explicits on the constructors as it is causing compilation errors

#jira UE-205201

#rb Jean.Perrier, justin.peterson

[CL 31786531 by karen jirak in ue5-main branch]
2024-02-23 20:13:09 -05:00
karen jirak
aa979f8b0c Place Actors Panel - Usability Improvements
- fix import in CategoryDrivenContentBuilder.h
- move copyright up in the placement commands

#jira UE-205201
#rb justin.peterson

[CL 31784985 by karen jirak in ue5-main branch]
2024-02-23 19:16:57 -05:00
karen jirak
cbd7f320e1 Place Actors Panel - Usability Improvements
~ Extracted a large chunk out of FToolkitBuilder and put it in abstract class CategoryDrivenContentBuilderBase, which provides a base class for any class which needs a lefthand vertical category picker which loads content in the box next to the picker
~ Implemented CategoryDrivenContentBuilder, which provides a delegate which takes an FName as an argument which provides the name of the category just clicked, and returns the TSharedRef<SWidget> the user wants loaded for the selected category
~ created FPlacementModeCommands which creates a command to load content for any placement commands found
~ Introduced CVar PlaceActors.EnableCategoryChooserView which, when true, loads the new (in progress) place actors tab
~ altered SPlacementModeTools to create and use the CategoryDrivenContentBuilder when PlaceActors.EnableCategoryChooserView is true, else it loads the usual place actors panel
~ updated ToolElementRegistry with a convenience method that generates the widget and immediately converts it to a shared Ref

Note that after a change in the CVar, you will need to close and reopen the place actors panel for it to appear properly.

#jira UE-205201
#rb brooke.hubert, JeanMichel.Dignard

[CL 31782540 by karen jirak in ue5-main branch]
2024-02-23 18:18:23 -05:00
zousar shaker
7bb4ebb385 Tweak to the computation of latency for HttpCacheStore.
[CL 31778894 by zousar shaker in ue5-main branch]
2024-02-23 17:03:29 -05:00
christopher waters
15bede992d Entire engine compiling with -DisableUnity -IncludeHeaders
[CL 31778133 by christopher waters in ue5-main branch]
2024-02-23 16:51:32 -05:00
will brown
89e769075b In editor, optional plugin dependencies need to be compiled enabled or command line enabled otherwise they are ignored. Updated UBT to write out the BuildPlugins names to the target receipt or compiled into the executable.
#rb Joe.Kirchoff, Justin.Marcus
[FYI] Eric.Knapik

[CL 31774544 by will brown in ue5-main branch]
2024-02-23 15:23:25 -05:00
chris babcock
4d31e78995 Fix Android architecture check for project settings
#jira UE-207798
#android
[REVIEW] [at]Billy.Quick
#rb Billy.Quick

[CL 31767700 by chris babcock in ue5-main branch]
2024-02-23 12:34:07 -05:00
patrick boutot
cdb8c262e5 Slate: Add ticking frame to SlateApplication to help prevent a double RHI BeginFrame. The real fix is to enforce the SlateApplication::OnPreTick and OnPostTick to be more strick and hide it from the user.
#jira UE-197511
#rb yohann.dossantos

[CL 31763627 by patrick boutot in ue5-main branch]
2024-02-23 10:25:44 -05:00
christopher waters
62f06a4bb7 Disabling PLATFORM_SUPPORTS_CONSTANTBUFFER_OBJECT for now.
We can't get usage information from reflection with this enabled, mainly for bindless, so we'll need to revisit this later.

#rb Laura.Hermanns

[CL 31741310 by christopher waters in ue5-main branch]
2024-02-22 18:32:53 -05:00
christopher waters
68308c5193 Shader statistics
- Adding utility function for easier additions to FShaderCompilerOutput::ShaderStatistics
- Simplified existing uses of FShaderCompilerOutput::ShaderStatistics
- Reworked D3D compilation to allow DXC vs FXC to specify their different shader limits.
- Adding Shader Statistics for D3D SamplerState and Resource usages.
- Adding Shader Statistics for D3D SM6.6 bindless resource usages.

#rb Jason.Nadro, Laura.Hermanns

[CL 31740056 by christopher waters in ue5-main branch]
2024-02-22 18:16:34 -05:00
luke thatcher
01203093c6 Deprecate:
- FRHITexture2D
 - FRHITexture2DArray
 - FRHITexture3D
 - FRHITextureCube
 - FTexture2DRHIRef
 - FTexture2DArrayRHIRef
 - FTexture3DRHIRef
 - FTextureCubeRHIRef

Replaced with FRHITexture and FTextureRHIRef

These types were unified in UE 5.1 and have been defined via "using" statements to the same underlying texture type for several engine releases.

#rb christopher.waters

[CL 31724002 by luke thatcher in ue5-main branch]
2024-02-22 11:38:35 -05:00
Yuriy ODonnell
5b6b5d7c68 Handle line directives in ShaderMinifier ExtractBlock()
#rb Laura.Hermanns
#jira none

[CL 31714435 by Yuriy ODonnell in ue5-main branch]
2024-02-21 22:32:37 -05:00