Commit Graph

11 Commits

Author SHA1 Message Date
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
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
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
Ben Marsh
20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00
Ben Marsh
4ba423868f Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3209340 on 2016/11/23 by Ben.Marsh

	Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.

	Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.

	  * Every header now includes everything it needs to compile.
	        * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
	        * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
	  * Every .cpp file includes its matching .h file first.
	        * This helps validate that each header is including everything it needs to compile.
	  * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
	        * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
	        * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
	  * No engine code explicitly includes a precompiled header any more.
	        * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
	        * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.

	Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.

[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
Nick Whiting
919caf08f2 Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3094167 on 2016/08/18 by Jeff.Fisher

	UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
	-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user.  This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
	#review-3094106 @chad.taylor
	#jira UEVR-97

Change 3104799 on 2016/08/29 by Jeff.Fisher

	UEVR-178 Morpheus HMD Black crescents
	-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely.  This makes the black crescent artifacts only just visible during very fast head turning.  The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
	-Renamed the functions for setting the prediction info in the PS4Tracker.
	-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
	-Added commented out sce call to get the reprojection debug data.  Not allowed to submit an executable that calls it, but its nice to at least know where one can put it.  May improve this later.
	-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now).  It should be fine to not do it if the tracker is not functioning.
	#review-3104780 chad.taylor
	#jira UEVR-178

Change 3108423 on 2016/08/31 by Jeff.Fisher

	Morpheus Config Improvements.
	-UEVR-138 Morpheus HMD reprojection wrap mode config setting
	-Can now switch between wrap mode Mirror and ClampToBorder.  Mirror is the default.
	-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
	-Using generic project setting for bStartInVR, removed the morpheus specific one.
	#jira UEVR-138
	#review-3106999 @nick.whiting

Change 3111231 on 2016/09/01 by Jeff.Fisher

	Fixed bStartInVR ini setting.
	-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
	-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking.  Its ok that it doesn't update in that circumstance.
	#review-3111211 @ryan.vance

Change 3115196 on 2016/09/06 by Keli.Hlodversson

	#jira UEVR-128
	Map move controller Select button to Invalid, as it is always handled by the system

Change 3116425 on 2016/09/07 by Chad.Taylor

	PSVR: stereo layers implementation

Change 3116593 on 2016/09/07 by Jeff.Fisher

	UEVR-126 Morpheus HMD connect dialog cancel reactions
	-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
	-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
	-A delegate only implementation is also provided for apps that want to do something else.  This leaves the game rendering in VR mode, and fires the delegate.
	-Refactored to better separate successful HMD acquisition from stereo rendering.  This was necessary to support the delegate only option on startup.  If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data.  When an hmd is connected its values will be read.
	-Refactored to ensure reprojection starts immediately when we call StartReprojection.
	#jira UEVR-126
	#review-3116221

Change 3116754 on 2016/09/07 by Keli.Hlodversson

	bPixelDensityAdaptive is a bool and not a float property

Change 3117692 on 2016/09/08 by Jeff.Fisher

	UEVR-135 Morpheus HMD recent feature error reporting
	UEVR-173 2DVR flexibility (UTexture)
	-Error log for sceHmdReprojectionSetOutputMinColor failure.
	-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
	-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
	#jira UEVR-135
	#jira UEVR-173
	#review-3116955 @keli.hloedversson

Change 3117990 on 2016/09/08 by Jeff.Fisher

	UEVR-127 Morpheus HMD removal reaction
	-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
	#jira UEVR-127
	#review-3117968 @keli.hlodversson

Change 3120198 on 2016/09/09 by Jeff.Fisher

	MorpheusReprojector frame complete wait error log
	-Now log a warning if the sceKernalWaitEqueue returns an error.  It not a problem if this happens rarely, but something is very broken if it starts happening continuously.

Change 3121754 on 2016/09/12 by Keli.Hlodversson

	#jira UE-21878 - Also emit VR initialization analytics events in the editor.

Change 3122311 on 2016/09/12 by Nick.Whiting

	Merging fix for Adreno devices rendering black from 4.13.1

Change 3123057 on 2016/09/13 by Keli.Hlodversson

	#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.

	* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
	* If it's SetBy_Scalability, then ignore it if it equals 100
	* Else, call SetScreenPercentage using the current value

	The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.

Change 3123200 on 2016/09/13 by Chad.Taylor

	PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.

Change 3125845 on 2016/09/14 by Keli.Hlodversson

	#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.

	Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.

Change 3127293 on 2016/09/15 by Jeff.Fisher

	UEVR-225 Morpheus HMD top and bottom black crescents
	-The hidden and visible area meshes for morpheus were too restrictive.  Nudged them out a bit, no black crescents at the top and bottom of the screen.  We are rendering a few more pixels now though.
	#review-3127145 @ryan.vance
	#jira UEVR-225

