397 Commits

Author SHA1 Message Date
dmitriy dyomin
30bfa72155 Fixed: occasional crash at android.view.Surface.checkNotReleasedLocked(Surface.java:753) when app is backgrounded
[CL 22406650 by dmitriy dyomin in ue5-main branch]
2022-10-07 15:09:39 -04:00
dmitriy dyomin
ffb20c0007 Fixed: Frame stuterring on devices wtih a non standard 'Motion Smoothness' on
#rb jack.porter

[CL 22112950 by dmitriy dyomin in ue5-main branch]
2022-09-21 10:47:00 -04:00
allan bentham
af635a442b Fix proguard exceptions for Android PSO compiler services JNI.
#rb chris.babcock, carl.lloyd

[CL 22039838 by allan bentham in ue5-main branch]
2022-09-15 18:02:06 -04:00
Rafa Lecina
991f7d00cc - Update Google Billing Library to v5 and fix or mitigate several issues found before the update
Included update and fixes together because the update was affecting how the fixes would be implemented

UE-160024:
 - Updated Google Billing Library to v5.
 - Many types and methods changed.
 - Cleaned up unused/non accessible/non needed methods and interfaces from GooglePlayStoreHelper.java, GameActivity.java.template and additions from OnlineSubsystemGooglePlay_UPL.xml
 - Used a uniform code style on GooglePlayStoreHelper.java (tried to be near the C++ guidelines)
 - Also follow C++ code guidelines and naming on the Java native functions implementation
 - Fixed support for GooglePlay pending transactions
 - General cleanup on OnlinePurchaseGooglePlay.h/cpp
 - Do not add validation information for pending purchases so they are not redeemable (thus not consumed accidentally)

UE-160021 and UE-160022
 - Use just one list of transactions to simplify handling them
 - Clear the list of transactions and fill it with the result of the query. GooglePlay always returns the full list of non consumed transactions (and the list of non consumable ones, but those are not currently supported by UE)
 - Added consume delegate to be able to remove consumed receipts

UE-160023:
 - Checked result of BillingClient.launchBillingFlow and notify the native side in case of failure

OI-3209:
 - When launch mode is set to single task in the manifest and the user moves to background and then to foreground using the Android launcher the onPurchasesUpdated listener reports BillingClient.BillingResponseCode.USER_CANCELLED with an empty list of purchases. Detect that as in progress purchase was cancelled

#jira UE-160021, UE-160022, UE-160023, UE-160024, OI-3209, UE-162461
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock
#preflight 630ddb31e54ec9d581788286
#9528

[CL 21737049 by Rafa Lecina in ue5-main branch]
2022-09-01 03:39:00 -04:00
chris babcock
8a37f7eadf Expose versionCode and versionName to configrules
#android
[REVIEW] Peter.Sauerbrei
#rb Peter.Sauerbrei

[CL 21524922 by chris babcock in ue5-main branch]
2022-08-23 19:21:13 -04:00
jeannoe morissette
7ebedb9384 Added support for compiling Vulkan PSO's in separate process
#rb jeannoe.morissette
#preflight 62ff8206086f90bbc4fe751f

[CL 21499839 by jeannoe morissette in ue5-main branch]
2022-08-22 21:18:17 -04:00
Chris Babcock
63ee669793 Remove depreciated AppCache settings calls from WebViewControl
#jira UE-159384
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/62cedc31f324cee189e546a7

[CL 21074594 by Chris Babcock in ue5-main branch]
2022-07-13 13:13:47 -04:00
chris babcock
32b3394309 Update chipset detection to handle mismatches in ro.hardware and ro.soc.model
Add MT6785 chipset and fix a typo in MT6853

#android
[REVIEW] [at]Allan.Bentham
#rb Allan.Bentham


#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 20630114 via CL 20630150 via CL 20630168 via CL 20630181 via CL 20630198
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20636306 by chris babcock in ue5-main branch]
2022-06-13 18:38:19 -04:00
dmytro vovk
f3e6bce755 Update Android dependencies to use static libc++ instead of libc++_shared
#jira UE-131966
#rb Chris.Babcock

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20121044 via CL 20121102 via CL 20121151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20122386 by dmytro vovk in ue5-main branch]
2022-05-10 09:48:16 -04:00
Florin Pascu
d29533ae3a PropagateAlpha fix for Android
#jira none
#preflight 622b03ee0a614dcb0ce75c6b
#rb Chris.Babcock

