Commit Graph

223 Commits

Author SHA1 Message Date
Wes Fudala
80f743d871 Remove reference to UE4 in comments.
#jira UE-111046
#rb none
#preflight none

[CL 19208968 by Wes Fudala in ue5-main branch]
2022-03-01 17:51:21 -05:00
brandon schaefer
bfe0a466be With CEF3 we need to save then restore our signal handlers when init'ing CEF
Cherry picking CL 15923539 to UE5

#jira UE-143223, UE-143477
#rb Michael.Sartain, Alfred.Reynolds
[FYI] Ahmed.Rizwan, Will.Damon
#preflight 6216b5c2647bb7debf6dc503


#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 19104208 via CL 19104700 via CL 19104868 via CL 19104961 via CL 19110071
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19148304 by brandon schaefer in ue5-main branch]
2022-02-25 10:56:24 -05:00
marc audy
cff01aa9fa Added support for native FProperty setters and getters.
Setters and getters are native functions called by FProperties when setting property values with *_InContainer functions.
Setters and getter function names can be manually specified with Setter = Func and Getter = Func keywords inside of UPROEPRTY macro but they will also be automatically parsed if the name is not explicitly specified if the setter or getter function name matches SetPropertyName and GetPropertyName pattern.
The latter behavior can be disabled in UHT's DefaultEngine.ini by setting AutomaticSettersAndGetters=False.
ImportText and ExportTextItem functions have been deprecated and should be replaced with *_InContainer or *_Direct variants.

#rb Steve.Robb
#preflight 6210a377a83e0bcefd03d9e1

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19070318 via CL 19098059 via CL 19104650 via CL 19104661 via CL 19110012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147839 by marc audy in ue5-main branch]
2022-02-25 10:39:39 -05:00
christopher waters
c001265796 Removing uses of FDynamicRHI::GetName() and GetGraphicsRHI() to identify specific RHIs in favor of ERHIInterfaceType.
Switching direct casts of GDynamicRHI to use the new CastDynamicRHI/GetDynamicRHI functions. This prevents incorrectly casting RHIValidation into the wrong types.

#jira none
#rb josh.adams, will.damon, peter.tarasenko
#preflight 6216a3b9c15ec90be95f54f7

[CL 19116145 by christopher waters in ue5-main branch]
2022-02-24 11:58:36 -05:00
paul chipchase
4ac07be78e Fix the game thread sometimes showing up as 'CrBrowserMain' in the debugger.
#rb trivial
#rnx
#preflight 62174eee476ef5d8a220bf2f

- When the WebBrowser module is loaded in the editor we make a call to ::CefInitialize which seems to set the current thread name to 'CrBrowserMain' overriding that the engine sets on start up.
- This was originally fixed back in CL 2636308 for UE-5165 but uses it's own utility function to set the thread name rather than using FPlatformProcess which contains more up to date ways of setting the thread name on certain platforms.
- Removed the local utility method and started using FPlatformProcess::SetThreadName.

[CL 19111298 by paul chipchase in ue5-main branch]
2022-02-24 04:37:07 -05:00
ahmed rizwan
cf9be82e42 Fix Bridge plugin not rendering
#jira UE-143050
#preflight 620e227af44e27e07666c150
#lockdown cristini.riveron
#rb patrick.enfedaque


#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 19033657 via CL 19033709 via CL 19033730 via CL 19033731 via CL 19033910
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19033950 by ahmed rizwan in ue5-main branch]
2022-02-17 08:59:22 -05:00
ahmed rizwan
cbe09baf9e Fix crash when attempting to convert a level to world partition
Added a flag (AllowCommandletCEF) for enabling CEF in commandlet mode

#preflight 620d0d79b71c717652ef08a3
#jira UE-142829
#lockdown cristina.riveron
#rb patrick.enfedaque

#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 19014531 in //UE5/Release-5.0/... via CL 19014682 via CL 19014834
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19014846 by ahmed rizwan in ue5-main branch]
2022-02-16 10:36:20 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -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
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
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
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
andriy tylychko
6bf3101dcd deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau


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

