Commit Graph

369 Commits

Author SHA1 Message Date
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
dmytro vovk
164a1da877 Enable memory mapped animations and audio on Android
#rb Allan.Bentham

[CL 36035089 by dmytro vovk in ue5-main branch]
2024-09-05 06:27:02 -04:00
dmytro ivanov
6dbca26029 Implement FPlatformMisc::SetStoredValue, GetStoredValue and others on Android
#jira UE-222628
#rb denys.mentiei

[CL 35822749 by dmytro ivanov in ue5-main branch]
2024-08-27 08:38:49 -04:00
marc audy
c52a6efedc Include of the more generic header needs to be after the platform has an opportunity to specify specific elements
#rnx

[CL 33623725 by marc audy in ue5-main branch]
2024-05-14 03:04:21 -04:00
marc audy
28c077e1f9 Fix non-unity issues
#rnx

[CL 33614058 by marc audy in ue5-main branch]
2024-05-13 20:49:19 -04:00
chris babcock
ef7092e356 Remove MemAdvisor
#android
[REVIEW] [at]Peter.Sauerbrei
#rb Allan.Bentham

[CL 32940252 by chris babcock in ue5-main branch]
2024-04-12 15:16:41 -04:00
dmytro ivanov
a8eaa21437 Add support for HWAsan in NDK 26
#jira UE-205585
#rb dmytro.vovk

[CL 31122572 by dmytro ivanov in ue5-main branch]
2024-02-02 09:29:10 -05:00
david harvey
d709133122 move the logic that determines whether __builtin_bit_cast should be used into Platform.h
- allows platform extensions to determine whether it is available

#jira UE-204162
#rnx

#rb Chris.Babcock, Devin.Doucette

[CL 31120967 by david harvey in ue5-main branch]
2024-02-02 07:07:25 -05:00
ahmed siddique
dffb76dc67 There is logic error in unreal where anytime touch is triggered, it calls CalculateSurfaceSize() which is not good.. it should be using a cached value since CalculateSurfaceSize should only be called on init and setup.
for now am downgrading the logic level to just be in debug builds.
[at]rb matthew.sorrels
#rb matthew.sorrels
#android

[CL 31111255 by ahmed siddique in ue5-main branch]
2024-02-01 19:12:21 -05:00
florian penzkofer
35d40966dc Add SRC_SM5Available similar to SRC_VulkanAvailable that can be used in device profile ini to match based in Desktop renderer support.
New Mali Immortalis and Adreno 7xx rules now enable desktop renderer by default if it is built into the APK (that part is still off by default).
#rb Dmitriy.Dyomin, Florin.Pascu
#jira UE-182203

[CL 30638349 by florian penzkofer in ue5-main branch]
2024-01-16 13:31:12 -05:00
steve robb
9a40daca8c Removed PLATFORM_COMPILER_HAS_IF_CONSTEXPR.
Deprecated CONSTEXPR, PLATFORM_COMPILER_HAS_DECLTYPE_AUTO, PLATFORM_COMPILER_HAS_FOLD_EXPRESSIONS and UE_NORETURN.
Made UE_NODISCARD mandatory (not yet deprecated as fixup is needed).

#rb devin.doucette

[CL 30617451 by steve robb in ue5-main branch]
2024-01-15 08:28:01 -05:00
rafa lecina
149138347d Remove not needed code in FAndroidMisc::ShouldDisablePluginAtRuntime
#jira UE-200504
[REVIEW] [at]Chris.Babcock, [at]Bertrand.Carre
#rb Bertrand.Carre, Chris.Babcock

[CL 30261432 by rafa lecina in ue5-main branch]
2023-12-12 08:30:21 -05:00
ahmed siddique
d70352cd9b Android SingleInstance Service
Tested on Android with Lyra and also preflight checks.

#android
#rb chris.babcock

[CL 30244258 by ahmed siddique in ue5-main branch]
2023-12-11 13:59:52 -05:00
dmytro ivanov
472be09f89 Enable memory tracing on Android
#jira UE-200096
#rb ionut.matasaru, Johan.Berg

