Commit Graph

543 Commits

Author SHA1 Message Date
jason hoerner
8ee726c56c UE5: MEMORY: Adjustment to container allocation policy to save memory on arrays with optional inline elements. Make it so inline elements are ignored when computing the desired slack growth size for the first heap allocation. The slack algorithm has a special case to save memory on the initial heap allocation, versus subsequent reallocations, and we don't want the inline elements to be treated as if they were the first heap allocation. (also reviewed by kenzo.terelst)
#rb andrew.firth kenzo.tereIst
#lockdown andrew.firth
#rnx
#preflight 61488a176c96990001886697

#ROBOMERGE-AUTHOR: jason.hoerner
#ROBOMERGE-SOURCE: CL 17571351 via CL 17946412 via CL 18363869 via CL 18363986
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18364080 by jason hoerner in ue5-release-engine-test branch]
2021-12-02 23:11:09 -05:00
devin doucette
6041c489d1 StringView: Moved everything into StringView.h to ease maintenance and support additional character types
#rb Zousar.Shaker
#rnx
#preflight 619ea385ec124631d7c55325

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18288214 in //UE5/Release-5.0/... via CL 18288256
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18288268 by devin doucette in ue5-release-engine-test branch]
2021-11-24 15:57:42 -05:00
devin doucette
ef2ddd8d30 StringBuilder: Changed Append and operator<< to accept a greater variety of character types
- Append now accepts any character type and converts it if necessary.
- AppendAnsi and AppendUtf8 will eventually be deprecated.
- AppendChar has been added and will eventually replace Append(CharType).
- MakeStringView and TStringView CTAD have been added to support Append(CharRangeType).
- WriteToString has been extended with other character types.
- TElementType has been made SFINAE-safe using void_t as suggested by Steve Robb.

#rb Steve.Robb
#preflight 619e69b688439fccfea51e46

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18285138 in //UE5/Release-5.0/... via CL 18285186
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18285193 by devin doucette in ue5-release-engine-test branch]
2021-11-24 12:14:59 -05:00
steve robb
c9738bf734 TEXTVIEW macros added to replace TEXT("abc"_SV) and some example uses of that.
Some other TEXT('a') and TCHAR[] fixes.

#rb devin.doucette
#preflight 619d2bee88439fccfe859591

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 18282959 via CL 18282963 via CL 18282965 via CL 18283576 via CL 18283624
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18283664 by steve robb in ue5-release-engine-test branch]
2021-11-24 09:59:37 -05:00
andriy tylychko
0aea85b142 disabled alignment in TMpscQueue and TSpscQueue until BinnedMallocs support 64B alignment
#ROBOMERGE-OWNER: andriy.tylychko
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 18252712 in //UE5/Main/... via CL 18252747 via CL 18252754 via CL 18252781 via CL 18252793
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18252794 by andriy tylychko in ue5-release-engine-test branch]
2021-11-19 18:56:51 -05:00
andriy tylychko
9b7201e702 disabled alignment in TMpscQueue and TSpscQueue until BinnedMallocs support 64B alignment
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 18252712 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18252747 by andriy tylychko in ue5-release-engine-test branch]
2021-11-19 18:39:45 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
andriy tylychko
9da6a65dfe Mac compilation: added "-faligned-new" if an old macOS is targetted to avoid "aligned new is not supported" error. Broken build: https://horde.devtools.epicgames.com/job/618160c0fc786a000148b7f4?step=ea45
preflight https://horde.devtools.epicgames.com/job/6182954f300d520001e9e1fb?step=1df5

#jira UE-131480
#rb will.damon

#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 18049627 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18049637 by andriy tylychko in ue5-release-engine-test branch]
2021-11-04 05:05:04 -04:00
andriy tylychko
9353746588 DepletableMpscQueue - a multi-producer/single-consumer concurrent atomic queue that consumes all items at once, atomically, and leave the queue in a usable empty state. Optimised performance by limiting a contention between consumer and producers. A typical example is a command queue where multiple threads enqueue and a single thread consumes the queue until there're no more items left.
#rb steve.robb

