Commit Graph

538 Commits

Author SHA1 Message Date
Leon Huang
098ff8c905 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

[CL 17974834 by Leon Huang in ue5-main branch]
2021-10-29 00:22:28 -04:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
axel riffard
a21d79eb80 Fix current gamepad behavior in iOS15 to reflect Apple's change of callback order. #rb jack.porter #jira UE-132399
[CL 17883666 by axel riffard in ue5-main branch]
2021-10-21 08:21:10 -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
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
daren cheng
e69015f90a Fix mouse wrapping prematurely over RDP when clicking 10% away from screen edge.
#jira UE-96948, UE-117018
#rb Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16996805 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16996817 by daren cheng in ue5-release-engine-test branch]
2021-07-29 12:19:49 -04:00
danny couture
193fe1d60a Add insight tag when editor decides to sleep because it is in background
#rnx
#rb trivial

#ROBOMERGE-SOURCE: CL 16893997 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16893998 by danny couture in ue5-release-engine-test branch]
2021-07-20 05:59:29 -04:00
david harvey
4b47843f80 fix some WindowsHWrapper includes for RECT definitions on Microsoft platforms.
#jira UE-118341
#rnx
#rb eric.mcdaniel

#ROBOMERGE-SOURCE: CL 16835277 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16835281 by david harvey in ue5-release-engine-test branch]
2021-07-13 04:43:15 -04:00