[CL 19351631 by Florin Pascu in ue5-main branch]
2022-03-11 03:41:10 -05:00
allan bentham
277a2b46b7 Add OGL PSO service's JNI functions to proguard.
Enables compile service optimizations in distribution builds.
[REVIEW]
#rb chris.babcock

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19315238 via CL 19315241 via CL 19315248 via CL 19316199 via CL 19316967 via CL 19316987
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347771 by allan bentham in ue5-main branch]
2022-03-10 21:40:18 -05:00
chris babcock
05ce6552c4 Fix issue with Adreno version checks
#jira UE-144475
#android
[REVIEW] [at]Allan.Bentham
#rb Allan.Bentham

#preflight https://horde.devtools.epicgames.com/job/621f9c8731454c90cc0004c3


#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19222962 via CL 19223258 via CL 19223305 via CL 19223340 via CL 19225889
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19229619 by chris babcock in ue5-main branch]
2022-03-02 16:24:40 -05:00
Chris Babcock
6ef43222b0 Add missing import
#jira UE-144045
#android
#review-19224531 @Allan.Bentham
#rb Allan.Bentham

#preflight

[CL 19224529 by Chris Babcock in ue5-main branch]
2022-03-02 13:31:38 -05:00
allan bentham
bc9a67a871 Android OGL will create multiple separate services for precompiling GLES programs.
only used during PSO precompiling.
This can reduce PSO precompile times by as much as 2/3rds.
It is enabled by default, it can be disabled via Android.OpenGL.NumRemoteProgramCompileServices=0 or setting android configrule variable 'DisableProgramCompileServices' to true.

#rb chris.babcock, Dmitriy.Dyomin
[FYI] peter.sauerbrei, jack.porter


#preflight 6218decf847077002e87365b

#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 19147130 via CL 19147174 via CL 19148641 via CL 19148655 via CL 19160382
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161662 by allan bentham in ue5-main branch]
2022-02-25 19:54:29 -05:00
chris babcock
c3b7dd3ac1 Add check for ro.soc.model for configrules chipset matching
#android
[REVIEW] [at]allan.Bentham
#rb Allan.Bentham


#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 18873658 via CL 18873743 via CL 18873954 via CL 18874009 via CL 18874051 via CL 18875184 via CL 18875889
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18875920 by chris babcock in ue5-main branch]
2022-02-04 18:00:13 -05:00
chris babcock
ffdf3d4796 Fully specify configrules key and provide CRC
#android
[REVIEW] [at]Allan.Bentham
#rb Allan.Bentham

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 18329983 via CL 18330402 via CL 18330983 via CL 18331222 via CL 18331495 via CL 18331655 via CL 18332062 via CL 18332121
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18332146 by chris babcock in ue5-release-engine-test branch]
2021-11-30 16:18:57 -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
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
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
florin pascu
5c1e32c73c RG11B10 + SceneDepthAux 16/32F + Alpha Propagate
For Forward ES31
 Default SceneColor RG11B10 + R16F\32F Depth texture
 With PropagateAlpha on RGBA16F + R16F\32F
 PostProcess we sample SceneDepthAux for Depth
For Deferred ES31
 SceneDepthAux only for Metal
 PropagateAlpha not working yet
 PostProcess we sample SceneDepthTexture for Depth

cvar to change Depth texture from 16 to 32Fr.Mobile.SceneDepthAux
cvar for AlphaPropagate r.Mobile.PropagateAlpha
#jira UE-98033
#rb Dmitriy.Dyomin, Carl.Lloyd, Jack.Porter

#ROBOMERGE-SOURCE: CL 16644095 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16644108 by florin pascu in ue5-release-engine-test branch]
2021-06-11 13:47:20 -04:00
chris babcock
50e9b2fdc5 Update to AndroidX
#jira UE-117916
#android
#rb Steve.Smith


#ROBOMERGE-SOURCE: CL 16635021 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16635027 by chris babcock in ue5-release-engine-test branch]
2021-06-10 21:45:12 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00