756 Commits

Author SHA1 Message Date
adam kinge
7fd11736f0 Fix iOS ignoring iOS Editor Settings screen rotation constraints.
#jira UE-198625
#rb zack.neyland, josh.adams

[CL 29098718 by adam kinge in 5.3 branch]
2023-10-25 15:19:04 -04:00
adam kinge
6363247eb7 Required Metal changes to support iOS Simulator.
- add a new shader platform (SP_METAL_SIM) to support iOS Simulator specific compilation requirements
- update iOS sim #define WITH_SIMULATOR to WITH_IOS_SIMULATOR

#jira UE-168571
#rb carl.lloyd

[CL 26849309 by adam kinge in 5.3 branch]
2023-08-04 11:57:06 -04:00
nicolas potvin
505a13ef2e Fix for [Mobile] [Luna Controller] The left and right triggers are not functional
-> Added a name check for Luna controllers, to enable using the threshold to consider pulling triggers as "button presses".
   -> Added controller info to GameActivity

[REVIEW] [at]Mathieu.Roy [at]Ghislain.Theriault [at]Bernard.Lambert [at]Chris.Babcock

#rnx

[CL 26770657 by nicolas potvin in 5.3 branch]
2023-08-02 10:06:58 -04:00
allan bentham
dea486b695 Add alternative method to determine the native screen DPI when calculating the scale factor required to achieve the requested Android.WindowDPI.
#rb chris.babcock
[REVIEW]

[CL 26746115 by allan bentham in 5.3 branch]
2023-08-01 13:48:09 -04:00
wei liu
8f674e7cde 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 26602475 by wei liu in 5.3 branch]
2023-07-26 06:46:29 -04:00
William Belcher
d55d16b3c5 Fix: Mouse locations are off when rendering off screen. This is due to the platform work area being much larger than the application size. The NullPlatform work area now listens for resolution updates and updates is size accordingly, effectively meaning the desktop size is always the size of the application.
#rb
#jira UE-190598
#fyi

[CL 26559603 by William Belcher in 5.3 branch]
2023-07-24 19:47:22 -04:00
axel riffard
2fded5165a Metal 3.1, iOS17 and tvOS17
#jira UE-187878
#rb adam.kinge
#review-26252912
#fyi jack.porter,  carl.lloyd,  zack.neyland,  josh.adams

[CL 26277840 by axel riffard in 5.3 branch]
2023-06-27 21:39:42 -04:00
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
adam kinge
5a219beeb3 Support iPad SplitView (dynamic resizing) and StageManager
#jira UE-168563
#rb jack.porter

[CL 26057533 by adam kinge in 5.3 branch]
2023-06-16 12:41:13 -04:00
maxime zobenbueler
885d0a1767 Changed how configrules safezones values are evaluated and applied.
#tests Tested on the following affected devices Pixel 3 XL, Nokia 8, OnePlus 7, OnePlus 8T, Samsung S8+, Samsung S10


[REVIEW] [at]Fourat.Jellouli [at]Nicolas.Potvin
#rb Allan.Bentham Michel.Champoux
#rnx

[CL 26053287 by maxime zobenbueler in 5.3 branch]
2023-06-16 11:20:55 -04:00
zahra nikbakht
cd424c4e53 Prevent activating context when HWND is destroyed.
bug: we call activate context immediately after the window is destroyed, and the window pointer is stilll not null. We have also destroyed HWND at this point through the microsoft function ::DestroyWindow, so we check ::IsWindowEnabled as a way to confirm the validity of HWND.
#jira UE-186416
#rb vincent.gauthier

