Commit Graph

340 Commits

Author SHA1 Message Date
dmytro vovk
5d8d977ee6 Added MemAdvice CVar change callback
#jira UE-160510
#rb Allan.Bentham

[CL 24215618 by dmytro vovk in ue5-main branch]
2023-02-14 13:03:07 -05:00
dmytro vovk
b2a8dac081 Enhance memory pressure enum on Android to support 3 stages - OK, low, critical
#rb Allan.Bentham

[CL 24136534 by dmytro vovk in ue5-main branch]
2023-02-11 12:26:20 -05:00
dmytro vovk
d3a6a6c1f7 Added MemAdvice static C lib to Android
#rb Allan.Bentham

[CL 24119001 by dmytro vovk in ue5-main branch]
2023-02-10 10:15:21 -05:00
chris babcock
a2e6292e96 Update force feedback support on Android
- Use VibrationEffect for intensity control
- Forward feedback to controller(s) if Android.UseControllerFeedback non-zero (defaults to 1)
- Fix issue with fingerprint scanner false detection as controller
- Does not continue feedback when backgrounded

#jira UE-168579
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/63e2ff10c11233cdcab34b6e

[CL 24068849 by chris babcock in ue5-main branch]
2023-02-08 01:41:47 -05:00
Rafa Lecina
724827847d Allow purchasing multiple products in one transaction on GooglePlay Android
#jira UE-161334
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock, @Jack.Porter
#preflight 63d3ac375c69f453c10f6321

[CL 23987744 by Rafa Lecina in ue5-main branch]
2023-02-03 03:56:51 -05:00
dmytro vovk
905cd0b687 Bring back Android XOM check as it apparently crashes on some devices
#rb Allan.Bentham

[CL 23890382 by dmytro vovk in ue5-main branch]
2023-01-27 15:16:27 -05:00
dmytro vovk
1bd42cd481 Removed XOM check from Android stack walking as new libunwind no longer triggers this issue
#rb Allan.Bentham

[CL 23677905 by dmytro vovk in ue5-main branch]
2023-01-13 10:50:10 -05:00
allan bentham
b8d598ec6a Add Android memory mapped file support
#rb chris.babcock
#preflight 63bff97d6e6e8d46626be2e2

[CL 23661852 by allan bentham in ue5-main branch]
2023-01-12 09:01:45 -05:00
chris babcock
30999dc550 Prevent crash if GetStatData called with a directory on Android
#jira UE-173781
#android
[REVIEW] [at]Rolando.Caloca
#rb Rolando.Caloca

#preflight https://horde.devtools.epicgames.com/job/63bdff750b7fcef8b01e793d

[CL 23651669 by chris babcock in ue5-main branch]
2023-01-11 14:45:36 -05:00
Josh Adams
5615b1a14d - Fixed Android warnings found with some upcoming toolchain changes
- Allow GoogleARSDK for x64 architecture
#rb chris.babcock
#preflight 638a5343976b1644cb6d9c01

[CL 23377164 by Josh Adams in ue5-main branch]
2022-12-02 14:45:19 -05:00
Matt Peters
40185c7e66 WindowsPlatformMemory: Change the behavior of FGenericPlatformMemoryStats::GetMemoryPressureStatus on Windows; it now uses QueryMemoryResourceNotification instead of the generic implementation.
Cooker: In MPCook Collect garbage based on the Operating System's MemoryPressure event, so that Standby memory does not cause spurious garbage collection.
In all cook modes, tweak the output during garbage collection to have less duplicate information.
In all cook modes, add a cooldown for GC when garbage collection is not impactful.
#rn Minor, Core
#rb Zousar.Shaker, Danny.Couture
#preflight 636d69761c14fe4505163289

[CL 23088442 by Matt Peters in ue5-main branch]
2022-11-10 17:17:20 -05:00
henrik karlsson
432c3ce257 Fixed non-unity/pch errors
#rb none
#jira none
#preflight skipped

[CL 22991080 by henrik karlsson in ue5-main branch]
2022-11-04 13:55:45 -04:00
Rafa Lecina
aabf447830 Update Facebook SDK on Android to 15.0.1
Included some fixes after testing login both with and without the Facebook app installed

#jira UE-162597
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock
#preflight 634e6e905f008d633ff59feb

[CL 22686247 by Rafa Lecina in ue5-main branch]
2022-10-21 04:51:39 -04:00
sarah noonan
1a993b9ada *Remove per-frame caching of stats from FPlaformMemory::GetStats and move caching into helper function.
*Update common callers of FPlaformMemory::GetStats to use the helper.
[REVIEW] [at]matt.peters

[CL 22596606 by sarah noonan in ue5-main branch]
2022-10-18 07:22:43 -04:00
evgenii babinets
528585a552 Merging with resolved conflicts on behalf of sarah.noonan. Original CL description:
*Make FPlatformMemory::GetStats cache memory stats per frame to prevent multiple costly platform calls per frame ( by default, has option to request non-cached values ).
*Update some calls to FPlatformMemory::GetStats to specifically request non-cached values.
[REVIEW] [at]evgenii.babinets [at]andrew.ladenberger


#preflight 634a04c0907f4749392d75d0

[CL 22545788 by evgenii babinets in ue5-main branch]
2022-10-14 21:13:08 -04:00
allan bentham
91dd133351 Fix nopch build fail
#rb none

[CL 22139925 by allan bentham in ue5-main branch]
2022-09-22 13:50:48 -04:00
allan bentham
6fc8f7f1b9 Put critical section around android manifest file access.
#rb chris.babcock, jack.porter

[CL 22110093 by allan bentham in ue5-main branch]
2022-09-21 07:32:10 -04:00
Andriy Tylychko
6b7a075ba7 FCoreDelegates cleanup: removed delegate macros
#preflight 632072f947741a7dbd03e2c1
#rb steve.robb

[CL 21981540 by Andriy Tylychko in ue5-main branch]
2022-09-13 09:08:26 -04:00
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