#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]
#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]
#lockdown nick.penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2771498 on 2015/11/18 by Rolando.Caloca
DevRendering - HlslParser - Do not crash if an unknown preprocessor directive is found; add proper support for #pragma
#codereview Marcus.Wassmer
Change 2771600 on 2015/11/18 by Rolando.Caloca
DevRendering - SCW - Added support for running the platform shader compiler for one usf file off the dumped usf
Usage:
ShaderCompileWorker -directcompile FILENAME.USF -entry=EntryPoint -format=PCD3D_SM5/SF_PS4/etc -vs/-ps/-gs/-hs/-ds/-cs
-Also removed old communication enum from SCW
#rb Daniel.Wright
Change 2771647 on 2015/11/18 by Rolando.Caloca
DevRendering - HlslParser - Refactored removed unused outputs code in prep for reusing a lot of this code
- Entry point string now gets modified to the optimized one
- Fixed parser allocator when requesting pages bigger than PageSize
#rb Chris.Bunner
Change 2772133 on 2015/11/18 by Chris.Bunner
Removed physics shape type zeroing on Speedtree import. UE-23285
#rb Ori.Cohen
Change 2772225 on 2015/11/18 by Rolando.Caloca
DevRendering - Hlsl - Support for removing unused inputs on pixel shaders
- Fix some shadow variable warnings
#rb Chris.Bunner, Nick.Penwarden
Change 2772469 on 2015/11/18 by Daniel.Wright
Fixed SCW always exiting after compiling a long shader, now checks idle time starting from the end of the last compile task
Automated smoke tests aren't run in standalone programs which are frequently launched as they increase the startup time (doubles startup time of SCW as shown in sampling profile)
#rb Rolando.Caloca
Change 2772471 on 2015/11/18 by Daniel.Wright
Particle SubUV cutouts
* A new asset type 'SubUV Animation' precomputes bounding geometry for every frame of a SubUV texture animation.
* Particle emitters with a SubUV module can then use this SubUV Animation to render with much tigher bounding geometry to reduce overdraw.
* GPU performance savings depend on how much empty space (zero alpha) existed in the texture. Measured a reduction of 2-3x GPU time on a smoke effect.
* This only works if the material does not modify opacity to reveal areas with zero texture alpha
Change 2772483 on 2015/11/18 by Marcus.Wassmer
Filtering options on UnrealPak -list
#rb Josh.Adams
Change 2772644 on 2015/11/18 by Daniel.Wright
Integrate - Temporal AA dithering is only enabled if outputting to a low precision format
#rb Nick.Penwarden
Change 2773336 on 2015/11/19 by Rolando.Caloca
DevRendering - PS4 shaders - Added input/output attribute information when r.PS4StripExtraShaderBinaryData=0
#rb Marcus.Wassmer
Change 2773476 on 2015/11/19 by Rolando.Caloca
DevRendering - PS4 Shader attribute export stats
Run using r.PS4DumpExportStats 1 in the console
- Also fixed non-vertex shaders not getting optional data
#codereview Marcus.Wassmer
Change 2773865 on 2015/11/19 by Gil.Gribb
UE4 - Added an FName churn tracker.
Change 2773900 on 2015/11/19 by Rolando.Caloca
DevRendering - Fix sharing shaders for material & mesh shaders
#rb Marcus.Wassmer
Change 2774277 on 2015/11/19 by Gil.Gribb
UE4 - Did minor optimizations to the PS4 RHI and drawlists.
Change 2774421 on 2015/11/19 by Olaf.Piesche
Fix#2 for UE-23325 - separate translucency materials don't show in static mesh editor
#codereview Martin.Mittring
Change 2774447 on 2015/11/19 by Rolando.Caloca
DevRendering - Velocity and Depth shader pipelines
#rb Marcus.Wassmer
Change 2774603 on 2015/11/19 by Marcus.Wassmer
Windowed vsync for ps4
#rb Rolando.Caloca
Change 2775650 on 2015/11/20 by Rolando.Caloca
DevRendering - Added two utility overloads per UDN suggestion
#codereview Gil.Gribb
Change 2775798 on 2015/11/20 by David.Hill
Adding a new AutoExposure method
#rb Martin.Mittring
Change 2776345 on 2015/11/20 by Daniel.Wright
Capsule shadows for movable skylight
* Gathers capsule occlusion along the unoccluded sky cone computed by Distance Field Ambient Occlusion
* Requires DFAO to be enabled at the moment
* Some serious artifacts remaining in indoor scenarios, as the unoccluded sky direction is not continuous
Change 2777033 on 2015/11/22 by Uriel.Doyon
Enabled SceneTextures node validation when material domain is DeferredDecal
#review Martin.Mittring
#jira UE-23141
Change 2778618 on 2015/11/23 by Daniel.Wright
#lockdown Ben.Marsh
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2762805 on 2015/11/11 by Bob.Tellez
#UE4 Material editor optimization. FindShaderTypeByName now uses the precreated map to look up types by name. Also changed GetRepresentativeShaderTypesAndDescriptions to return a map.
#rb Daniel.Wright
Change 2763372 on 2015/11/11 by Marcus.Wassmer
Auto events around ComputeFenceWaits
No transition ensure in parallel mode.
#rb Rolando.Caloca
Change 2764204 on 2015/11/12 by Rolando.Caloca
DevRendering - Removed reference counting on pipelines as it's not needed
- Shadermap of shader types no longer owns the unique shaders per pipeline, the pipelines do
- Added shader pipeline dependencies and shortened ddc entry
- Dumped stats now show # shared pipelines
- Added IMPLEMENT_SHADERPIPELINE_TYPE_* macros
#rb Marcus.Wassmer
Change 2764409 on 2015/11/12 by Marcus.Wassmer
Event based GPU frame waiting.
#rb Gil.Gribb
Change 2764474 on 2015/11/12 by Gil.Gribb
UE4 - Optimize speed tree stuff in FLocalVertexFactory::SetMesh
Change 2765900 on 2015/11/13 by Marcus.Wassmer
Move PS4 system event checking onto a task thread. Saves ~.1ms on gamethread
#rb Lee.Clark
Change 2768478 on 2015/11/16 by Marcus.Wassmer
Remove flushes when locking single-mip 2d textures for writeonly on PS4
#rb Gil.Gribb
#codereview Lee.Clark
Change 2769532 on 2015/11/17 by Chris.Bunner
Discard outdated vertex paint data when loading static mesh components. UE-22603
#rb Rolando.Caloca
Change 2770002 on 2015/11/17 by Rolando.Caloca
DevRendering - Prep for reentrant calls for D3D & PS4 shader compilers
- Added r.D3DDumpAMDCodeXLFile to enable writing out a batch file for AMD cards (it was always generating this, now it's optional) - defaults to 1, enabled
- Added r.D3DCheckShadersForDouble to enable checking for doubles when compiling shaders, speeds up a tiny bit when disabling - defaults to 1, enabled
- Fixed PS4's InitFastMathDetection(), was always testing for this
#rb Marcus.Wassmer
#codereview Lee.Clark
Change 2770103 on 2015/11/17 by Daniel.Wright
Added SourceCubemapAngle to sky lights, so the incoming lighting can be rotated
[CL 2771408 by Nick Penwarden in Main branch]
- Add interpolation modifiers
- Ignore #pragma
- Fix for strings in attributes
- Do translation units separately
[CL 2469349 by Rolando Caloca in Main branch]