[CL 25954162 by zahra nikbakht in ue5-main branch]
2023-06-13 12:02:34 -04:00
andriy tylychko
9e8b314eb1 made ApplicationWillTerminateDelegate thread-safe: deprecated FCoreDelegates::ApplicationWillTerminateDelegate (because thread-safe delegates can't be statically initialised) and added FCoreDelegates::GetApplicationWillTerminateDelegate() accessor for a thread-safe delegate
#rb francis.hurteau

[CL 25926515 by andriy tylychko in ue5-main branch]
2023-06-12 07:58:54 -04:00
nicolas mercier
d0256f9166 Fix shutdown crash when using AddressSanitizer. The crash happens in AtExit deep in external DLLs, so instead disable TextInput altogether.
#rb [at]daniele.vettorel
#rnx

[CL 25647144 by nicolas mercier in ue5-main branch]
2023-05-26 12:49:52 -04:00
Rafa Lecina
1fc5cb3745 Fix Receipt management on OSSiOS
Receipts retrieved using GetReceipts should be updated by calls to QueryReceipts. After a successful Checkout the receipt for the successful purchase is added to the cached receipts
Ignored all asynchronous transaction updates received. Just trigger the UnexpectedPurchaseReceipt delegate in that case of Purchased transaction notifications
Restored transactions are automatically finished so the end user does not need to do it

Subscriptions and durable products can be purchased and validated but there is no way to know about their state on device using StoreKit. I tried to decode the iOS AppStore receipt using OpenSSL but there is no useful information about owned products (contents look equivalent to restoring receipts)

Also, used proper log category for the purchase interface

#jira UE-176438
#review @Bertrand.Carre, @Michael.Kirzinger, @Dashan.Yue, @Erida.Dule
#preflight 646756d00577c206c77fa474

[CL 25638876 by Rafa Lecina in ue5-main branch]
2023-05-26 04:17:42 -04:00
zack neyland
2fe3440174 Mac: Don't rebuild cached menu on every key press.
#jira UE-86743
#preflight na

[CL 25591473 by zack neyland in ue5-main branch]
2023-05-23 17:49:10 -04:00
yuriy odonnell
5e26ac175f Only update stored console window width/size in SIZE_RESTORED and SIZE_MAXIMIZED
* Fixes a bug where invalid window dimensions would be stored in the .ini file if application is closed while the console is minimized

#rb Devin.Doucette
#preflight 646542554404e3cdd241a3fc

[CL 25518737 by yuriy odonnell in ue5-main branch]
2023-05-17 19:12:15 -04:00
wei liu
c53c069cf8 Tentative fix for android safe zone.
#rb Chris.Babcock
#preflight 64547812d02ea5289fa6a8a3

[CL 25349049 by wei liu in ue5-main branch]
2023-05-05 01:47:29 -04:00
robert seiver
2e65566224 Stop wiping negative bits when masking away higher bits of window position data for use when moving windows
#jira UE-170506
#preflight 64512c0b4d593c0b42a759af
#rb daren.cheng

[CL 25302439 by robert seiver in ue5-main branch]
2023-05-02 11:39:27 -04:00
adam kinge
95dfb47d45 Refactor a global variable and function into IOSAppDelegate as a recent commit appears to have broken it (plus, globals are (generally) bad)
#jira UE-184349
#preflight 644957786b589f8b367d3563
#rnx

[CL 25203367 by adam kinge in ue5-main branch]
2023-04-26 14:11:39 -04:00
robert seiver
4a61132a13 Now using alternate display dimensions which take into account the Dock size when computing work area.
#jira UE-181681
#rb James.Singer, Zack.Neyland
#preflight none

[CL 25127611 by robert seiver in ue5-main branch]
2023-04-20 10:52:52 -04:00
William Belcher
1edb0eeef9 Fix: NullPlatformApplicationMisc platform check is flipped
#rb luke.bermingham
#jira
#preflight trivial
#fyi

[CL 25036562 by William Belcher in ue5-main branch]
2023-04-13 22:53:21 -04:00
christopher fiala
57129aa917 Fix packaged Quest loading hang due to recent changes in FAndroidWindow::GetScreenRect and the OpenXR depth swapchain view rect initialization.
The FAndroidWindow::GetScreenRect change left us with a (0,0) resolution when using Quest, so the HMD wouldn't even try to render.
The depth swapchain changes cause the depth swapchain ViewRect to be uninitialized, resulting in an XR_ERROR_SWAPCHAIN_RECT_INVALID error.

#jira UE-181076
#rb robert.srinivasiah
#preflight 6430871cdf6c5c78fc2bb08d

[CL 24970602 by christopher fiala in ue5-main branch]
2023-04-07 17:25:37 -04:00
jack porter
6fc650c101 Update Swappy to the latest from https://android.googlesource.com/platform/frameworks/opt/gamesdk, modified to always use the Java DisplayManager and refresh rate selection
Enable Swappy on Android by default
Fixed: Swappy VK initialization which was missing a WindowHandle
Remove old GoogleGameSDK files that are no longer needed
Removed Java version of MemAdvisor
#rb Dmitriy.Dyomin
#jira UE-181102
#preflight 64302326285518071799c243

[CL 24965637 by jack porter in ue5-main branch]
2023-04-07 12:06:20 -04:00
james singer
aeed5191dc Fix up DPI scale in Linux being incorrect on 5120x1440 displays
#jira UE-181801
#review @Brandon.Schaefer, @Zack.Neyland, @Robert.Seiver
#rb zack.neyland
#preflight 642c70d74d26bcd1eb99c038

[CL 24916645 by james singer in ue5-main branch]
2023-04-04 15:57:56 -04:00
bernard lambert
be2b61c941 Added a console variable to control if we should use an invisible cursor instead of setting the HCursor to NULL when the cursor type is set to None.
#RB [at]Camille.Gendreau [at]Ghislain.Theriault [at]Fourat.Jellouli [at]Bob.Tellez

[CL 24913211 by bernard lambert in ue5-main branch]
2023-04-04 12:56:18 -04:00