Commit Graph

69 Commits

Author SHA1 Message Date
josh adams
c10d6cdc61 - Compiled CEF3 wrapper lib, universal
- Engine changes needed for CEF3 arm64/m1
- Updated EpicWebHelper.app
- Made Binaries/ThirdParty/CEF/Mac/CEF.framework into two non-universal frameworks, because they are so big, we don't always want both architectures if a project is non-universal
#jira UE-153533
#rb alfred.reynolds
#preflight 6296cda42a1851b4cca8d043

[CL 20445748 by josh adams in ue5-main branch]
2022-05-31 23:09:46 -04:00
Josh Adams
a844807369 - Fixed some unacceptable words from CEF integration, and added a known case to the script for a third party #include we can't change
#rb trivial
#fyi alfred.reynolds
#preflight 62969d48261e39f62075bfa3

[CL 20445678 by Josh Adams in ue5-main branch]
2022-05-31 22:41:24 -04:00
josh adams
325c2bc02f - Updating CEF to v90 (in prep for getting M1 version checked in)
#rb alfred.reynolds
#preflight skip (too big for horde)

[CL 20435886 by josh adams in ue5-main branch]
2022-05-31 08:44:08 -04:00
jeff newquist
45350930a3 Remove NDA platform define references
#jira none
#rb rolando.caloca, david.harvey
#preflight 62880af3d1384beadd4de28b

[CL 20332798 by jeff newquist in ue5-main branch]
2022-05-23 13:53:51 -04:00
jeff newquist
0e37762c51 Remove NDA platform references from WebBrowser
#jira none
#rb david.harvey
#preflight none
#rnx

[CL 20284660 by jeff newquist in ue5-main branch]
2022-05-19 14:44:08 -04:00
Brandon Schaefer
1f4b6ee4cc Disable CEF if we are running with -RenderOffscreen
Disable CEF if we cannot ever render

#jira none
#rb Alfred.Reynolds
#fyi Wes.Fudala
#preflight none

[CL 19472880 by Brandon Schaefer in ue5-main branch]
2022-03-22 17:55:01 -04: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
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
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
Marc Audy
76a4f7dd9e Merge CEF version 84.0.4147 from the //Portal branch directly into the //UE5/EA branch
- The CEF helper process has been renamed from UnrealCEFSubprocess to EpicWebHelper
- Support for accelerated rendering from CEF has been added (using GPU->GPU texture copies). This works for the Standalone renderer in DX11/macOS-OpenGL and in the D3D11 RHI renderer, otherwise falls back to the default CPU texture copy mode. Accelerated paint can be disabled by adding "-nocefaccelpaint" to the commandline.
- Numerous other bug fixes and perf improvements in the CEF code have been added since we last took a version drop

#jira distro-133
#[fyi] wes.fudala

#ushell-cherrypick of 15635368 by alfred.reynolds

[CL 15651276 by Marc Audy in ue5-main branch]
2021-03-09 01:37:10 -04:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
Rolando Caloca
f83ae4807a Copying //UE4/Dev-Rendering@9317594 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 9317904 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-10-01 13:03:04 -04:00
Leigh Swift
3b246bc3db Copying //UE4/Portal-Staging to //UE4/Main (Source: //Portal/Main/Engine @ 8661229)
Change 8553543 by Wes.Fudala

	We now set a fixed value of 24 to CEF screenInfo colorDepth when off screen rendering is enabled.

Change 8235770 by Wes.Fudala

	Fix for CEFJsScripting memory stomp and memory alignment errors called out by the stomp memory allocator when running with -stompmalloc on the commandline.

Change 8065597 by Leigh.Swift

	BuildPatchServices: Improving ChunkBuildDirectory behaviour when dealing with empty build or builds only containing empty files.
	This is now fully supported as part of the generation flow rather than an early detected edge case.

Change 7641628 by Leigh.Swift

	BuildPatchServices: Tweaks to serialisation safety.
	BuildPatchServices: DiskChunkStore fix for crash when chunkdump serialisation fails due to disk space.