[CL 29637861 by dmytro ivanov in ue5-main branch]
2023-11-10 08:42:29 -05:00
allan bentham
fd99ee36dc Android:
- Add engine access to java thermal headroom api.
 - Add 'thermal stress' to perf reports. (see powermanager.getthermalheadroom)
 - Add rss as separate property of android mem stats
#rb jack.porter

[CL 29032044 by allan bentham in ue5-main branch]
2023-10-24 02:40:54 -04:00
allan bentham
da39a18f8c Android: Add memory advisor's output to CSV stats. (device free, device used)
#rb chris.babcock

[CL 28590634 by allan bentham in ue5-main branch]
2023-10-09 14:12:21 -04:00
scott lindeneau
93410a92bb [PhysicsFormats] Remove extraneous GetPhysicsFormat() overrides and make the default "Chaos".
#rb josh.may

[CL 28295364 by scott lindeneau in ue5-main branch]
2023-09-27 17:38:13 -04:00
allan bentham
f5e0f0b7ca Android: Add 'Product name' to android misc, gives access to the device's marketing/product name - if available.
#rb chris.babcock

[CL 28268625 by allan bentham in ue5-main branch]
2023-09-27 06:36:53 -04:00
allan bentham
9abf69f0bd Android Vulkan external PSO compiler precache support
- currently default disabled.
 - external PSO compilers now pass shared memory blocks back and forth to the engine.
 - When precaching and external compilers are enabled the external compilers are created during RHI init.
 - Chunked Pipeline cache can do limited tests to check if a PSO is required before compiling (where EXTPipelineCreationCacheControl is supported)
 - added vulkan GetPrecachePSOHashVersion that should be updated if RHIComputePrecachePSOHash changes.
 - Updated vulkan's PrecachePSOHash.

#rb chris.babcock, Dmitriy.Dyomin
[FYI] jeannoe.morissette

[CL 28130863 by allan bentham in ue5-main branch]
2023-09-22 08:09:25 -04:00
allan bentham
685d30092b Fix brief period during engine init in which backgrounding could change the android hardware window before the RHI is initialized.
- The Android window is locked during preinit to prevent app backgrounding destroying it during RHIInit. Once the RHI is initialized it is able to handle backgrounding.
#rb Florin.Pascu

[CL 27717929 by allan bentham in ue5-main branch]
2023-09-08 13:24:50 -04:00
wei liu
ef3db73069 Fix the Safezone updated incorrectly issue, the SafeFrameChangeEvent needs to be triggered after the orientation changed.
Fix the Gyro broken issue.


#rb Allan.Bentham, Chris.Babcock

[CL 27434423 by wei liu in ue5-main branch]
2023-08-28 22:30:51 -04:00
wei liu
b9cd7267df Fix the screen resolution (on mobile) stretched issue when casted to a larger screen with a USBC to HDMI cable.
#b Chris.Babcock, Allan.Bentham

[CL 26602466 by wei liu in ue5-main branch]
2023-07-26 06:46:11 -04:00
henrik karlsson
e7a889441d [Core]
* Moved dllexport from type to methods/staticvar. This improves compile times, memory and performance in dll builds

#rb

[CL 26081848 by henrik karlsson in ue5-main branch]
2023-06-17 15:59:58 -04:00
mihnea balta
28e1771151 Non-immediate command lists always record commands, even if bypass mode is requested.
This is because currently QueueAsyncCommandListSubmit() only supports command lists with their own local contexts for parallel translation. When parallel translation is not used, these commands need to be replayed on the immediate context, but bypass mode would create a local context and translate commands into it, and this context is never finalized and submitted.

Also removed PLATFORM_RHITHREAD_DEFAULT_BYPASS, since bypass should be off by default on all platforms. Using this assumption, the Bypass() methods return compile-time constants in test and shipping builds, so all the bypass code can be compiled out.

#jira UE-185658
#rnx
#rb Luke.Thatcher

[CL 26052694 by mihnea balta in ue5-main branch]
2023-06-16 11:10:00 -04:00
allan bentham
4e90db36f0 Limit android setthreadpriority log spam.
- some OS versions may prevent thread scheduling or priority changes, resulting in constant error spam that saturates the logs.
#rb

[CL 25875351 by allan bentham in ue5-main branch]
2023-06-08 12:55:20 -04:00