#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 17947865 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17949716 by andriy tylychko in ue5-release-engine-test branch]
2021-10-27 15:18:15 -04:00
devin doucette
df9ec8328d StringView: Updated the class comment based on feedback
#rb Dan.Thompson, Zousar.Shaker
#rnx
#preflight 6171d50feb664b0001a08b44

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 17924591 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17924628 by devin doucette in ue5-release-engine-test branch]
2021-10-26 10:54:03 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
chris caulfield
a6566eb070 Chaos
- Copying //UE4/Release-4.27-Chaos to //UE5/Main (all new solver work accumulated in development stream)
- New Chaos solver
- Persistent collisions, islands
- Manifold changes
- Groundwork for future optimizations

#ushell-cherrypick of 17738623 by Chris.Caulfield
#rb various
#jira UE-119389,UE-121295,UE-119397,UE-119396,UE-119395,UE-119394,UE-119393,UE-119390,UE-119389
#preflight 61718e8833e63300012342b8

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 17886849 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)

[CL 17886880 by chris caulfield in ue5-release-engine-test branch]
2021-10-21 13:21:05 -04:00
carlmagnus nordin
ec6a9fb17b Compile fix, second attempt
#rnx
#rb andriy.tylychko
#preflight 6167d5209997210001ba3611

#ROBOMERGE-OWNER: carlmagnus.nordin
#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-COMMAND: _robomerge UE5-Release-Engine-Test
#ROBOMERGE-SOURCE: CL 17813681 in //UE5/Release-5.0/... via CL 17813691
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v882-17839708)

[CL 17842248 by carlmagnus nordin in ue5-release-engine-test branch]
2021-10-18 05:16:17 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
johan torp
3f3c413f23 Core constexprification pass to reduce code bloat, improve performance and simplify searching for non-constexpr constants
#rb steve.robb
#jira FORT-412107

#ROBOMERGE-AUTHOR: johan.torp
#ROBOMERGE-SOURCE: CL 17679994 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17680001 by johan torp in ue5-release-engine-test branch]
2021-09-30 13:05:39 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
andriy tylychko
a54820b993 minor ergonomic change to ClosableMpscQueue API
#ROBOMERGE-SOURCE: CL 17269566 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17269586 by andriy tylychko in ue5-release-engine-test branch]
2021-08-23 13:03:20 -04:00
andriy tylychko
5daacbc4c1 fixed ticker delegate being removed from inside delegate execution
#rb none

#ROBOMERGE-SOURCE: CL 17187799 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17187804 by andriy tylychko in ue5-release-engine-test branch]
2021-08-17 05:30:30 -04:00
andriy tylychko
6bf3101dcd deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau


#ROBOMERGE-SOURCE: CL 17176325 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17176374 by andriy tylychko in ue5-release-engine-test branch]
2021-08-16 11:09:22 -04:00
steve robb
bed59f162d Ununsed and inconsistently-applied BogusChar option removed from string conversions.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 17133674 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17133688 by steve robb in ue5-release-engine-test branch]
2021-08-11 06:31:35 -04:00
steve robb
ec1e7a003f TIsCharType moved to its own Traits header so that it can be included separately from others.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 17121870 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17121889 by steve robb in ue5-release-engine-test branch]
2021-08-10 15:07:13 -04:00
steve robb
3d5da0131f Some PLATFORM_COMPILER_HAS_IF_CONSTEXPR usage removed.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 17104158 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17104179 by steve robb in ue5-release-engine-test branch]
2021-08-09 12:24:24 -04:00
steve robb
79097ded72 Fix for FStringView::Mid() which differed from FString::Mid().
Tests for FStringView slicing functions to ensure they match FString's.
New slicing functions for TArrayView.

#rb devin.doucette
#jira none

#ROBOMERGE-SOURCE: CL 17073259 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17073279 by steve robb in ue5-release-engine-test branch]
2021-08-05 14:40:42 -04:00