Commit Graph

558 Commits

Author SHA1 Message Date
michael sartain
36dc72b308 Linux SDL 2.0.18 Update
Plus cherry-pick these commits from SDL main:

  f39e155 [release-2.0.18] Fixed undefined behavior in SDL_memset() (thanks andrewrk!)
  74ee7c0 Fixed potential buffer overflow in YUV conversion
  52e4e52 autotools, cmake: tighten Xfixes check && explicitly test BarrierEventID

Switch SDL_ConfineCursor calls to new SDL_SetWindowMouseRect SDL2 functionality**

** Hat tip Ethan Lee

[at]Brandon.Schaefer
#jira none
#preflight 61dc62c42e0e436c72901f1b

#ROBOMERGE-AUTHOR: michael.sartain
#ROBOMERGE-SOURCE: CL 18561443 in //UE5/Release-5.0/... via CL 18561451 via CL 18561471
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18561490 by michael sartain in ue5-main branch]
2022-01-10 12:22:38 -05:00
michael sartain
8b549c779f Linux SDL 2.0.18 Update
Plus cherry-pick these commits from SDL main:

  f39e155 [release-2.0.18] Fixed undefined behavior in SDL_memset() (thanks andrewrk!)
  74ee7c0 Fixed potential buffer overflow in YUV conversion
  52e4e52 autotools, cmake: tighten Xfixes check && explicitly test BarrierEventID

Switch SDL_ConfineCursor calls to new SDL_SetWindowMouseRect SDL2 functionality**

** Hat tip Ethan Lee

[at]Brandon.Schaefer
#jira none
#preflight 61dc62c42e0e436c72901f1b

#ROBOMERGE-AUTHOR: michael.sartain
#ROBOMERGE-SOURCE: CL 18561443 in //UE5/Release-5.0/... via CL 18561451
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18561471 by michael sartain in ue5-release-engine-test branch]
2022-01-10 12:21:30 -05:00
richard wallis
4aac802ef6 Compile fix for DataSmithSDK - add include for FScopelock.
horde 130573
#jira none
#rb trivial
#preflight 61d80d7b5d522c9b40a43072

#ROBOMERGE-AUTHOR: richard.wallis
#ROBOMERGE-SOURCE: CL 18540927 in //UE5/Release-5.0/... via CL 18540969 via CL 18540970
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18540976 by richard wallis in ue5-main branch]
2022-01-07 05:22:25 -05:00
richard wallis
718df6308d Compile fix for DataSmithSDK - add include for FScopelock.
horde 130573
#jira none
#rb trivial
#preflight 61d80d7b5d522c9b40a43072

#ROBOMERGE-AUTHOR: richard.wallis
#ROBOMERGE-SOURCE: CL 18540927 in //UE5/Release-5.0/... via CL 18540969
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18540970 by richard wallis in ue5-release-engine-test branch]
2022-01-07 05:21:48 -05:00
richard wallis
a466e96309 Fix for Apple controller crash during connect disconnect. Race condition on the controller array objects due to connect and disconnect callbacks running on app main thread while send controller events update is running on a different thread. Add a deferred event array that enables all processing on the same thread as the controller events. Retain and release controllers on connect and disconnect. Ensure the player index is initally set correctly and on disconnect as it was all set to PlayerOne.
Tested on iOS and macOS.

#jira UE-134182
#rb will.damon
[FYI] axel.riffard
#preflight 61d5a309ec35d1b940dc844d

#ROBOMERGE-AUTHOR: richard.wallis
#ROBOMERGE-SOURCE: CL 18529555 in //UE5/Release-5.0/... via CL 18529561 via CL 18529568
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18529569 by richard wallis in ue5-main branch]
2022-01-06 05:10:33 -05:00
richard wallis
ade3e43a73 Fix for Apple controller crash during connect disconnect. Race condition on the controller array objects due to connect and disconnect callbacks running on app main thread while send controller events update is running on a different thread. Add a deferred event array that enables all processing on the same thread as the controller events. Retain and release controllers on connect and disconnect. Ensure the player index is initally set correctly and on disconnect as it was all set to PlayerOne.
Tested on iOS and macOS.

#jira UE-134182
#rb will.damon
[FYI] axel.riffard
#preflight 61d5a309ec35d1b940dc844d