Change 7436869 by Leigh.Swift

	BuildPatchServices: Fix regression in BPT package chunks for cloud save improvements now require message pumping.

Change 7326553 by Wes.Fudala

	BuildPatchServices: Attempt to restore functionality of the -SkipBuildPatchPrereq commandline.  This stopped functioning in CL# 6655502 with the BPS DLC related refactors.
	The issue was reported by a number of users that were relying on this commandline as a last resort workaround for prereq install issues.

Change 7323945 by Leigh.Swift

	BuildPatchServices: BuildPatchTool: Install time coefficient values exposed by DiffManifests.
	This gives an indicative install duration.
	The time is not necessarily accurate, but the simulation is a constant and so the value is highly comparable between different builds.

Change 7310352 by Antony.Carter

	BuildPatchServices: Adding support for overriding http path for chunk requests. This allows the ability to support signed urls when downloading patch data.

Change 7095282 by Leigh.Swift

	BuildPatchServices: Fix regression with manifests that have no core files.

Change 7092198 by leigh.swift

	BuildPatchServices: Reuse existing code from FBuildPatchAppManifest::GetChunkShaHash in FBuildPatchManifestSet::GetChunkShaHash.
	This fixes an issue where older manifest files that did not ship with chunk sha values in them, can skip sha validation of chunks like pre-DLC launcher did.

Change 6959115 by Wes.Fudala

	Added functionality that will optionally expose embedded browser console logs to the client.

Change 6835841 by Leigh.Swift

	BuildPatchServices: Rearranging manifest save logic to avoid unnecessary seeking forwards, which avoids an assert when undetected write failures occur.

Change 6684994 by Leigh.Swift

	BuildPatchServices: Don't clean empty directories if staging only.

Change 6655502 by Mike.Erickson, Leigh.Swift, Wes.Fudala

	BuildPatchServices: Restructuring how installers are configured and make use of manifest files in order to combine multiple actions on an installation directory into one installer.
	This resembles a feature set for a better DLC installation experience.

Change 6404031 by Richard.Fawcett

	BuildPatchTool: Only append ".manifest" to output filename if output filename has been specified on the command line.
	This was causing a manifest file called literally ".manifest" to be output to the clouddir if -OutputFilename was not specified.

Change 6077240 by Wes.Fudala

	Execution of browser resource load complete delegate now happens on the main thread.

Change 6076171 by Leigh.Swift

	BuildPatchTool: PatchGeneration: ChunkDeltaOptimise: PackageChunks: Improved corrupt output protection against ill timed taskkill, by serialising to temp filename, and then rename on success.
	BuildPatchTool: PatchGeneration: Manifest file extension added if not provided, fixing an oversight and inconsistency with other mode behaviours.
	BuildPatchTool: Compactify: Only warn when failing to get a file size, if the file still exists. Otherwise log instead.

Change 6049003 by Leigh.Swift

	BuildPatchServices: Adding ProcessRequiredDiskSpace to Launcher.Install.Stats which represents how much disk space the install/update process needed to complete.
	BuildPatchServices: Adding ProcessAvailableDiskSpace to Launcher.Install.Stats which represents how much disk space was available at the time of checking required disk space.

Change 5915157 by Leigh.Swift

	BuildPatchTool: Adding a statistic to diffmanifests for temporary disk space requirement to apply the patch.

Change 5934838 by Leigh.Swift

	BuildPatchTool: PackageChunks: Adding support to provide a tagset for the previous build manifest when producing chunkdbs. This allows expanding the chunks saved out to cover tagsets not installed in the previous build.

Change 5838666 by wes.fudala

	Browser can now bubble up the state of completed web resource loads.

Change 5689493 by Leigh.Swift

	Adding new x86 and x64 MS VC141 CRT redist, version 14.16.27012

Change 5689462 by Leigh.Swift

	Fixing process handle leaks on windows.
	Core was leaking for getting an application name.

