Commit Graph

542 Commits

Author SHA1 Message Date
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
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
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
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
marc audy
4fae5825c5 Remove unnecessary TruncToInt causing deprecation warnings
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 17609475 in //UE5/Release-5.0/... via CL 17609483
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v871-17566257)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17609491 by marc audy in ue5-release-engine-test branch]
2021-09-23 12:31:24 -04:00
ben zeigler
7c70bdebb8 #jira UE-125298 First set changes for distinguishing between platform user id and controller/input id
Change FPlatformUserId into a proper struct with an internal id that will be allocated by the platform
Converting int->FPlatformUserId is currently deprecated, but the other direction is not deprecated until the online/input code can be converted
GenericApplicaitonMessageHandler will convert back and forth between controller Id and FPlatformUserId as needed
Add support for platform user id to LocalPlayer, by default it is synchronized with ControllerId
#rb david.harvey, ben.hoffman

#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 17597808 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17597827 by ben zeigler in ue5-release-engine-test branch]
2021-09-22 13:39:56 -04:00
leon huang
eb4aa925db Introduced UE_WINDOWS_USING_UIA macro to facilitate Windows accessibility only if
the Windows UIA dll is used.
#rnx
#rb: David.Harvey
#preflight: 614470ce81695600012d14f9
[FYI] Jason.Stasik

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 17558697 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17558711 by leon huang in ue5-release-engine-test branch]
2021-09-17 17:27:19 -04:00
axel riffard
5ddfe0fa87 Fix crash when disconnecting / reconnecting a bluetooth controller outside of the app
#jira UE-109927
�rb jack.porter
#preflight 614030c8c563e000014d3838

#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 17501035 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17501050 by axel riffard in ue5-release-engine-test branch]
2021-09-14 02:12:13 -04:00
geoff evans
b353e75c60 FApp::HasFocus() API to unify checking focus state
This is a defensive change to more uniformly gate conditions of various pathways that want to "nice" CPU consumption when the application is not the foreground application (doesn't "Have Focus"). In benchmarking scenarios we don't want a focus-grabbing application to cause change in behavior while taking performance measurements. This could be in local workstation benchmarking where other foreground apps will naturally come to the front or in data center build where antics that might otherwise be completely unknowable could impact benchmark measurements.

This change was formulated after finding some "nice" CPU conditionals that were instrumented, but not all of them are. This change aims to prevent having to instrument, profile, and mitigate each condition separately.

#rnx
#jira none
#rb francis.hurteau, brandon.schaefer
#preflight 611ec9248ff55400018d5018

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17463345 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17463757 by geoff evans in ue5-release-engine-test branch]
2021-09-08 16:59:42 -04:00
axel riffard
91d545dd15 Remove default brightness and reset brightness on iOS.
#jira UE-118108 #rb jack.porter

#ROBOMERGE-SOURCE: CL 17364611 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17364619 by axel riffard in ue5-release-engine-test branch]
2021-08-31 03:54:27 -04:00
andrew davidson
ffa1d5ca26 LWC support for FQuat and FTransform
Merge Dev-LargeWorldCoordinates [at] 17289670

#preflight 6125fb6925057900014f2cd6

#ROBOMERGE-SOURCE: CL 17300515 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300523 by andrew davidson in ue5-release-engine-test branch]
2021-08-25 06:26:44 -04:00
rolando caloca
f6cd88c157 UE5 - Remove platform
#rb Steve.Smith
[FYI] Jules.Blok, Ryan.Durand, Ben.Marsh

#ROBOMERGE-SOURCE: CL 17295935 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17295945 by rolando caloca in ue5-release-engine-test branch]
2021-08-24 19:28:38 -04:00
michael sartain
5285bc13e4 Linux SDL 2.0.16 Update
Switch SDL_SetKeyboardGrab to SDL_SetWindowKeyboardGrab
  Add SDL_ConfineCursor to dynapi_overrides

Hat tip Ethan Lee

#jira none
#rb Brandon.Schaefer
[at]Brandon.Schaefer

#ROBOMERGE-SOURCE: CL 17252629 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17252653 by michael sartain in ue5-release-engine-test branch]
2021-08-20 16:13:06 -04:00
richard wallis
5c465f892c Fix for crash in FMacApplication::FindScreenByCocoaPosition(). FindScreenByCocoaPosition/FindScreenBySlatePosition can be accessed externally from any thread. Mouse move (and other event) updates in the Engine Game Thread were causing a race condition with an external plugin Main Thread event processing. Update FMacScreen references to ESPMode::ThreadSafe and use C++ references where is makes sense - even though UE5 has now since defaulted to thread safe - still changing this just in case it goes back to non thread safe and we want to be explicit about it in the mac screen handling.
#jira UE-121896
#rb will.damon

#ROBOMERGE-SOURCE: CL 17247660 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17247664 by richard wallis in ue5-release-engine-test branch]
2021-08-20 10:41:32 -04:00
matt kuhlenschmidt
6655d4be67 Prevent accidiental closing of application windows by double clicking on the tile bar icon (default win32 behavior only)
#jira UE-115785

#ROBOMERGE-SOURCE: CL 17234086 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17234092 by matt kuhlenschmidt in ue5-release-engine-test branch]
2021-08-19 10:44:41 -04:00
michael sartain
7141fd5c7c Update Linux SDL2 library from 2.0.12 to 2.0.16
#jira none
[at]Brandon.Schaefer, [at]James.Singer
#rb Brandon.Schaefer, James.Singer

#ROBOMERGE-SOURCE: CL 17215198 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17217992 by michael sartain in ue5-release-engine-test branch]
2021-08-18 13:34:27 -04:00
ionut matasaru
b83e9a7e61 Fixed the cpu scoped timer name for EditorIsInBackgroundSleep to not include quotes in name (i.e. it does not need quotes when using TRACE_CPUPROFILER_EVENT_SCOPE macro; only the _STR variant of the macro accepts a static string).
#ROBOMERGE-SOURCE: CL 17114838 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17114842 by ionut matasaru in ue5-release-engine-test branch]
2021-08-10 08:21:09 -04:00
geoff evans
d38f02ab35 IterationProfile: Add Trace Bookmark support
* Add bookmark pair to create telemetry scope for LoadAssetAndPIE, whitelist it in project-specific statistics files
* Split Stats.csv files into global Engine/Build/IterationProfile.csv and per-project Build/IterationProfile.csv directives (for project privacy)
* Global statistics file is now assumed, not necessary to pass into the <Commandlet>.
* Run <Commandlet> with Project specified so it can load project-specific statistic entries
* Remove -NoEnginePlugins parameter (projects require plugins!)
* Always do many hundreds of frames after we request PIE (vs. a time span which can be taken up mostly with preparing to PIE)
* Remove GC from the automated test function, it was just legacy and it betrays how realistic the test is
* Disable sleep in Editor when it doesn't have focus only in Deterministic mode

#rnx
#jira none
#rb francis.hurteau
#preflight 610cb65b0d783d000149b82f
#preflight 610caadd72fe2c0001a73f02

#ROBOMERGE-SOURCE: CL 17086203 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17086233 by geoff evans in ue5-release-engine-test branch]
2021-08-06 14:49:22 -04:00
dmytro vovk
bbe295d1b4 Fixed compilation
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 17038982 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v848-17036448)

[CL 17038991 by dmytro vovk in ue5-release-engine-test branch]
2021-08-03 17:16:10 -04:00