803 Commits

Author SHA1 Message Date
scott nelson
14fd2d73bc Crash fix for null bitmap race in windows draw dispatch
#jira UE-195219
#rb Francis.Hurteau, monte.krol
#fyi Monte.Krol
#lockdown mark.lintott

[CL 32589751 by scott nelson in 5.4 branch]
2024-03-28 15:31:49 -04:00
ahmed siddique
eb9452ba26 Fix: for portraid mode stretching issue on some devices. and ASIS cleanup
#android
#jira UE-210348, UE-207291
#rb ahmed.siddique

[CL 32513236 by ahmed siddique in 5.4 branch]
2024-03-26 12:37:20 -04:00
ahmed siddique
6c9863f704 [Backout] - CL32410244
[FYI] ahmed.siddique
Original CL Desc
-----------------------------------------------------------------
New: Cleanup and simplify GameActivity.java.template changes to be less intrusive and support ASIS.
BugFix: Cleanup Android engine source logic to have minimal impact when not using ASIS.

#ushell-cherrypick of 32146848 by ahmed.siddique
#rb Chris.Babcock
#jira UE-210348, FORT-720545

[CL 32512024 by ahmed siddique in 5.4 branch]
2024-03-26 12:17:12 -04:00
ahmed siddique
77d30fe295 New: Cleanup and simplify GameActivity.java.template changes to be less intrusive and support ASIS.
BugFix: Cleanup Android engine source logic to have minimal impact when not using ASIS.

#ushell-cherrypick of 32146848 by ahmed.siddique
#rb Chris.Babcock
#jira UE-210348, FORT-720545

[CL 32500419 by ahmed siddique in 5.4 branch]
2024-03-26 03:02:55 -04:00
henrik karlsson
09c683af5e [ApplicationCore]
* Fixed so new console autoscrolling gets automatically enabled when log is cleared

[CL 32498090 by henrik karlsson in 5.4 branch]
2024-03-26 01:44:12 -04:00
josh adams
b5c9f2725f - Fixed Xcode proejct generation/compiling/booting for Vision Pro hardware
- Commandline in Xcode is now used, if we want Swift to set the CL, we'll have to pause the engine startup sooner
- Added auto-launch timer to the SwiftUI window for easier development (don't need to wear the VP) to debug startup crashes, etc
- Depth texture was too big, so halved the resolution of the viewports (work in progress)
- Currently asserting in XR code, or crashing in compositor services code
#rb Jeff.Fisher

#changelist validated
#virtualized

[CL 32487478 by josh adams in 5.4 branch]
2024-03-25 17:58:29 -04:00
ahmed siddique
88969151a5 fix the EMDoneTrigger timeout failure in SuspendApp_EventThread()
fix issue introduced recently regarding swapping W/H in portrait mode.
#android
#rb Chris.Babcock
#jira UE-207291

[CL 31591869 by ahmed siddique in 5.4 branch]
2024-02-16 19:52:06 -05:00
ahmed siddique
6a7183f1e4 Manual CherryPick from UEMain, Restore how app_cmd_init and restore is handled (remove ASIS STANDALONE ifdefs that are no longer needed)
#android
#rb chris.babcock, rafa.lecina

[CL 31458937 by ahmed siddique in 5.4 branch]
2024-02-13 21:41:46 -05:00
cody albert
0a66943a04 Fixed issue when using Preserve Aspect Ratio on an SWindow where the window would change aspect ratio the first time it was resized if it didn't have an OS border/titlebar
#rb Vincent.Gauthier

[CL 31142434 by cody albert in 5.4 branch]
2024-02-02 16:53:12 -05:00
ahmed siddique
87d2f2298d Refactoring onCreate for GameActivity and switching nativemain to use AndroidMain, also updating ASISStub to properly handle activity change and theme change.
Also added gradle build files for ASISStub to make it easier to use the sample android app to test Android Single Instance
Also fixes for Jira: UE-205628
Jira UEHMI-316
#android
#rb Chris.Babcock, matthew.sorrels
#jira UE-205628

[CL 31101287 by ahmed siddique in 5.4 branch]
2024-02-01 16:06:33 -05:00
ahmed siddique
4ac4084b88 Android SingleInstanceService fixes for crash and activity switching.Also updated ASISStub and output ASISProject
#rb Chris.Babcock, matthew.sorrels
#android

[CL 31009235 by ahmed siddique in 5.4 branch]
2024-01-30 11:47:45 -05:00
steve robb
57ca754749 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30894744 by steve robb in 5.4 branch]
2024-01-25 14:17:31 -05:00
steve robb
66266c6a11 Fixed up DerivedDataCache, DesktopPlatform, ApplicationCore, AssetRegistry, Core, CoreUObject, Projects, Sockets code to use EAllowShrinking instead of bools.
[CL 30676428 by steve robb in ue5-main branch]
2024-01-17 19:51:06 -05:00
saim80
4cc46194f1 Safer NSApp terminate: call.
#jira UE-203315
#rb Josh.Adams
#11271

