Commit Graph

572 Commits

Author SHA1 Message Date
David Harvey
c6d15e4adf Ensure HoloLens only includes the HoloLens versions of the Windows API wrapper files.
#jira UE-151367
#rnx
#rb Jeff.Fisher
#preflight 628610139701e2d2b2efa36a

[CL 20277795 by David Harvey in ue5-main branch]
2022-05-19 05:55:47 -04:00
benjamin rouveyrol
731de80428 Have r.HDR.Display.ColorGamut enum values defined in a single place and replaced hardcoded numbers by enum values.
#jira UE-148995
#preflight 62716752e16e280be614c38b
#rb eric.renaudhoude jeff.newquist

[CL 20056544 by benjamin rouveyrol in ue5-main branch]
2022-05-05 08:49:19 -04:00
robert millar
c0e08bb9df Move support for adding all thread callstacks to crash context from Windows to Microsoft.
#rb none

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19928610 via CL 19930155 via CL 19931144 via CL 19931272
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19932829 by robert millar in ue5-main branch]
2022-04-26 20:15:07 -04:00
robert millar
edbf1f0c8d Add MicrosoftPlatformCrashContext and MicrosoftPlatformStackWalk to share code between Microsoft platforms.
#rb david.harvey

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19920967 via CL 19923246 via CL 19924138 via CL 19924689
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19927818 by robert millar in ue5-main branch]
2022-04-26 16:25:18 -04:00
benjamin rouveyrol
428fb1cfce bugfixes for HDR in editor:
conversion to scRGB was happening twice in CompositeUIPixelShader: once during the LUT, and once during ST2084ToScRGB. We now rely only on the LUT to put us to the correct color space, just like we do during tonemapping
Make sure to use rec709 instead of rec2020 in editor, since this is the color space that is used by scRGB (PF_FloatRGBA backbuffer format)
Fixed UI composition to properly composite HDR elements (like the viewport) with the rest of the UI: we draw a black, 0-alpha rectangle as a proxy in the SDR pass for HDR elements, and we draw the HDR elements in their own rendertargets

#preflight 6266e5285037f70ba0f3939b
#jira UE-148996
#rb eric.renaudhoude Rod.Bogart vincent.gauthier

[CL 19918995 by benjamin rouveyrol in ue5-main branch]
2022-04-26 09:16:41 -04:00
Johan Torp
088c218e96 Windows memory mapping improvements
Fix error handling, make PreloadHint respect in parameters and overload SupportsMemoryMappedFiles

#rb robert.seiver
#preflight yes

[CL 19898968 by Johan Torp in ue5-main branch]
2022-04-25 03:17:59 -04:00
benjamin rouveyrol
30ea8aca4f Have r.HDR.Display.OutputDevice enum values defined in a single place and replaced hardcoded numbers by enum values.
#preflight 62559eb569015afc27ac1833
#jira UE-148598
#rb eric.mcdaniel

[CL 19784660 by benjamin rouveyrol in ue5-main branch]
2022-04-18 09:20:23 -04:00
john huelin
7332066e27 Fix 2 Insights callstack tracing crashes when capturing on some platforms.
First one because due to RTC in EOS not having frame pointers causing a crash when walking down the stack. Limiting callstack tracing with a scope.

The second one because of limited stack size (4k) in a Curl Helper thread, causing a crash when walking down the stack because the callstack walker was allocating 4k on the stack. Doing it inplace to allocate only 2k.

[REVIEW] [at]johan.berg
[FYI] pavel.punsky
#rnx

#ROBOMERGE-OWNER: john.huelin
#ROBOMERGE-AUTHOR: john.huelin
#ROBOMERGE-SOURCE: CL 19739450 via CL 19739526 via CL 19739543 via CL 19739742 via CL 19739765
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19741582 by john huelin in ue5-main branch]
2022-04-13 12:50:15 -04:00
Steve Robb
897dd170ab Replacement of DEPRECATED_MACRO with UE_DEPRECATED_MACRO.
#rb devin.doucette
#jira none
#preflight 623b225a7b69b01ec16118a7

[CL 19480377 by Steve Robb in ue5-main branch]
2022-03-23 12:07:25 -04:00
Devin Doucette
16f363bde1 RWLock: Added TryReadLock and TryWriteLock
#preflight 623a2e3eca34ffd7bf707e3a
#rb Zousar.Shaker
#fyi Andriy.Tylychko, Johan.Torp

[CL 19472194 by Devin Doucette in ue5-main branch]
2022-03-22 16:57:51 -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
PJ Kack
23456e2db7 Add FGenericPlatformProcess::TerminateProcTreeWithPredicate() that enables killing a launched process tree while keeping some of the child processes alive.
#jira none
#rb carlmagnus.nordin
#rnx
#preflight 621df1fcf1206ae3ea3c23be

[CL 19196914 by PJ Kack in ue5-main branch]
2022-03-01 07:42:09 -05:00
steve robb
805a2231ad New bTCHARIsUTF8 variable added to .Target.cs file to make a target use UTF8CHARs as its TCHARs.
#rb jonathan.adamczewski
#preflight 6218af801d1c5017993b35d6

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19144301 via CL 19144308 via CL 19144311 via CL 19146973
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19156226 by steve robb in ue5-main branch]
2022-02-25 16:05:14 -05:00
michael noland
28ee88b5e1 Added a Windows-specific version of FWindowsPlatformMisc::GetMaxRefreshRate
#jira UE-142825
#rb nick.darnell
#preflight 620c06cd4353dc61c7fd3b90
#lockdown julien.marchand

