Commit Graph

322 Commits

Author SHA1 Message Date
frederic brachfogel
7ddfe3c341 fix for Certain devices capped at lower FPS than supposed
[REVIEW] fourat.jellouli chris.babcock pete.sauerbrei


#ROBOMERGE-OWNER: frederic.brachfogel
#ROBOMERGE-AUTHOR: frederic.brachfogel
#ROBOMERGE-SOURCE: CL 21427202 via CL 21429126 via CL 21429286 via CL 21431383 via CL 21433736 via CL 21434075 via CL 21434129
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v981-21435820)

[CL 21436494 by frederic brachfogel in ue5-main branch]
2022-08-17 20:34:10 -04:00
bernard lambert
6a95e5db6d - Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.

#RB Chris.Babcock Adam.Kinge

#ROBOMERGE-AUTHOR: bernard.lambert
#ROBOMERGE-SOURCE: CL 21219114 via CL 21219129 via CL 21219137 via CL 21219139 via CL 21219150
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21224334 by bernard lambert in ue5-main branch]
2022-07-22 13:19:40 -04:00
nat parkinson
606862353e [Backout] - CL21196825
[FYI] bernard.lambert
Original CL Desc
-----------------------------------------------------------------
- Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.


#ROBOMERGE-AUTHOR: nat.parkinson
#ROBOMERGE-SOURCE: CL 21197038 via CL 21197050 via CL 21197054 via CL 21197064 via CL 21197075
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21197499 by nat parkinson in ue5-main branch]
2022-07-20 23:51:13 -04:00
bernard lambert
f595573ef0 - Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.


#ROBOMERGE-AUTHOR: bernard.lambert
#ROBOMERGE-SOURCE: CL 21196825 via CL 21196834 via CL 21196849 via CL 21196861 via CL 21196876
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21197495 by bernard lambert in ue5-main branch]
2022-07-20 23:51:04 -04:00
frederic brachfogel
1ed46c360a Implementation for FAndroidMisc::GetMaxRefreshRate
[REVIEW] francois.guimond fourat.jellouli allan.bentham


#ROBOMERGE-AUTHOR: frederic.brachfogel
#ROBOMERGE-SOURCE: CL 21165684 via CL 21166857 via CL 21172666 via CL 21174417 via CL 21180324
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192306 by frederic brachfogel in ue5-main branch]
2022-07-20 18:28:06 -04:00
Wojciech Krywult
208cd6c891 Modular builds: Memory: Tweaked the system initialization to make it work with modular builds on some platforms.
On some consoles we load dynamic modules very early during the process initialization and rely on the allocators being ready. It happens even before we have the opportunity to call FPlatformMemory::Init() explicitly, so need to have it called on-demand from FMemory_GCreateMalloc_ThreadUnsafe.

Updated FXXXPlatformMemory::Init on all supported platforms to handle multiple Init() calls gracefully. We do this to free our common code from having to explicitly check if the system has been initialized.

#rb jeff.newquist
#preflight 62a9ebf8634e82e5d1e849de
#rnx

[CL 20983808 by Wojciech Krywult in ue5-main branch]
2022-07-07 10:28:55 -04:00
dmytro vovk
be655d6f1d Improve CPU thermal sensor detection on Android
#rb Allan.Bentham

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20964831 via CL 20964835 via CL 20964843
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 20965540 by dmytro vovk in ue5-main branch]
2022-07-06 09:05:34 -04:00
allan bentham
cf0df27912 Android - Hang detector can be toggled via configrules.
Android hang detector is disabled if no configrule exists.
#rb
[REVIEW]

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 20915970 via CL 20916880 via CL 20916899 via CL 20916905 via CL 20916914
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20919462 by allan bentham in ue5-main branch]
2022-07-01 15:31:15 -04:00
Wei Liu
06c9a5c84e 1. Remove all flip-y completely and only flip y at the end on androidl GL with a native window api, no need to handle flip-y on high level.
2. Supports CustomDepth in translucency pass on mobile LDR.

#jira none

#rb Dmitriy.Dyomin
#preflight 62be9894d94b57687c68aed1

[CL 20911586 by Wei Liu in ue5-main branch]
2022-07-01 03:38:17 -04:00
allan bentham
4587dbb514 Android compatibility: add an allowlist of cvars which can be set via configrules variables.
#rb chris.babcock
#preflight 62bdc8981c0b7587971edcb4

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 20898577 via CL 20899041 via CL 20899526 via CL 20899823
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20901792 by allan bentham in ue5-main branch]
2022-06-30 15:44:52 -04:00
dmytro vovk
a883231dd7 Fixed compilation for Android
#rb trivial

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20795800 via CL 20796301
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20798139 by dmytro vovk in ue5-main branch]
2022-06-23 14:10:08 -04:00
steve robb
28609e6f3c Removal of TEXT used in static_asserts (redundant in ANSI/wide modes, broken in UTF-8 mode).
#rb james.hopkin
#jira UE-132142
#preflight 62a87ef40b7bda795a7dfff0

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 20647361 via CL 20647632 via CL 20647654
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20650895 by steve robb in ue5-main branch]
2022-06-14 12:11:45 -04:00
dmytro vovk
c17efd5dbe Refactored all threads callstack capturing on Android with an aim to reduce timeouts
#rb Allan.Bentham

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20553950 via CL 20553965 via CL 20553973 via CL 20553986 via CL 20553992
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559500 by dmytro vovk in ue5-main branch]
2022-06-08 13:18:19 -04:00
william ewen
83fea46609 Andriod: Enabling Logging in PGO builds
#rb Allan.Bentham