Change 5500917 by Leigh.Swift

	BuildPatchTool: Adding new arg DiffAbortThreshold to ChunkDeltaOptimise mode which allows skipping of the operation if the original delta is so large that it would take too long to process, and likely have little benefit.
	BuildPatchTool: Switching some Log output to use Display so that it will appear in EC and CMD windows.

Change 5337482 by Leigh.Swift

	BuildPatchTool: Fix for DiffManifests mode not accurately representing delta size for tagged install sets.

Change 5261246 by Leigh.Swift

	BuildPatchServices: Fix for file download needing to mock response codes for higher layer statistics code which tracks data sizes and speeds.
	This is a regression from previous change to correct download failure vs corruption statistics.

Change 5224725 by Leigh.Swift

	BuildPatchServices: Fix for delta download of more than 0 bytes when no update is necessary.
	BuildPatchServices: Skip requesting delta metafile if no file changes are actually required for a patch.
	BuildPatchTool: Reduce unnecessary data produced by BPT ChunkDeltaOptimise mode.

Change 5010941 by Mike.Erickson

	BuildPatchServices: Add download scaling based on average speed per request, maximum count, and download health.

Change 5010845 by Wes.Fudala

	BuildPatchServices: IDownload refactored to have specific request and response success functions, to make it clearer that a successful request does not mean the response was also good.
	BuildPatchServices: Fixed issues with download failures reporting as corruptions.

Change 5000643 by Wes.Hunt

	Remove HttpServiceTracker from UE4.

Change 4884381 by Leigh.Swift

	BuildPatchTool: Fix for Package Chunks mode hanging when no chunks were required.

Change 4848675 by Justin.Sargent, Leigh.Swift

	Speculative fixes for graphics device lost related crash, by adding additional d3d api result checks.
	Improved logging for graphics device lost handling.
	Improved logging for tracking down common font loading failure resulting in an ensure.

Change 4831134 by Leigh.Swift

	BuildPatchTool: Fix for crash in patchgeneration when fast-forward path replays no match.

Change 4801714 by Wes.Fudala

	Fix for CEF issue encountered when building using Mac Mojave + XCode10.

Change 4719149 by Leigh.Swift

	BuildPatchTool: PatchGeneration mode cyclic data optimisation, reduces SHA calculation requirement counts for cyclic data.
	BuildPatchTool: PatchGeneration mode fix for a bug causing non-optimal match insertion idx searching when there are 10k+ matches per scanner.

Change 4680963 by Leigh.Swift

	BuildPatchTool: ChunkDeltaOptimise mode is now FeatureLevel upgrade / downgrade aware.

Change 4680947 by Leigh.Swift

	BuildPatchTool: Compactify speed improvements for massive network cloud directories.

Change 4656991 by Leigh.Swift

	BuildPatchServices: Make sure chunk writer robustly discovers if a chunk fails to save out.

Change 4647815 by Leigh.Swift

	Upping the minimum wait time for UdpMessageBeacon thread so that it will not always wait 0ms when network sends are failing, reducing disconnect CPU usage.
	Adding configurable tick rate logic to XmppConnectionJingle thread. It will now default to 100Hz max.

Change 4627355 by Michael.Trepka

	Fixed a problem with CEF being unable to find locale pak files on Mac for certain language/region combinations

Change 4620800 by Leigh.Swift

	Fix for CEF crash when disabling a web window that has not yet got a parent window. There's no need to worry about focus in this case.

Change 4590207 by Leigh.Swift

	BuildPatchTool: PackageChunks mode now supports FeatureLevel arg

Change 4590103 by leigh.swift

	BuildPatchTool: Adding new mode ChunkDeltaOptimise which reducing the download size when patching between two specific builds in a specific direction.
	BuildPatchTool: Updated Enumeration, DiffManifests, Compactify, PackageChunks, and VerifyChunks modes to take account of new delta data.
	BuildPatchServices: Installers now have a single shared memory chunk store, which reduces the requirement for booting