[CL 30623430 by saim80 in ue5-main branch]
2024-01-15 15:06:30 -05:00
jason walter
b532d6c180 Add support for creating secondary input devices to be used outside of the Unreal Input System.
#jira UE-199982
#rb ben.zeigler, ben.hoffman

[CL 30596257 by jason walter in ue5-main branch]
2024-01-12 12:19:29 -05:00
wouter dek
19a489f53a Make splash screen movable
#rb Patrick.Boutot

[CL 30566582 by wouter dek in ue5-main branch]
2024-01-11 08:25:20 -05:00
jamie dale
96d775b52a Re-added the text outline to the Windows splash screen text
This makes it easier to read the text on a non-solid background, and had previously been removed in the UE4 -> UE5 styling changes

[FYI] Matt.Kuhlenschmidt
#rnx

[CL 30546592 by jamie dale in ue5-main branch]
2024-01-10 15:19:36 -05:00
bernard lambert
86698fa2f0 Make SafeZonePaddingTop and SafeZonePaddingRight command line argument values get applied to the correct values of the TitleSafePaddingSize vector.
#rnx
#rb Camille.Gendreau, Jack.Porter

[CL 30411584 by bernard lambert in ue5-main branch]
2023-12-20 09:36:06 -05:00
jeremie roy
fc20f97af5 Fix LiveLinkHub linux build
#jira UE-202529
#rb Simon.Therriault

[CL 30295293 by jeremie roy in ue5-main branch]
2023-12-13 11:42:11 -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
james singer
38db5400fd Reduce repeating monitor DPI log event spew to only print on the first occurrence
#jira UE-200159
#rb zack.neyland

[CL 30187988 by james singer in ue5-main branch]
2023-12-07 14:17:02 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
andrew rodham
a328389e83 Fixed FNullWindow forcing windows to be zero-sized before it was properly initialized
SWindow may call AdjustCachedSize before calling Initialize during its initial creation. This would previously result in the window being forced to zero size and a subsequent call to Initialize would never reshape the Slate window.
This is now fixed by caching whether the window has been initialized or not. This is more in line with the other platform windows that generally do a noop if they have not created a window handle yet.

#jira UE-200363
#rb William.Belcher

[CL 29776117 by andrew rodham in ue5-main branch]
2023-11-16 09:32:45 -05:00
carl lloyd
742cd26994 Switching from mtlpp to Apple's MetalCPP library
- Mostly a straight port from mtlpp to MetalCPP
- The debug encoders have been removed in favour of Metal's built in encoder errors, these are always on in debug and development builds
- mtlpp had additional validation that we are now not implementing in the short term, but will revisit after some refactoring

#rb Zack.Neyland

[CL 29773146 by carl lloyd in ue5-main branch]
2023-11-16 05:04:37 -05:00
Jeff Fisher
ff336238b0 OpenXRVisionOS non-plugin support files
-The changes required for VisionOS Immersive mode that are not within the OpenXRVisionOS plugin.
-Enables SimpleHMD for VisionOS (stereo rendering without a hmd).
#jira UE-198733 UE-199918
#review-29530280
#rb Josh.Adams, Carl.Lloyd

[CL 29716903 by Jeff Fisher in ue5-main branch]
2023-11-14 12:27:00 -05:00