#ROBOMERGE-AUTHOR: william.ewen
#ROBOMERGE-SOURCE: CL 20351243 via CL 20351256 via CL 20351482 via CL 20351584
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20353631 by william ewen in ue5-main branch]
2022-05-24 15:20:19 -04:00
allan bentham
b2000e5922 Added optional ANDROID_USE_NICE_VALUE_THREADPRIORITY define for FRunnableThreadAndroid::SetThreadPriority.
default off.
Enabling it sets the thread's priority via nice values.
Enabling ANDROID_USE_NICE_VALUE_THREADPRIORITY also sets Android pool threads to use all cores.
#rb chris.babcock,dmytro.vovk
#preflight 6246d6cc637925b5d3db3c54

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19586571 via CL 19586632 via CL 19586649 via CL 19586654
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19586926 by allan bentham in ue5-main branch]
2022-04-01 08:42:08 -04:00
Devin Doucette
292008ea35 Logging: Replaced GLog->PanicFlush() with GLog->Panic()
Panic allows only one thread to become the panic thread. In panic mode, logs are only sent to panic-safe output devices. Each call to Panic flushes buffered logs to panic-safe output devices, and flushes panic-safe output devices.

#jira UE-147152
#preflight 62424814292f228e09d8a612
#rb Zousar.Shaker
#fyi Brandon.Schaefer

[CL 19545093 by Devin Doucette in ue5-main branch]
2022-03-29 13:31:48 -04:00
Devin Doucette
c8d64e3c97 Logging: Added and migrated to GLog->PanicFlush() for crash handling
#preflight 623a433a10251d53d5796835
#rb Zousar.Shaker

[CL 19478551 by Devin Doucette in ue5-main branch]
2022-03-23 09:39:18 -04:00
dmytro vovk
d02579a431 Fixed Android x64 build
#rb trivial
#jira UE-140404
#preflight 61f6c9fef343dca3981f6235

#ROBOMERGE-OWNER: dmytro.vovk
#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 18785851 in //UE5/Release-5.0/... via CL 18785876 via CL 18785882
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18785887 by dmytro vovk in ue5-main branch]
2022-01-30 13:01:10 -05:00
dmytro vovk
0c9d7e9b9e Disable stackwalking on Android of XOM check is detected
#jira UE-134109
#rb Allan.Bentham
#preflight 61e6cba07f0c4b5aad604c0f

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 18639423 in //UE5/Release-5.0/... via CL 18639429 via CL 18639432
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18639445 by dmytro vovk in ue5-main branch]
2022-01-18 09:31:30 -05:00
dmytro vovk
290fae9f6a Fixed thread affinity for task graph
#rb Chris.Babcock, Allan.Bentham

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 18380320 via CL 18380325 via CL 18381236 via CL 18381283 via CL 18434346 via CL 18435661
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18436620 by dmytro vovk in ue5-release-engine-test branch]
2021-12-10 19:19:38 -05:00
allan bentham
89d4a4b090 Provide a way for Android java to set UE's crash context.
#rb jack.porter
#preflight 619b8e5b0141b3c6da20edeb

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 18256890 via CL 18256928 via CL 18256942 via CL 18263305 via CL 18263406
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18263527 by allan bentham in ue5-release-engine-test branch]
2021-11-22 16:44:57 -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
geoff evans
3ba4a1dbf7 Move GIgnoreDebugger to CoreGlobals.h/cpp
Remove extern-ed GIgnoreDebugger from various platforms and sources

### Hashtags

#rnx
#jira none
#rb steve.robb
#preflight 618344654adbbc0001a60d9d

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 18058806 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18058853 by geoff evans in ue5-release-engine-test branch]
2021-11-04 12:23:22 -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
chris constantinescu
72b02c5967 Low Level Tests: code tests built on Catch2 with multi-platform support.
Intended for writing unit, integration, functional and all types of tests.

#jira UEENGQA-49764
#rb Jerome.Delattre


#ROBOMERGE-AUTHOR: chris.constantinescu
#ROBOMERGE-SOURCE: CL 17666358 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17666384 by chris constantinescu in ue5-release-engine-test branch]
2021-09-29 15:50:57 -04:00