Change 4590089 by Leigh.Swift

	BuildPatchTool: Adding new mode ChunkDeltaOptimise which reducing the download size when patching between two specific builds in a specific direction.
	BuildPatchTool: Updated Enumeration, DiffManifests, Compactify, PackageChunks, and VerifyChunks modes to take account of new delta data.
	BuildPatchServices: Installers now have a single shared memory chunk store, which reduces the requirement for booting

Change 4341076 by Leigh.Swift

	BuildPatchServices: Making FBuildPatchAppManifest::GetRemovableFiles  more robust to handle directories with or without trailing slash.

Change 4331754 by Leigh.Swift

	BuildPatchTool: Added support for selecting ChunkWindowSize when generating patches.
	BuildPatchTool: Added support for providing the FeatureLevel command-line argument to indicate the data version that should be saved out by patch generation. This warns about defaulting to LatestJson if not provided.
	BuildPatchTool: Added support for generating patches with recognition for any chunks with any ChunkWindowSize found in the provided CloudDir.
	BuildPatchTool: Added command-line -IgnoreOtherWindowSizes param which if provided, the generation code will only accept chunk matches that are the same as ChunkWindowSize.

	BuildPatchServices: Fixes for supporting installations that use any ChunkWindowSize.
	BuildPatchServices: New manifest file format to reduce file size, this is now raw compressed binary data.

#lockdown Nick.Penwarden
#rb none

[CL 8675597 by Leigh Swift in Main branch]
2019-09-13 13:24:23 -04:00
Josh Adams
d0bf843c9c - Merging Dev-Kairos/Engine/... to Main/Engine/...
- Brings over the necessary engine changes for embedding UE4 mobile as a dylib/so in native mobile app
- Various changes for facial animation, screen recording, others
- ARKit and ARCore plugins were removed, as deemed "not ready"
#rb many people


#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 5201138 via CL 5203024

[CL 5226277 by Josh Adams in Main branch]
2019-02-27 11:57:17 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Joe Barnes
01a13f9d80 Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 4125165 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/...

Change 4136060 by Marcin.Undak

	Editor: fixed device unclaiming

	#jira UE-58464

Change 4190321 by Marcin.Undak

	Linux: fixes for automation and RecordPerformance

	#jira UE-61053

Change 4199010 by Marcin.Undak

	Linux: remove unnecessary -g option

Change 4201876 by Marcin.Undak

	First implementation of WebM media player for Windows and Linux

Change 4201922 by Marcin.Undak

	Whitelisted WebMem plugin only for Windows and Linux

Change 4202203 by Marcin.Undak

	WebM build fixes

Change 4223102 by Marcin.Undak

	Vulkan: console commands for testing device lost

	#jira UE-61789

Change 4225028 by Marcin.Undak

	WebMMedia: disabled on Linux until fixed compilation issues

Change 4231444 by David.Harvey

	UI - Fixing where the virtual cursor renders.  It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One.

	Integrate as edit from CL 4166648.

	#jira UE-62115

Change 4233057 by Marcin.Undak

	TestPAL: added new test for string allocation size

Change 4234649 by Marcin.Undak

	Linux: switched linux plaform to 16bit wide strings

Change 4235253 by Marcin.Undak

	TestPAL: compilation fix for platforms that don't use DirectoryWatcher

Change 4235477 by Marcin.Undak

	Linux: re-enabled WebMMedia plugin

Change 4242242 by Marcin.Undak

	WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works.

Change 4243321 by Marcin.Undak

	WebMPlayer: static code analisys fix

Change 4243505 by Marcin.Undak

	MediaFrameworkTest: added WebM video for testing

Change 4244646 by Marcin.Undak

	WebMMedia: improved concurrency

Change 4244735 by Arciel.Rekman

	Vulkan: skip unnecessary transitions properly (UE-62348, merge).

	(Edigrating CL 4244274 from Release-4.20)

Change 4246685 by Arciel.Rekman

	PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326).

Change 4247808 by Marcin.Undak

	WebMMediaPlayer: added support for seeking

Change 4254841 by Marcin.Undak

	WebM: module dependencies fix

Change 4255124 by laz.matech

	Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken

	#jira none