#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 19058655 in //UE5/Release-5.0/... via CL 19074349
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19076494 by michael noland in ue5-main branch]
2022-02-22 13:48:19 -05:00
Wojciech Krywult
c2a62160ec Windows: Added an option to initialize COM in the MTA (multithreading) mode (it defaults to STA i.e. singlethreading mode as before)
#rb Rolando.Caloca, jeff.newquist
#preflight 620e82d8e55d9645848be5f4
#rnx

[CL 19037697 by Wojciech Krywult in ue5-main branch]
2022-02-17 13:24:20 -05:00
arne schober
1697186e12 FEM - enable aligned malloc for after it was accitently disabled a while back.
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18701089 via CL 18701091 via CL 18701094 via CL 18702221 via CL 18702246 via CL 18702283
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18702287 by arne schober in ue5-main branch]
2022-01-22 14:45:23 -05:00
arne schober
f1dfec810d REL - Consolidate Coroutine compiler switches
#preflight 61eb2a6bc557ec200193db0d

#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18701113 in //UE5/Release-5.0/... via CL 18701116 via CL 18701155
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18701160 by arne schober in ue5-main branch]
2022-01-21 22:42:24 -05:00
josh adams
dca6c0902b - Restored Mac/WindowsPlatformProperties::SupportsMeshLODStreaming() to check for HasEditorOnlyData, because it was causing cooked client meshes to crash when loaded by the editor. This may be a temporary fix
#rb jian.ru
#preflight skip

#ROBOMERGE-OWNER: eric.knapik
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18685262 via CL 18686108 via CL 18686121 via CL 18686129 via CL 18686492 via CL 18686502 via CL 18686508
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18686515 by josh adams in ue5-main branch]
2022-01-21 00:25:46 -05:00
steve robb
a85f9fbfc4 Hide/Allow header pair for disabling TCHAR in third-party headers in UTF-8 mode, where our definition of TCHAR diffs from theirs.
#rb devin.doucette
#preflight 61df09e06a16a18acf811b9e

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 18587157 via CL 18587572 via CL 18587643 via CL 18588365 via CL 18588408 via CL 18588443
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18588486 by steve robb in ue5-main branch]
2022-01-12 15:06:09 -05:00
robert millar
4f5ae13383 Do not enable warnings 4582 and 4853 on Microsoft compilers as they are impossible to satisfy for any union that contains more than one member with a user-defined constructor.
#rb halfdan.ingvarsson


#preflight 61de090d484d866ec0f99550

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 18577167 via CL 18577187 via CL 18577188 via CL 18578318 via CL 18578335 via CL 18578350
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18578386 by robert millar in ue5-main branch]
2022-01-11 18:10:09 -05:00
david harvey
0d1909cec7 Some derived Windows platforms can override Windows OS Version functionality.
- GetVersionEx WinAPI function does not work as expected on Manifested Applications.

#jira UE-136505
#rnx
#preflight 61dc8067aa3e6f269e9791db
#rb Eric.McDaniel

#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 18569901 in //UE5/Release-5.0/... via CL 18569910
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18569914 by david harvey in ue5-release-engine-test branch]
2022-01-11 04:40:38 -05:00
joe kirchoff
e91288e2ca Set minimum Visual Studio version to 2019 v16.11.5, toolchain 14.29.31033
Set minimum Clang version to 10.0.0

This will enable the use of newer compiler flags such as increasing the max PDB size past 4GBs by default, using compiler generated dependency lists, and to clean up now unneeded older version checks before releasing UE5.

#jira UE-96200
#jira UE-101933
#jira UE-136980
#jira UE-137707
#preflight 61dcd03ecc3f3367af798913

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18567561 in //UE5/Release-5.0/... via CL 18567576
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18567585 by joe kirchoff in ue5-release-engine-test branch]
2022-01-10 19:46:52 -05:00
andrew davidson
b98537f02b UNSAFE_TYPECAST_WARNING macros allow force enabling of warnings.
#[fyi] michael.noland
#preflight 61d86fa3c65e66487b36b5c0

#ushell-cherrypick of 18546856 by Andrew.Davidson

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18552595 via CL 18552601 via CL 18552604 via CL 18553016 via CL 18553035
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18553054 by andrew davidson in ue5-release-engine-test branch]
2022-01-07 20:09:18 -05:00
andrew davidson
83f6ea2c8a Undo //Fortnite/Dev-EngineMerge-Test2/Engine/... changelist 18551315
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18552107 via CL 18552130 via CL 18552133 via CL 18552520 via CL 18552534
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18552539 by andrew davidson in ue5-release-engine-test branch]
2022-01-07 19:03:23 -05:00
andrew davidson
9dc047e01d UNSAFE_TYPECAST_WARNING macros allow force enabling of warnings.
[FYI] michael.noland
#preflight 61d86fa3c65e66487b36b5c0

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18546856 in //UE5/Release-5.0/... via CL 18546891
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18546909 by andrew davidson in ue5-release-engine-test branch]
2022-01-07 12:27:01 -05:00