[CL 17176374 by andriy tylychko in ue5-release-engine-test branch]
2021-08-16 11:09:22 -04:00
alfred reynolds
1eed298c22 - Don't crash if the CEF library fails to load. We see reports in the field from users with corrupt disk images missing files or running OS configurations that don't support the CEF library, in those cases just fail to load CEF but don't crash.
#jira UE-118090
#rb Matt.Kuhlenschmidt
#preflight 610b0e795b2fb80001e7a952

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

[CL 17075807 by alfred reynolds in ue5-release-engine-test branch]
2021-08-05 17:03:31 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
alfred reynolds
027c21cceb CEF
- When setting the parent Slate window for a browser object also set the parent HWND if using direct rendering for the browser control. This lets us support tabs changing the parent HWND as they are docked and undocked

#jira UE-114109
#lockdown simon.tourangeau

#ROBOMERGE-SOURCE: CL 16101863 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16101925 by alfred reynolds in ue5-main branch]
2021-04-22 21:44:52 -04:00
alfred reynolds
e003c8a69d - Disable accelerated rendering on macOS for the web browser control as we lack RHI support for it right now
- Fix crash when enabling the WebBrowser plugin on macOS. CEF uses a dylib scoped function pointer table for its API, so we need to enable it in the WebBrowser module, doing it in the CEF3Utils module doesn't help here.

#jira UE-113510
#lockdown simon.tourangeau

#ROBOMERGE-SOURCE: CL 16031887 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16031906 by alfred reynolds in ue5-main branch]
2021-04-16 08:19:38 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
alfred reynolds
41f5c8afb8 - force a minimum window dimension of 1px when using a WebBrowser in OSR mode. CEF/Chrome isn't compatible with 0 sized windows.
#jira UE-112022
[FYI] wes.fudala
#rb none

#ROBOMERGE-SOURCE: CL 15810047 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15814359 by alfred reynolds in ue5-main branch]
2021-03-24 21:23:16 -04:00
alfred reynolds
c7817f00c5 - Disable CEF (web browser) accelerated paint by default until we can fix the multi-gpu rendering issue.
Add "-forcecefaccelpaint" to your command line after this change to turn accelerated rendering back on.

#jira UE-110883
#rb none

#ROBOMERGE-SOURCE: CL 15731012 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15731020 by alfred reynolds in ue5-main branch]
2021-03-17 17:58:52 -04:00
alfred reynolds
eb0210caf6 - Add include guard to CEFLibCefIncludes.h and remove defining OVERRIDE macro as it is not needed.
#jira UE-110411
[FYI] wes.fudala

#ROBOMERGE-SOURCE: CL 15693075 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15693087 by alfred reynolds in ue5-main branch]
2021-03-14 16:12:37 -04:00
alfred reynolds
00ff2ce5ad - Update copyright header in CEF files to match the requirements in the UE5 branch
#jira UE-110192
#jira UE-110195
#jira UE-110196
[FYI] wes.fudala
[FYI] JeanFrancois.Dube
#horde 47017
#horde 47016

#ROBOMERGE-SOURCE: CL 15657948 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15657981 by alfred reynolds in ue5-main branch]
2021-03-09 15:32:23 -04:00
Marc Audy
621be2dde9 Fix another build issue following 15635368.
#rb none
#[fyi] alfred.reynolds

#ushell-cherrypick of 15645224 by JeanFrancois.Dube

[CL 15651284 by Marc Audy in ue5-main branch]
2021-03-09 01:38:12 -04:00
Marc Audy
1fce2e72b4 Fix build following 15635368.
#rb none
#jira UE-110172
#[fyi] alfred.reynolds

#ushell-cherrypick of 15641733 by JeanFrancois.Dube

[CL 15651279 by Marc Audy in ue5-main branch]
2021-03-09 01:37:44 -04:00