Change 4256415 by Marcin.Undak

	WebM: added missing editor module

Change 4256716 by Arciel.Rekman

	Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076).

	- Pull request #4617 by malavon.

	#jira UE-57076

Change 4266049 by Marcin.Undak

	Linux: UnrealLightmass and CrashReportClient compilation fixes

	#jira UE-62521
	#jira UE-62522

Change 4266678 by Arciel.Rekman

	Merge speculative commit to get aligned pointer on mmap().

	(Edigrating CL 4225330)

Change 4267998 by Anthony.Bills

	Fix DBufferC clear color due to bad merge.

	#jira UE-62649

Change 4269441 by Marcin.Undak

	GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting

	#jira UE-62582

Change 4269712 by Marcin.Undak

	WebMMediaPlayer: removed LibSimpleWebM

Change 4272849 by Marcin.Undak

	WebMMediaPlayer: fixed re-initialisation

Change 4277931 by Arciel.Rekman

	Linux: switch to Vulkan by default (UE-62807).

	- Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed.
	- Forcing GL is still possible.

Change 4277965 by Arciel.Rekman

	Fix standalone applications after the Vulkan switch.

Change 4277968 by Arciel.Rekman

	Linux: make CrashReportClient headful (UE-14089).

	- The -unattended flags keep even a headful CRC usable on the servers.
	- ldd did not change. Need to check Localization stuff to see if there are any deployment concerns.

	#jira UE-14089

Change 4279402 by Arciel.Rekman

	Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628).

	(Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...)

Change 4279992 by Marcin.Undak

	Linux: fix SlateViewer compilation

	#jira UE-62831

Change 4285613 by Arciel.Rekman

	Vulkan: fix mismatched layout.

	- I tested with RecordPerformance on InfiltratorDemo and haven't found any impact.

Change 4285622 by Arciel.Rekman

	Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515).

	- Too aggressive behavior, which can break cooking for no valid reason.
	- If a commandline argument is used, the engine will still treat inability to raise the limits as an error.

	(Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...)

Change 4293083 by Arciel.Rekman

	Merging //UE4/Main@4291654 to //UE4/Dev-Console

Change 4295297 by Marcin.Undak

	Vulkan: temporary disable generic pipeline cache saving to prevent crashes

	#jira UE-62848

Change 4300191 by Arciel.Rekman

	Delete files added under lowercase directories.

Change 4300211 by Arciel.Rekman

	Re-add files deleted in previous commit under camel-cased paths.

Change 4300895 by Arciel.Rekman

	Linux: fix editor build

Change 4303543 by Ben.Marsh

	Fix compile error for FortGPUTestBed.

Change 4305659 by Marcin.Undak

	[Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments).

	Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48

		The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue.

		This is Tim's code. I'm just submitting it as Tim is currently out of office.

Change 4305661 by Marcin.Undak

	Moved libwebm and libvpx inside WebMMediaPlayer directory

Change 4308659 by Marcin.Undak

	Linux: fixed LLDB visualizers

	#jira UE-52619

Change 4313650 by Marcin.Undak

	WebMMediaPlayer: implemented looping

Change 4321713 by David.Harvey

	removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list.

	https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984?

Change 4321942 by Brandon.Schaefer

	Linux: Use the Target RHI list as the default ordering for which RHI is prefered

	Also update the RHI list in the project settings for our default list

	#jira UE-59487

	#review-4316134 @Arciel.Rekman

Change 4322230 by Brandon.Schaefer

	Treat %lf as %f in GenericWidePlatformString

	#jira UE-62582

Change 4322392 by Brandon.Schaefer

	Make sure our fmt size is large enough to check indexes

	#jira none

Change 4322895 by Brandon.Schaefer

	Actually get the current size of Src as it could have been moved down

	#jira none

Change 4327866 by Brandon.Schaefer

	Linux: Tell the platform misc what RHI we are using

	#jira none

Change 4328926 by Brandon.Schaefer

	Linux: Add haptic support for controllers

	Github PR #4167 (thanks maiself!)

	#jira UE-51681