Change 3130635 on 2016/09/19 by Jeff.Fisher

	UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
	-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
	-Refactored how the setting is applied so it works, and is less convoluted.
	#jira UEVR-226
	#review-3129403

Change 3131615 on 2016/09/19 by Keli.Hlodversson

	#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed

Change 3136527 on 2016/09/22 by Keli.Hlodversson

	Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.

Change 3136652 on 2016/09/22 by Keli.Hlodversson

	Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.

	#jira UE-35940

Change 3138901 on 2016/09/23 by Ryan.Vance

	Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14

Change 3141614 on 2016/09/27 by Keli.Hlodversson

	Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.

	#jira UE-32994

Change 3141948 on 2016/09/27 by Jeff.Fisher

	UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
	-Indeed it did not work.  Looks like morpheus would not accumulate the yaw, so it would be reset every frame.  I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
	#jira UEVR-242
	#review-3141933 keli.hlodversson

Change 3143484 on 2016/09/28 by Nick.Whiting

	Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers

Change 3143517 on 2016/09/28 by Chad.Taylor

	Merging PS4Tracker fixes from  Release-4.13 into Dev-VR

Change 3143805 on 2016/09/28 by Keli.Hlodversson

	#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE

Change 3143943 on 2016/09/28 by Nick.Whiting

	Merging latest drop from OSVR

Change 3144221 on 2016/09/28 by Keli.Hlodversson

	Implement GetTrackingSensorProperties on PS4
	#jira UE-32994

Change 3144352 on 2016/09/28 by Ryan.Vance

	Initial implementation of mobile multi-view.
	This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.

Change 3144585 on 2016/09/29 by Jeff.Fisher

	UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
	-Enum setting added for the three frame sequences.
	-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails.  This works, but its dubious.
	-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
	-Defaulting to 60/120.
	#jira UEVR-14
	#review-3143486 chad.taylor nick.whiting

Change 3145263 on 2016/09/29 by Nick.Whiting

	Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang

Change 3145536 on 2016/09/29 by Nick.Whiting

	Fixes for project files to prevent mystery pop up from CAPI

Change 3145663 on 2016/09/29 by Keli.Hlodversson

	PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.

Change 3145670 on 2016/09/29 by Keli.Hlodversson

	For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front

Change 3145687 on 2016/09/29 by Chad.Taylor

	VR splash screen support

[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
Ben Marsh
3e80336791 Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3092544)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3079316 on 2016/08/05 by Ben.Marsh

	Better PCH selection in ShaderFormatOpenGL and MetalShaderFormat - make sure Core is the first included header.

Change 3080579 on 2016/08/08 by Ben.Marsh

	Slate: Move DEBUG_TAB_MANAGEMENT into SDockingTabStack.h to remove circular include dependency with DockingPrivate.h.

Change 3080587 on 2016/08/08 by Ben.Marsh

	StandaloneRenderer: Move platform includes into a separate header so we can make individual headers self-contained, without having a circular dependency on StandaloneRendererPrivate.h.

Change 3080789 on 2016/08/08 by Ben.Marsh

	Move BuildGraph tasks for chunking, posting builds, labeling builds, and merging manifests into the MCP project. While we do provide public interfaces for this functionality, we don't currently expect anyone outside Epic to be using them.

Change 3080815 on 2016/08/08 by Ben.Marsh

	BuildGraph: Add a -GenerateDocs option, which writes out an HTML file constructed from C# XML documentation containing all the task information.

Change 3081374 on 2016/08/08 by Ben.Marsh

	UBT: Invalidate the makefile if any UHT headers are deleted. Should fix issue where files are moved from one module to another, and the original module no longer contains any generated headers. Its include path needs to be removed from the compile environment.

Change 3083152 on 2016/08/09 by Ben.Marsh

	PR #2667: Add Intel C++ Compiler support to Windows build (Contributed by JeffRous)

Change 3084039 on 2016/08/10 by Ben.Marsh

	BuildGraph: Add additional markup for parameter attributes. Also improve some documation.

Change 3084240 on 2016/08/10 by Ben.Marsh

	Plugins: Allow plugins in the project folder to replace plugins in the engine folder with the same name. Prohibit multiple plugins with the same name at other times.

Change 3084337 on 2016/08/10 by Ben.Marsh

	UBT: Specify the -precompile option when generating project files for a target, so we include all valid modules for intellisense.

Change 3085594 on 2016/08/11 by Ben.Marsh

	Change modules which reference a public header for their PCH to use a private PCH instead, even if it just includes the public header for now.

Change 3085999 on 2016/08/11 by Ben.Marsh

	Add some missing #pragma once directives.