#ROBOMERGE-AUTHOR: richard.wallis
#ROBOMERGE-SOURCE: CL 18529555 in //UE5/Release-5.0/... via CL 18529561
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18529568 by richard wallis in ue5-release-engine-test branch]
2022-01-06 05:09:57 -05:00
jack porter
8cbe4fb13e Fix missing audio after phone call
#jira UE-134906
#rb Axel.Riffard
#lockdown cristina.riveron

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18257545 in //UE4/Release-4.27/... via CL 18458535 via CL 18458744 via CL 18485660 via CL 18485691 via CL 18485721
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18485734 by jack porter in ue5-main branch]
2021-12-17 16:49:08 -05:00
jack porter
4a4d9dda33 Fix missing audio after phone call
#jira UE-134906
#rb Axel.Riffard
#lockdown cristina.riveron

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18257545 in //UE4/Release-4.27/... via CL 18458535 via CL 18458744 via CL 18485660 via CL 18485691
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18485721 by jack porter in ue5-release-engine-test branch]
2021-12-17 16:47:27 -05:00
axel riffard
65f9fa91a4 Change iOS sound suspend / resume audio logic to fix sound bug on iOS 15
#jira UE-134906
#rb jack.porter
[FYI] aaron.mcleran, will.damon, pete.sauerbrei
#lockdown cristina.riveron

#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 18232873 in //UE4/Release-4.27/... via CL 18458495 via CL 18458686 via CL 18485462 via CL 18485469 via CL 18485477
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18485489 by axel riffard in ue5-main branch]
2021-12-17 15:31:46 -05:00
axel riffard
ba0c897b97 Change iOS sound suspend / resume audio logic to fix sound bug on iOS 15
#jira UE-134906
#rb jack.porter
[FYI] aaron.mcleran, will.damon, pete.sauerbrei
#lockdown cristina.riveron

#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 18232873 in //UE4/Release-4.27/... via CL 18458495 via CL 18458686 via CL 18485462 via CL 18485469
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18485477 by axel riffard in ue5-release-engine-test branch]
2021-12-17 15:30:48 -05:00
Marc Audy
c43360f47c Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none

[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
Leon Huang
109e2cd26d Introduced screen reader navigation policies. This allows the screen reader to navigate around UI elements on the screen separate from regular Slate navigation.
- Introduced IScreenReaderNavigationPolicy. This is an interface class that helps the screen reader navigate to the appropriate target accessible widget.
- Introduced FScreenReaderDefaultNavigationPolicy. This is a policy that all FScreenReaderUsers have by default. It helps the screen reader user find target accessible widgets that are enabled and can be focused on.
- Introduced focus navigation functions to FScreenReaderUser. This is the means clients can control and shift accessible focus for FScreenReaderUsers.
- IAccessibleWidget can now retrieve the logical next and previous widget in the accessible widget hierarchy. This functionality is similar to that of mobile screen readers like Voiceover and Android Talkback which allow users to navigate around the UI hierarchy with left and right swipes.
- IAccessibleWidget can now search for a target widget from a source widget based on a search criteria. This is useful for searching for widgets by characteristics (such as enabled state, widget type etc).
- Fixed a small bug in accessible focus where an accessible widget with application focus cannot receive accessible focus again and have its contents announced to the end user.
#rb: Prajwal.Manjunath
#jira: UE-130926
#preflight: 61baf981440d71c977b3089a

[CL 18477319 by Leon Huang in ue5-main branch]
2021-12-16 13:57:14 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
aaron mcleran
182eebe0a9 Removing legacy audio backends and unrealaudio
#jira UE-135041, UE-135040
#rb rob.gay

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18420374 in //UE5/Release-5.0/... via CL 18422553 via CL 18422823
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18423983 by aaron mcleran in ue5-main branch]
2021-12-09 15:30:05 -05:00
aaron mcleran
7d8b0803df Removing legacy audio backends and unrealaudio
#jira UE-135041, UE-135040
#rb rob.gay

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18420374 in //UE5/Release-5.0/... via CL 18422553
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422823 by aaron mcleran in ue5-release-engine-test branch]
2021-12-09 14:49:58 -05:00
martin sevigny
4f99316cd5 Fix a potential resource leak as reported by user.
#rb danny.couture

#ROBOMERGE-AUTHOR: martin.sevigny
#ROBOMERGE-SOURCE: CL 18405111 in //UE5/Release-5.0/... via CL 18405120 via CL 18405134
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18406731 by martin sevigny in ue5-main branch]
2021-12-08 11:25:00 -05:00
martin sevigny
6619ee00e9 Fix a potential resource leak as reported by user.
#rb danny.couture

