Commit Graph

880 Commits

Author SHA1 Message Date
johan torp
8e4ffe26d4 Fix std::is_default_constructible<TPair<K,V>>
#rb steve.robb
#rnx

[CL 34496602 by johan torp in ue5-main branch]
2024-06-19 08:52:00 -04:00
dan oconnor
a420a00c3d Fall back to an FArchive and FReferenceCollector based method of reference collection when objects that are referencing only via weak references need to be included in the result. Also report EdGraphPin SubCategoryObject based references in editor. Fix various ReloadPackage bugs and remove iterative referencer searching.
#rb Johan.Torp
[RN] Fixed updating of objects that only reference a blueprint or its instances via weak references

[CL 34375782 by dan oconnor in ue5-main branch]
2024-06-14 12:59:10 -04:00
devin doucette
4daa5f7ab8 Added basic tests for TSharedString and fixed its use of placement new
#rb Zousar.Shaker
#rnx

[CL 34372953 by devin doucette in ue5-main branch]
2024-06-14 11:38:51 -04:00
devin doucette
36f5a24ddd Moved TSharedString from DDC into Core
#rb Steve.Robb

[CL 34340152 by devin doucette in ue5-main branch]
2024-06-13 10:40:59 -04:00
steve robb
d430dcbf10 Removed rehashing from key iteration, and mutability from TSet members, making TSet thread-safe for concurrent reads.
#rb devin.doucette

[CL 34323105 by steve robb in ue5-main branch]
2024-06-12 16:55:31 -04:00
steve robb
7691bf691d Added MakeConstArrayView.
#rb james.hopkin

[CL 34126076 by steve robb in ue5-main branch]
2024-06-05 11:16:00 -04:00
danny couture
d85f0b4139 [Ticker]
- Fix TSAN warning

#rnx
#jira UE-216047
#rb kevin.macaulayvacher

[CL 34064995 by danny couture in ue5-main branch]
2024-06-03 10:02:24 -04:00
christopher waters
f0b53fec02 Adding missing reference on a TArray argument.
[CL 34037983 by christopher waters in ue5-main branch]
2024-05-31 14:22:18 -04:00
christopher waters
f25dbf800a FResourceArrayInterface changes
- FResourceArrayInterface is explicitly an interface for TResourceArray but it has also been coopted for general buffer uploads which doesn't actually need IsStatic/GetAllowCPUAccess/SetAllowCPUAccess.
- This change seperates the TResourceArray Static/CPUAccess interface from the general uploading interface which now lives in FResourceArrayUploadInterface.
- Changing the ResourceArray member of RHIResourceCreateInfo to be FResourceArrayUploadInterface.
- Adding FResourceArrayUploadArrayView as a utility for simple buffer uploads and replaces a number of ad-hoc implementations.

#rb Yuriy.ODonnell

[CL 34031544 by christopher waters in ue5-main branch]
2024-05-31 09:53:21 -04:00
florin pascu
0ae95de97f Change the slack growth factor from 1.25% to 1.2% IOS
#rb Steve.Robb

[CL 33908394 by florin pascu in ue5-main branch]
2024-05-24 17:56:08 -04:00
johan torp
f524940cec Fix bogus static analysis warning
#rb johan.torp
#rnx

[CL 33889741 by johan torp in ue5-main branch]
2024-05-24 06:16:30 -04:00
johan torp
4ecd3c2178 Add TArray/TArrayView/FStringView::NumBytes() and FString::NumBytesWith[out]Null()
#rb steve.robb,devin.doucette
[RN]

[CL 33888273 by johan torp in ue5-main branch]
2024-05-24 03:10:35 -04:00
justin marcus
6d1a394c54 Add FindByHashChecked
#rb Steve.Robb

[CL 33802707 by justin marcus in ue5-main branch]
2024-05-21 14:12:59 -04:00
steven barnett
673dfc3e62 FBuoyancyParticleData: Do management of per-particle data for buoyancy subsystem inside this structure so that allocation can be done in using alternative data structures. p.Buoyancy.ParticleData.HashIndex enables a lower memory footprint mode. Disabling that cvar leaves original underlying data structures.
FHashTable: Add GetAllocatedSize to FHashTable, and also make Get functions const

[REVIEW] chris.caulfield

[CL 33638038 by steven barnett in ue5-main branch]
2024-05-14 18:08:01 -04:00
Brian Karis
2800bb3b3f Voxel WIP that is safe to submit
Fixed Nanite rasterizer divide by zero case for depth.
Added barycentrics to RasterizeTri
Added VoxelizeTri
Added Cluster.Voxelize
Added BVHCluster as an alternative to graph partitioning
Made rounding of NumParents a bit more robust to address rare crashes.

#rb Rune.Stubbe
#jira none
#lockdown marc.audy

[CL 33492427 by Brian Karis in ue5-main branch]
2024-05-07 15:51:55 -04:00
christopher waters
0540f030a1 Fixing single header compiles.
[CL 33442310 by christopher waters in ue5-main branch]
2024-05-03 20:34:50 -04:00
dmytro vovk
bcb82395d6 Replaced persistent auxilary memory with a new Persistent Linear Allocator. Attempt no. 2
#jira UE-213886
#rb Johan.Torp
[REVIEW] 32434095

[CL 33433276 by dmytro vovk in ue5-main branch]
2024-05-03 15:09:09 -04:00
dave belanger
c57f4b0fa1 Add UE::Core::MakeValidVerseIdentifier to sanitize a string and make it a valid Verse identifier
Deprecate UE::Core::MangleGuidToVerseIdent because the more generic MakeValidVerseIdentifier method provides the same result for a guid
#rb Steve.Robb

[CL 33402479 by dave belanger in ue5-main branch]
2024-05-02 13:44:38 -04:00
steve robb
5fcb969ba3 Undo /Engine/Source/Runtime/Core/Public/Containers/... changelist 33370680
[CL 33370993 by steve robb in ue5-main branch]
2024-05-01 09:03:40 -04:00
steve robb
61c9b9bcf6 Added intrusive unset states to various containers.
#rb devin.doucette

[CL 33370694 by steve robb in ue5-main branch]
2024-05-01 08:35:13 -04:00
dmytro vovk
a5cdcc7cad Reverted the new Persistent Linear Allocator
[CL 33327288 by dmytro vovk in ue5-main branch]
2024-04-30 05:35:47 -04:00
dmytro vovk
9b4e98755f Replaced persistent auxilary memory with a new Persistent Linear Allocator
#rb Johan.Torp

[CL 33324038 by dmytro vovk in ue5-main branch]
2024-04-30 02:04:11 -04:00
dave belanger
956efdc043 Error message in Verse path/domain/identifier validations
#rb Steve.Robb

[CL 33304466 by dave belanger in ue5-main branch]
2024-04-29 12:37:11 -04:00
steve robb
e178e3e7d0 Added a comment to TUnion to suggest TVariant instead.
#rb trivial
#rnx

[CL 33272465 by steve robb in ue5-main branch]
2024-04-26 14:43:09 -04:00
robert millar
598a309641 Add methods to FHashTable for getting hash and index size for users that want to grow the table after the fact.
Add a move constructor.

[CL 33235594 by robert millar in ue5-main branch]
2024-04-25 12:47:03 -04:00