Commit Graph

336 Commits

Author SHA1 Message Date
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
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
Andriy Tylychko
60573a80be system semaphore
#preflight 638f5df91776b8c21c9a610e
#rb devin.doucette, francis.hurteau

[CL 23476786 by Andriy Tylychko in ue5-main branch]
2022-12-12 07:40:30 -05:00
Andriy Tylychko
d48f6660b8 removed StatsThread as it's not used anymore
cleaned recent removal of AudioThread
removed `StatsThread` and `AudioThread` from ENamedThreads
renamed FPlatformAffinity::GetAudioThreadMask() to GetAudioRenderThreadMask() as it's still used for AudioRenderThread
#preflight 6393383ac709c7275629d513
#rb francis.hurteau
#preflight 63970ef35624e6da5e3f4d5e

[CL 23476743 by Andriy Tylychko in ue5-main branch]
2022-12-12 07:33:07 -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
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
bryan sefcik
72be98c810 Moved IN and OUT defines to HAL/Platform.h
#jira
#preflight 63371394466fb436691a350a

[CL 22279776 by bryan sefcik in ue5-main branch]
2022-09-30 16:18:41 -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
eric mcdaniel
629fb4f7ca Disable PLATFORM_ALLOW_ALLOCATIONS_IN_FASYNCWRITER_SERIALIZEBUFFERTOARCHIVE on additional platforms which use FPlatformMallocCrash during crash handling
#rb David.Harvey
#jira none - from a UDN
#preflight 62d80865bc175ec68c159800

[CL 21186372 by eric mcdaniel in ue5-main branch]
2022-07-20 15:00:59 -04:00
Dmitriy Dyomin
f00c0a426b Remove support for a landscape baked mesh which was used for mobile platforms only
#jira none
#rb jonathan.bard
#preflight 62d769cdbc175ec68cee67d0

[CL 21171586 by Dmitriy Dyomin in ue5-main branch]
2022-07-19 23:03:12 -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
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
joe barnes
a54312c776 Android hang detector and loading screen hang detector including fix for false hang trigger when app is backgrounded.
#rb Dmitriy.Dyomin

#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 20182600 via CL 20184433 via CL 20185023 via CL 20186359 via CL 20186677
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20188843 by joe barnes in ue5-main branch]
2022-05-13 16:42:56 -04:00
joe barnes
1360416ed0 [Android] Roll back LoadingScreen hang detector until we can track down and resolve false hang detection triggers when app is backgrounded for > 30s.
[REVIEW] [at]peter.sauerbrei

#localization none
#tests local

#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 20118306 via CL 20118381 via CL 20118509 via CL 20118533 via CL 20118567
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20119171 by joe barnes in ue5-main branch]
2022-05-10 01:17:48 -04:00
joe barnes
2919cffe66 [Android] Enable Infinite loading screen detection. Enables minimal hang detector. Sets hang detector to 30s, which seems t be required to enable loading screen hang detection. Set loading screen hang detection to 3 minutes to start. Have seen normal loading screens take ~90 seconds.
#rb peter.sauerbrei

#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 19944160 via CL 19944210 via CL 19944218 via CL 19944226
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945966 by joe barnes in ue5-main branch]
2022-04-27 16:15:35 -04:00
Johan Torp
8db7218757 Kill FAndroidPlatformString::Strncmp, which reads one character out of bounds for unterminated strings, and fallback to my faster FGenericPlatform::Strncmp algorithm
#rb pj.kack
#jira UE-146463
#preflight 626687f27e06ec750596f66b

[CL 19900491 by Johan Torp in ue5-main branch]
2022-04-25 07:56:39 -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