#ROBOMERGE-AUTHOR: martin.sevigny
#ROBOMERGE-SOURCE: CL 18405111 in //UE5/Release-5.0/... via CL 18405120
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18405134 by martin sevigny in ue5-release-engine-test branch]
2021-12-08 09:04:37 -05:00
Leon Huang
cbb0f379be Generic Accessible Interfaces refactor to support multiple users and focuses.
- Moved FAccessibleEventArgs out of FGenericAccessibleMessageHandler to avoid the need to include GenericAccessibleInterfaces.h in header files where all
they really need is a forward declaration of the struct.
- Removed instances of FGenericAccessibleMessageHandler::FAccessibleEventArgs to FAccessibleEventArgs.

- Updated API for IAccessibleWidget and IAccessibleWindow that deal with getting and setting focus to also take a user index parameter. This facilitates multiple accessible users for the same application.
-Updated platform files that leverage the old IAccessibleWidget and IAccessibleWindow focus API

- Introduced FGenericAccessibleUser and FGenericAccessibleUserRegistry to GenericAccessibleInterfaces.h. An FGenericAccessibleUser is meant to be analogous to FSlateUser that keeps track of hardware users' focus. An FGenericAccessibleUserRegistry is a registry of FGenericAccessibleUsers. These interfaces are meant to insulate FGenericAccessibleMessageHandler from storing and tracking
focus etc when that should be an implementation detail by other modules.
- Refactored how FSlateCoreAccessibleWidgets set focus in the application. Accessible focus is now unified to a single code path that starts from FSlateAccessibleMessageHandler. Requests to shift accessible focus should be done by raising a Slate accessible event or through IAccessibleWidget::SetUserFocus()
- Introduced finer grain querying of focus capabilities for an IAccessibleWidget. Users can now check if an AccessibleWidget supports regular focus (keyboard/gamepad), if it supports accessible focus and if the widget can currently accept regular or accessible focus.
-Updated platforms to use the new FGenericAccessibleUser and FGenericAccessibleUserRegistry ApI to update and retrieve user focus.

#preflight: 61af2481813adc3fbb2ca7d5

[CL 18396441 by Leon Huang in ue5-main branch]
2021-12-07 12:50:45 -05:00
jeff fisher
a3748e48bc OpenXR related features and fixes.
-Adds support for getting velocity and accelleration through GetControllerTransformForTime.
-Adds mechanism for using openxr chain structs which are defined in and consumed by an extension plugin.
-Support for defining a swapchain and renderbridge in an extension plugin.
-Some OpenXR fixes related to runtimes not supplying tracking data of various types.  Basically if the data isn't being provided we should not copy it out because it might be full of nonsense.  Also we would generally rather preserve our last cached position than overwrite with zero/identity.
-Moving OpenXRPlatformRHI.h OpenXRHMD_RenderBridge.h and _Swapchain.h back to private folder.
-Previously one could not run the same haptic effect on two devices simultaneously and have it behave correctly because most of the per-effect-play data for each effect was shared by all controllers.  This refactors so that the necessary runtime data is per controller and the constant bulk data is shared by all controllers.
-Adding infrastructure for playing haptics on a VR HMD.
-Refactored haptic data resampling into the oculus plugin because that is plugin specific.
swarm reviews review-18220544 and review-18220542
#rb Robert.Srinivasiah, Jules.Blok, Steve.Smith

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18271123 in //UE5/Release-5.0/... via CL 18271142
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18271147 by jeff fisher in ue5-release-engine-test branch]
2021-11-23 11:41:31 -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
leon huang
2a30763929 Refactoring FGenericAccessibleMessageHandler to raise accessible events that include user Id and additional arguments. This is to stabilize the accessibility API and allow more information to be passed
around for modules that require more accessibility information such as User/Controller Id.
#rnx
#rb: Patrick.Boutot
#preflight: 617b17e05aecf4000120a61a

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 17974834 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17974837 by leon huang in ue5-release-engine-test branch]
2021-10-29 00:24:02 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
axel riffard
5728df20e9 Fix current gamepad behavior in iOS15 to reflect Apple's change of callback order. #rb jack.porter #jira UE-132399
#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 17883666 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)

[CL 17883674 by axel riffard in ue5-release-engine-test branch]
2021-10-21 08:21:57 -04: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
danny couture
6b9e6f7d79 Remove wrongful throttling that doesn't honor editor settings and tool overrides
- This is already handled in the engine loop and could lead to multiple sleeps being done (see ShouldThrottleCPUUsage).

#rb Francis.Hurteau, Matt.Kuhlenschmidt

#ROBOMERGE-AUTHOR: danny.couture
#ROBOMERGE-SOURCE: CL 17660067 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17660082 by danny couture in ue5-release-engine-test branch]
2021-09-29 08:09:42 -04:00