Change 4328963 by Arciel.Rekman

	TestPAL: improve the test by randomizing allocation size.

	- The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent.

Change 4329208 by Arciel.Rekman

	hlslcc: suppressed benign compiler warning during the Linux build (UE-43988).

Change 4329283 by Arciel.Rekman

	Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux.

	For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h
	For the details, test data and comparisons, message Arciel Rekman.

	Relevant command line args added:

	-vmapoolscale=<float> (defaults to 1.4)
	-vmapoolevict
	-novmapoolevict

	By default, freed memory will not be evicted from RAM (unless running on a server)

	Also changed:
	- Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start)
	- Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint.

Change 4331946 by Luke.Thatcher

	[CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms.
	 - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads.
	 - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended).
	 - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too.

	#jira FORT-96886

Change 4331973 by Luke.Thatcher

	[CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection.
	 - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain.
	 - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress.
	 - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise.

Change 4332200 by Luke.Thatcher

	[CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource.
	 - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook.
	 - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data.
	 - Bumped shader version to invalidate DDC keys.

Change 4332407 by Luke.Thatcher

	[CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies.
	 - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS
	 - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS
	 - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive.

Change 4333386 by Luke.Thatcher

	[CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h

Change 4334395 by Arciel.Rekman

	Corrected PLATFORM_DESKTOP definition.

Change 4336190 by Anthony.Bills

	(Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms.

	#jira none

Change 4336291 by Anthony.Bills

	Use a clamped local clock when timing out the renderthread.

	- This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time.

	#jira none

Change 4336292 by Anthony.Bills

	(Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging.

	"f" is the correct format specifier for a double.

	#jira none

Change 4336307 by Anthony.Bills

	(Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat.

	- Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime.

	#jira none

Change 4336321 by Anthony.Bills

	(Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat.

	#jira none

Change 4336397 by Anthony.Bills

	Fix redefinition of macro.

	#jira none

Change 4336738 by Brandon.Schaefer

	Linux: Add options for ASan, TSan, and UBSan

	#jira UE-62784 UE-62803 UE-62804

Change 4336791 by Brandon.Schaefer

	Linux: Add missing xml comments

	#jira none

Change 4336957 by Joe.Barnes

	Integrate as edit CL#4218145:

	Convert some of our Vector macros to inline functions as thier names class with 3rd party functions.

	#jira ue-61733

Change 4338228 by Arciel.Rekman

	Switch to v12 Linux cross-toolchain (UE-63589).

	#jira UE-63589

Change 4339195 by Ben.Woodhouse

	Integrate-as-edit latest CSV profiler changes up to CL 4292187

Change 4339237 by Ben.Woodhouse

	Integrate-as-edit CL 4226269
	Add support for extern GPU stats, so we can use one stat across multiple CPPs
	Fix the Forward rendering GPUProjection stat

Change 4339239 by Ben.Woodhouse

	Integrate-as-edit CL 4292520

	Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed.
	No changes to existing defaults values of 1KB for read, 4KB for write:

	        #define PLATFORM_FILE_READER_BUFFER_SIZE 1024
	        #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096
	        #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096

Change 4339241 by Ben.Woodhouse

	Integrate-as-edit CL 4210462
	Comment out an assert while I investigate properly (doesn't appear to be fatal)

Change 4339265 by Anthony.Bills

	[Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface.

	#jira none

Change 4339274 by Anthony.Bills

	[Linux] Cache the bundled toolchain when using git builds.

	- Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified.

	#jira UE-63394

Change 4339623 by Anthony.Bills

	[Linux] Update native toolchain buildscript to support clang 6.0.1

	- Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2.

	#jira UE-63588

Change 4339685 by Anthony.Bills

	[Linux] Update toolchain setup script to download v12 when it is available.

	#jira UE-63588

Change 4339833 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/...

Change 4339843 by Ben.Woodhouse

	Attempt to fix a weird possible bad merge issue

Change 4339890 by Ben.Woodhouse

	Fix a build issue
	#jira nojira

Change 4340314 by Anthony.Bills

	Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene.

	#jira UE-55159

Change 4341099 by Marcin.Undak

	Mediashader fix

	#jira UE-63650

Change 4341106 by Marcin.Undak

	QAGame: added MediaPlayer for Linux test

	#jira UE-59667
	#jira UE-62775
	#jira UE-62780

Change 4341107 by Marcin.Undak

	WebMMediaPlayer: blacklist all not supported platforms

	#jira UE-59667
	#jira UE-62775
	#jira UE-62780

Change 4341110 by Marcin.Undak

	WebMMediaPlayer: enable for Unix platforms

	#jira UE-59667
	#jira UE-62775
	#jira UE-62780

Change 4341804 by Luke.Thatcher

	[CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth.
	 - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits.

	[!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs.

	#jira none

Change 4342244 by Anthony.Bills

	[Linux] Allow restarting the crashed application from the crash report client

	#jira UE-62903

Change 4342636 by Brandon.Schaefer

	Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1

	#jira UE-63587

Change 4343420 by Marcin.Undak

	Fixed assert in console

	#jira UE-63643


Change 4345166 by Luke.Thatcher

	[CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants.
	 - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor.
	 - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization.

	[~] Also restores the original constant color values in RenderUtils.cpp

	#jira none

Change 4345860 by Arciel.Rekman

	Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743).

	#jira UE-63743

	(Edigrating 4345734 from Release-4.20)

Change 4345950 by Brandon.Schaefer

	Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash

	#jira UE-63103

Change 4350249 by David.Harvey

	helper function to retrieve an LLM tag's name, including platform tags.

Change 4351184 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/...

Change 4351593 by Ben.Woodhouse

	Clean up aggressive batching (remove xbox specific #if and //TODO)
	#jira UE-46780

Change 4351734 by James.Cobbett

	Setting TM-ShaderModels_Niagara to always load

Change 4351984 by Marcin.Undak

	QAGame: restored platform media source in TM-ShaderModels map

Change 4353508 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/...

Change 4354237 by Anthony.Bills

	[Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t.

	#jira UE-63544

Change 4354334 by Anthony.Bills

	[Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t.

	#jira UE-63544

Change 4355994 by Brandon.Schaefer

	Linux: Agree not Agreed

	#jira UE-63937

Change 4356068 by Joe.Barnes

	Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h.

	#jira ue-63877

Change 4357726 by David.Harvey

	[iOS] add clean support for device output log, after catchup.

	#jira none

Change 4357724 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/...

Change 4359634 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/...

Change 4359958 by Ben.Woodhouse

	Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason)

Change 4361108 by Anthony.Bills

	Fix webm deprecation issues with DrawPrimitiveUp.

	#jira UE-64012

Change 4361896 by James.Cobbett

	Re-saving materials so that they render correctly outside of the editor.

Change 4362262 by Anthony.Bills

	Fix for WebM video decoder crash.

	#jira UE-64025

[CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
Sorin Gradinaru
1d89a48b13 UEMOB-185 Implement the equivalent of FAndroidJSScripting for iOS
UE-59488 FWebBrowserWindow::UnbindUObject of IOSPlatformWebBrowser.cpp is not implemented yet

#jira UEMOB-185
#jira UE-59488
#4.21
#iOS
#rb Jack.Porter

New methods (using WebKit, matching the Android implementation):
- Go back/forward
- HandlePageLoading (loading/didCommitNavigation, loaded/didFinishNavigation)
- HandleReceivedError (didFailNavigation)
- execute JS code
- controlling the client using JS commands (WKWebViewConfiguration & WKUserContentController):
	- in Android we using shouldInterceptRequest to intercept a custom resource URL (JS: XMLHttpRequest.send, document.location)
	- iOS will register handlers (JS: window.webkit.messageHandlers.<FMobileJSScripting::JSMessageHandler>.postMessage)

[CL 4343824 by Sorin Gradinaru in Dev-Mobile branch]
2018-09-05 04:55:55 -04:00