Change 3086146 on 2016/08/11 by Ben.Marsh

	Core: Move prototype and linkage specifier for ConsoleCommandLibrary_* functions into header matching cpp file.

Change 3086172 on 2016/08/11 by Ben.Marsh

	Fixup some C-style header guards to use #pragma once instead.

Change 3087289 on 2016/08/12 by Ben.Marsh

	Split out UPackage and UMetaData into their own headers (they're already implemented in separate CPP files)

Change 3087310 on 2016/08/12 by Ben.Marsh

	Move method stubs for FNullSlateSoundDevice into a CPP file, since they're exported from the SlateCore module.

Change 3087341 on 2016/08/12 by Ben.Marsh

	UdpMessaging: Move PCH before #if PLATFORM_DESKTOP; it will only be defined if the definition is included.

Change 3087457 on 2016/08/12 by Ben.Marsh

	Core: Reorganize the FTransform and FMatrix headers: Transform.h now includes TransformNonVectorized.h or TransformVectorized.h as appropriate, and UnrealMatrix.h is now Matrix.inl (and included from Matrix.h).

Change 3088407 on 2016/08/13 by Ben.Marsh

	Replace use of Windows SIZE_T define with the regular C++ size_t.

Change 3088416 on 2016/08/13 by Ben.Marsh

	Include a header from all .generated.cpp files (GeneratedCppIncludes.h) which includes all the basic types required to compile them, rather than assuming that the module PCH will include everything.

	Also include the real declarations of noexport classes in Object.h (now renamed to NoExportTypes.h for clarity) when the CPP macro is defined, so the .generated.deps.h file will automatically have the correct definitions for them at compile time rather than relying on them being in the private PCH.

	Finally, rename UObject.h to Object.h for consistency with the naming convention for all other UObject classes. UObject.h still exists for now, but outputs a deprecated message if included.

Change 3088544 on 2016/08/14 by Ben.Marsh

	Core: Move the definition of the TEXT() macro into Platform.h, to avoid having to include OS headers to get it.

Change 3088552 on 2016/08/14 by Ben.Marsh

	Fix compile errors for some modules that don't already include CoreUObject.h.

Change 3088925 on 2016/08/15 by Ben.Marsh

	Remove circular include dependencies from VulkanRHI.

Change 3088926 on 2016/08/15 by Ben.Marsh

	Remove duplicate definition for WITH_FIXED_AREA_ENTERING_COST from EngineDefines.h - always uses the definition from DetourNavMeshQuery.h instead.

Change 3088930 on 2016/08/15 by Ben.Marsh

	Remove circular include dependency from PhysX.

Change 3088935 on 2016/08/15 by Ben.Marsh

	OnlineSubsystemUtils: Move CPP files out of public header directory.

Change 3088965 on 2016/08/15 by Ben.Marsh

	Add private PCH to Landscape, MoviePlayer, TaskGraph, XAudio2 and RealtimeProfiler modules.

Change 3088966 on 2016/08/15 by Ben.Marsh

	Engine: Move CPP files out of public header directories.

Change 3089520 on 2016/08/15 by Ben.Marsh

	BuildGraph: Change documentation command to output markdown.

Change 3090299 on 2016/08/16 by Ben.Marsh

	D3D12RHI: Move around some implementations to fix circular header dependencies which are masked by delayed template instantiation.

Change 3090303 on 2016/08/16 by Ben.Marsh

	Engine: Add a template specialization for TPointerIsConvertibleFromTo<AActor, const volatile UObject> to fix dependency on complete AActor definition for static assert in TWeakPointer<AActor>, which only appears if including Level.h without Actor.h. Delayed template instantiation usually masks this issue.

Change 3091861 on 2016/08/17 by Ben.Marsh

	Remove circular header dependencies, and fix ambiguous include paths in OSVR.

Change 3092068 on 2016/08/17 by Ben.Marsh

	Moving VulkanDynamicRHI into its own header.

Change 3093133 on 2016/08/18 by Ben.Marsh

	EC: Include additional context lines for Clang errors.

Change 3093147 on 2016/08/18 by Ben.Marsh

	UBT: Add an error message when attempting to do a single-file compile with the wrong target selected.

Change 3093228 on 2016/08/18 by Ben.Marsh

	Remove redundant setting for remote server name from XML config, and set it to a valid machine in the engine config.

[CL 3093264 by Ben Marsh in Main branch]
2016-08-18 10:28:43 -04:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Marcus Wassmer
bab3c9593b Tick movie player at a higher frequency for smoother playback.
Also fix  tearing issues with PS4 movie playback.
#codereview matt.kuhlenschmidt,lee.clark

[CL 2587822 by Marcus Wassmer in Main branch]
2015-06-15 16:35:54 -04:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00