Commit Graph

50 Commits

Author SHA1 Message Date
Chris Babcock
2b886e2c93 Copying //UE4/Dev-Mobile to //UE4/Main (Source: //UE4/Dev-Mobile @ 2945914)
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2911743 on 2016/03/16 by Allan.Bentham

	Fix broken tonemapper when using 32bpp encoded HDR. Fixes UE-28359
	Cleaned up some ronin integration hacks from ronin.

Change 2912053 on 2016/03/16 by Peter.Sauerbrei

	disable Vulkan in Win32 builds for now
	#codereview rolando.caloca
	#jira UE-28465

Change 2914512 on 2016/03/18 by Dmitriy.Dyomin

	Fixed crash on Nexus5 with Android 4.4.2 when TonemapperFilm is enabled

Change 2914944 on 2016/03/18 by Allan.Bentham

	Fix es2 tonemap flip. Fixes UE-25148

Change 2915248 on 2016/03/18 by Chris.Babcock

	Updates to support NDK r11
	#jira UE-28529
	#ue4
	#android

Change 2919192 on 2016/03/22 by Chris.Babcock

	NDK level set above 19 forces minSdkVersion to 21 or above to prevent installing on unsupported devices
	#jira UE-28408
	#ue4
	#android
	#codereview Jack.Porter

Change 2919591 on 2016/03/23 by Allan.Bentham

	Merge ronin's Gaussian DoF to 4.11's dof changes.

	Gaussian DoF will use a single recombine pass with ES31 devices or if no separate translucency is used on SM4+.
	Added permutation to exclude separate translucency from Gaussian recombine shader when not in use.

	#codereview martin.mittring

Change 2920758 on 2016/03/24 by Dmitriy.Dyomin

	Fixed: shifting lighting samples octree
	https://udn.unrealengine.com/questions/276026/lighting-samples-visualization-not-working-with-le.html

Change 2920793 on 2016/03/24 by Dmitriy.Dyomin

	Fixed: When sub-level set to be unloaded but with visbility state set to true, ULevelStreaming::IsStreamingStatePending returns wrong value
	#jira UE-26426

Change 2920981 on 2016/03/24 by Dmitriy.Dyomin

	GPU particles support for iOS Metal (A8+ only)
	#jira UE-11067
	#jira UE-28514
	#codereview Jack.Porter

Change 2921383 on 2016/03/24 by Allan.Bentham

	Fix inverted image on device when framebuffer fetch/bViewRectSource is not used.
	#codereview jack.porter

Change 2925694 on 2016/03/29 by Dmitriy.Dyomin

	Fixed: GPU particles and bloom on S7 Mali

Change 2927065 on 2016/03/29 by Chris.Babcock

	Set the DT_SONAME field in linker (stops warning toast)
	#ue4
	#android
	#codereview Jack.Porter

Change 2927375 on 2016/03/30 by Jack.Porter

	Fixed localization for placement mode Cube, Sphere, Cylinder and Cone

Change 2928643 on 2016/03/30 by Jack.Porter

	Fixed bug introdued by Ronin merge with DepthOfFieldScale setting being locked for BokehDOF

	#code_review: allan.bentham

Change 2932773 on 2016/04/04 by Jack.Porter

	Reapply android Vulkan version fixes

Change 2932853 on 2016/04/05 by Jack.Porter

	Enable VULKAN_CLEAR_SURFACE_ON_CREATE on Android to prevent assertion

Change 2932998 on 2016/04/05 by Jack.Porter

	Native web browser widget on iOS

	#jira UEMOB-20

Change 2933420 on 2016/04/05 by Chris.Babcock

	Removed hard-coded bUseUnityBuild in UBT for Android (contributed by kosz78)
	#jira UE-29066
	#pr #2236
	#ue4
	#android

Change 2934315 on 2016/04/05 by Chris.Babcock

	Allow Android to act as server with OnlineSubsystemNull (contributed by psychogony)
	#jira UE-23937
	#PR #1820
	#ue4
	#android
	#codereview Ryan.Gerleve

Change 2935038 on 2016/04/06 by Chris.Babcock

	Fix OpenGLES31 compile error
	#ue4
	#android
	#codereview Jack.Porter

Change 2936288 on 2016/04/07 by Allan.Bentham

	Planar reflection captures for mobile. (UE-27426)
	Added mobile planar reflection flag to material.

	#codereview jack.porter, daniel.wright

Change 2936297 on 2016/04/07 by Allan.Bentham

	Missed file. Planar reflection captures for mobile. (UE-27426)
	#codereview jack.porter, daniel.wright

Change 2937763 on 2016/04/08 by Dmitriy.Dyomin

	Fix InstancedStaticMesh batches for ES2 (contributed by Grimmick)
	GitHub #2031
	#jira UE-26576
	#codereview Jack.Porter

Change 2937863 on 2016/04/08 by Jack.Porter

	Merged Ronin CLs 2840392, 2860028

	Allow vertex texture fetches on ES2 (requires absolute mip level)

Change 2938461 on 2016/04/08 by Chris.Babcock

	Write Android uninstall batch files
	#ue4
	#android

Change 2939679 on 2016/04/11 by Allan.Bentham

	Remove bStationaryLightUsesCSMForMovableShadows from light component's UI.
	renamed proxy equivalent and infer its state from Inset Shadows For Movable Objects

	#codereview jack.porter, daniel.wright

Change 2939887 on 2016/04/11 by Chris.Babcock

	Android ARM64 libraries
	#jira UEPLAT-1268
	#ue4
	#android

Change 2940125 on 2016/04/11 by Chris.Babcock

	Added requirements to Arm64 and x86_64 tooltips

Change 2941051 on 2016/04/12 by Allan.Bentham

	Fix for inverted RG channels when using filmic tonemapper with ES2.
	#codereview jack.porter

Change 2942523 on 2016/04/13 by Chris.Babcock

	Add cxa_demangle build.cs instead of hiding dependency in UEBuildAndroid.cs
	#ue4
	#android
	#codereview Josh.Adams

Change 2942578 on 2016/04/13 by Chris.Babcock

	Add cxademangle dependency to Core for Android
	#ue4
	#android
	#codereview Josh.Adams

Change 2942997 on 2016/04/13 by Chris.Babcock

	Run Ant with -quiet first and run again without if there is an error for the log
	#ue4
	#android
	#codereview Josh.Adams

Change 2943320 on 2016/04/14 by Jack.Porter

	Fixed planar reflection merge errors

Change 2943352 on 2016/04/14 by Jack.Porter

	Fix NAME_VULKAN_ES3_1_ANDROID shader format name

	#codereview: Rolando.Coloca

Change 2943367 on 2016/04/14 by Dmitriy.Dyomin

	Added cvars to add or strip specific GL extensions from a driver reported extensions string
	#jira UE-29467

Change 2943425 on 2016/04/14 by Dmitriy.Dyomin

	Better logging of MobileHDR mode

Change 2943461 on 2016/04/14 by Dmitriy.Dyomin

	Fixing HDR rendering and bloom on Galaxy S7

Change 2943493 on 2016/04/14 by Dmitriy.Dyomin

	Better HDR fix for devices with ES3 support

Change 2943855 on 2016/04/14 by Allan.Bentham

	Mobile planar reflections.
	 - currently only supports opaque materials
	#codereview jack.porter

Change 2944721 on 2016/04/14 by Chris.Babcock

	Allow Vulkan-only Android builds
	#ue4
	#android
	#codereview Allan.Bentham,Jack.Porter

Change 2944771 on 2016/04/14 by Dmitriy.Dyomin

	Fixed: mesh particles crash in ES2

Change 2944827 on 2016/04/15 by Dmitriy.Dyomin

	Fixed: GPU particles not working on S6 with Android 6.0.1

Change 2944836 on 2016/04/15 by Jack.Porter

	Disable FX system calls in forward renderer when particles showflag is off

Change 2944840 on 2016/04/15 by Jack.Porter

	Re-enabled non-radial TDeferredLightVS on ES2 for planar and put  #if FEATURE_LEVEL >= FEATURE_LEVEL_SM4  around the radial shader code which was tripping up ES2.

	#codereview: Allan.Bentham, Chris.Babcock, Daniel.Wright

Change 2944914 on 2016/04/15 by Jack.Porter

	Device profiles to detect Galaxy S7 Mali and Adreno variants in Vulkan mode

Change 2945020 on 2016/04/15 by Gareth.Martin

	Cloning changes across from Dev-Landscape to Dev-Mobile due to feature deadline for 4.12.

	Change 2943560 on 2016/04/14 by Gareth.Martin

	        Added ability to expand landscape bounds
	        #jira UE-28928
	        #jira UE-25230

	Change 2943538 on 2016/04/14 by Gareth.Martin

	        Fix a crash with saving a level >2GB in size.
	        There may still be other crashes with >2GB levels.

	Change 2943477 on 2016/04/14 by Gareth.Martin

	        Fixed LODFalloff setting on landscape getting reset when using the "Change Landscape Component Size" tool
	        Also moved all the LOD settings together in LandscapeProxy.h because it was messy

	Change 2942113 on 2016/04/13 by Gareth.Martin

	        Updating comment to clarify behaviour of Foliage Align-To-Normal when Random-Yaw is disabled.

	Change 2941030 on 2016/04/12 by Gareth.Martin

	        Cleanup and commenting

	Change 2940994 on 2016/04/12 by Gareth.Martin

	        Implement random scale option for Landscape Grass.
	        #jira UE-25743

	Change 2940993 on 2016/04/12 by Gareth.Martin

	        Remove unused BuildFlatTree function from HierarchicalInstancedStaticMeshComponent

	Change 2940150 on 2016/04/11 by Gareth.Martin

	        Harden UHierarchicalInstancedStaticMeshComponent::UpdateInstanceTransform

	Change 2940101 on 2016/04/11 by Gareth.Martin

	        Additional checks for bad static mesh when building the HISMC tree

Change 2945560 on 2016/04/15 by Rolando.Caloca

	DM - Fix for newer Vulkan sdks

Change 2945638 on 2016/04/15 by Chris.Babcock

	Fix permissions on uninstall script on Mac
	#jira UE-29236
	#ue4
	#android
	#lockdown Jack.Porter

Change 2945856 on 2016/04/15 by Rolando.Caloca

	DM - vk - Fix mapped allocations on mobile

#lockdown nick.penwarden

[CL 2945995 by Chris Babcock in Main branch]
2016-04-15 18:19:26 -04:00
Josh Adams
d81e0f1653 Copying //UE4/Dev-Platform to //UE4/Main (Source: //UE4/Dev-Platform @ 2945165)
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2731596 on 2015/10/16 by Keith.Judge

	Fast Semantics - Add deferred resource deletion queue to make deleted resources be actually deleted a number of frames later so that the GPU is definitely finished with them. Hooked up the temporary SRVs for dynamic VBs as a first step.

Change 2764244 on 2015/11/12 by Keith.Judge

	Stop creating/deleting SRVs for dynamic buffers all the time. Instead add a new view when a new buffer is cycled and keep them around until the buffer is dead.

Change 2936695 on 2016/04/07 by Mark.Satterthwaite

	Disable Metal on Mac OS X versions prior to 10.11.4 because their drivers are too buggy and lots of issues users will encounter were fixed in 10.11.4.

Change 2936701 on 2016/04/07 by Mark.Satterthwaite

	Re-enable DistanceFieldAO on Mac Metal, but disable the support for Heightfield composition into the DistanceFieldAO as that currently requires Read+Write texture support which isn't present in Metal yet.

Change 2936702 on 2016/04/07 by Mark.Satterthwaite

	Enable capsule shadows on Metal SM5 for Mac Paragon.

Change 2936704 on 2016/04/07 by Mark.Satterthwaite

	Re-add Metal_MacES3_1 entries in RHIDefinition functions - not quite sure how they disappeared...

Change 2936706 on 2016/04/07 by Mark.Satterthwaite

	Fix implementation of BeginRenderingPrePass to only clear the depth+stencil buffers when it is asked to - this fixes LOD fading in Paragon on Mac when parallel execution is enabled. The parallel contexts were being instructed to clear the pre-pass data which was then fouling up all the subsequent rendering.

Change 2936708 on 2016/04/07 by Mark.Satterthwaite

	Extend workaround from 2905206 for UE-27818 to Metal as well as OpenGL - it isn't permissable to have an unbound resource on these APIs as you aren't allowed to make the assumption than an if-branch will protect against null dereference on the GPU.

Change 2936737 on 2016/04/07 by Mark.Satterthwaite

	Changes to reduce Metal's peak memory usage when streaming texture data in when loading levels:
	- When uploading data to Shared memory Metal textures dispose of the source buffer immediately as it won't be required after the call to replaceRegion.
	- Add an optional CVar ("rhi.Metal.MaxOutstandingAsyncTexUploads") and keep a count of outstanding async. texture uploads - really this might be better as a memory count - if teh current outstanding count is greater than the specified CVar wait for all operations to complete before purging the used buffers. By default the CVar is set to 0 which disables the tracking and the game will use all available memory.

Change 2936741 on 2016/04/07 by Mark.Satterthwaite

	For Metal don't use a texture-view unless the mip-range or texture format is different - we only create a texture-view if we absolutely have to in order to avoid performance reductions on some vendors. When this happens we'll have to update the SRV to point to the new source texture but that can be handled on bind.

Change 2936753 on 2016/04/07 by Mark.Satterthwaite

	Mutex the pipeline cache inside each Metal bound-shader-state - with parallel execution this can be modified from multiple threads.

Change 2936758 on 2016/04/07 by Mark.Satterthwaite

	Don't eliminate redundant Metal command-encoders on Intel either - this only seems to work correctly on AMD...

Change 2936762 on 2016/04/07 by Mark.Satterthwaite

	Validate that parallel contexts aren't asked to clear render-targets (incl depth/stencil) as this won't work as desired - each context will end up clearing the contents meaning none of the rendering will propagate which is probably not what you intend.

Change 2936765 on 2016/04/07 by Mark.Satterthwaite

	Fix alignment of blit-commands between textures & buffers in Metal. Mac Metal has no minimum alignment and allows tightly packed rows, but mobile H/W has a fixed row alignment of 64-bytes for linear texture data.

Change 2936767 on 2016/04/07 by Mark.Satterthwaite

	Remove the workaround for old Mac OS X AMD cards not supporting frame-buffer sRGB - I have a feeling it causes more problems than it solves.

Change 2936773 on 2016/04/07 by Mark.Satterthwaite

	Warn the user when trying to run on OpenGL 3.2 GPUs that they are running unsupported and there may be rendering errors and performance problems.

Change 2936777 on 2016/04/07 by Mark.Satterthwaite

	In MetalRHI move the calls that reset the state-cache and command-encoder to EndFrame and fix the fallout. Hopefully this will eliminate the problem where a draw call fails because a call to SetRenderTargets hasn't been made since the last time the command-buffer was submitted.

Change 2936788 on 2016/04/07 by Daniel.Lamb

	PR #2193: Commandlet tweaks: Fixup Redirects and Cook-on-the-fly Server (Contributed by FineRedMist)

Change 2936799 on 2016/04/07 by Mark.Satterthwaite

	Automatically enable RHI thread support in Metal if parallel execution is compiled in unless running the Editor which doesn't support it. The RHI thread is only enabled in Metal when parallel execution is available because there's little to no advantages to the RHI thread with Metal unless parallel execution is enabled. Also only enable async compute support when parallel execution is available and running on an AMD GPU as only AMD support it and again its only really useful when running things in parallel. Disable the async. compute fencing code when async. compute is disabled.

Change 2936923 on 2016/04/07 by Peter.Sauerbrei

	add exception when trying to access an ini section which we don't cache

Change 2937839 on 2016/04/08 by Lee.Clark

	PS4 - BC6H and BC7 support

	#jira OR-14804

Change 2937841 on 2016/04/08 by Lee.Clark

	Fix media player not opening the same file that has just been closed.

Change 2937843 on 2016/04/08 by Lee.Clark

	PS4 - Fix Media player seek and duration

Change 2938272 on 2016/04/08 by Mark.Satterthwaite

	Change the Metal texture lock/unlock code to use the immediate getBytes API to read from the texture unless it is stored in Private memory and requires we use the blit-encoder. This means iOS texture locking won't generally need to use the blit encoder with its row alignment restrictions as all textures will be Shared. On Mac most textures will still be accessed via blit operations  since Private memory is much more common than Managed.

Change 2938471 on 2016/04/08 by Nick.Shin

	load/save with "negative char size value" fixed

	two 'U''s were missing-- causing base64encoder and decoder to not return original data (or expected data for that matter)...

	C++ function shows these signatures:
	    \Engine\Source\Runtime\Engine\Public\SaveGameSystem.h
	    FGenericSaveGameSystem::SaveGame(..., ..., ..., ...<uint8>);
	    FGenericSaveGameSystem::LoadGame(..., ..., ..., ...<uint8>);

	javascript version was using signed operators...

	answerhub 386719 - broken load/save

Change 2938546 on 2016/04/08 by Nick.Shin

	upgrading zlib, openssl, libcurl & libwebsockets
	(part 1, for libwebsockets -- engine changes will be in part 2)

	and writting down all of the build instructions into a single script file

	future tasks may have the script broken to smaller sized files and placed in the respective library folders for simplicity -- for now, it's bundled together to ensure build is all-in-one...

	#jira UEPLAT-1246 - Update libWebsockets
	#jira UEPLAT-1221 - update websocket library
	#jira UEPLAT-1223 - Arrange testing for 'update websocket library'
	#jira UEPLAT-1203 - Add Linux library for libwebsockets
	#jira UEPLAT-1204 - Rebuild libwebsockets with SSL

Change 2939402 on 2016/04/11 by Mark.Satterthwaite

	No need to call synchroniseTexture on iOS when locking a texture for read - that function call is only available and required on OS X.

Change 2939526 on 2016/04/11 by Daniel.Lamb

	Don't mark content as modified when garbage collecting.
	#PR2249
	#2249

Change 2940094 on 2016/04/11 by Michael.Trepka

	Temporarily rollback //UE4/Dev-Platform/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalContext.cpp to revision 47 to unblock UE-29312

	#codereview Mark.Satterthwaite

Change 2940540 on 2016/04/12 by Jeff.Campeau

	Hardware decompress support for Xbox One.

Change 2940793 on 2016/04/12 by Lee.Clark

	PS4 - Fix file handle leaks

	#codereview Marcus.Wassmer

Change 2940903 on 2016/04/12 by Keith.Judge

	Xbox One - Fix validated driver warning when using async compute with dynamic buffers (remove dynamic buffers).
	Also resurrected the old deferred deletion queue (though simplified the code a lot as TQueue was horrible), as the platform agnostic one can't deal with placement created resources with a separate buffer/resource.
	Moved associated deferred deletion logic out of FD3D11DynamicBuffer.

	Attempted fix for UE-28758, but doesn't actually fix it. :(

Change 2940959 on 2016/04/12 by Michael.Trepka

	Moved RadioEffectUnit CoreAudio plugin to Engine/Build/Mac

	#codereview Ben.Marsh

Change 2940961 on 2016/04/12 by Michael.Trepka

	Updated GitHub readme for Mac with instructions for building ShaderCompileWorker

	#codereview Ben.Marsh

Change 2941010 on 2016/04/12 by Daniel.Lamb

	Added xboxone.projectsettings to the ini processer in UAT.
	#codereview Peter.Sauerbrei
	#jira UE-29344

Change 2941671 on 2016/04/12 by Jeff.Campeau

	March 2016 XDK update

Change 2941998 on 2016/04/13 by Mark.Satterthwaite

	In MetalCommandList retain/release when waiting on a command-buffer commit to ensure command-buffer lifetime.

Change 2942008 on 2016/04/13 by Keith.Judge

	Fix black reflections when async compute is enabled. Shader resource tables are now properly bound on the context, and fixed a bug where the buffer offset and number of constants wasn't being properly set when using the ring buffer.

	#jira UE-28758

Change 2942046 on 2016/04/13 by Lee.Clark

	Fix SN-DBS launch failure with VS2015 - (path env seems to be null in 2015)

Change 2942095 on 2016/04/13 by Mark.Satterthwaite

	MIssed a change to use AlignedStride rather than Stride in FMetalDynamicRHI::RHIReadSurfaceFloatData to fix iOS blit-encoder read-back.

Change 2942383 on 2016/04/13 by Mark.Satterthwaite

	When locking a Metal texture on Mac you have to submit the command buffer & wait in a different location for Private vs. Managed access.

Change 2942419 on 2016/04/13 by Michael.Trepka

	Enabled IPv6 on iOS and Mac

	#jira UEPLAT-1168

Change 2942472 on 2016/04/13 by Daniel.Lamb

	Fixed missing OnlineSubsystemGooglePlay section from UAT ini processing.
	#codereview Peter.Sauerbrei

Change 2942829 on 2016/04/13 by Nick.Shin

	removing unused emscripten - ThirdParty folder

	the ThirdParty folder contained a lot of GPL (and sometimes missing) licensing projects - removing to keep legal happy

	tested with full rebuild, full cook, packaging and running QAGame

Change 2943110 on 2016/04/13 by Chris.Babcock

	Fix Oculus mobile binaries filtered (include the jars)
	#jira ue-29080
	#ue4
	#android
	#gearvr
	#codereview Nick.Whiting

Change 2943111 on 2016/04/13 by Chris.Babcock

	Fix GearVR plugin jar copy logic
	#jira UE-29108
	#ue4
	#android
	#gearvr
	#codereview Nick.Whiting

Change 2943579 on 2016/04/14 by Peter.Sauerbrei

	enable tvOS in the binary build

Change 2943587 on 2016/04/14 by Peter.Sauerbrei

	creation of xcode archives when using the archive command with iOS

Change 2943619 on 2016/04/14 by Mark.Satterthwaite

	Make Metal SM4 the default on Mac again for the 4.12 release. As expected there are many bugs to resolve.

Change 2943869 on 2016/04/14 by Daniel.Lamb

	Turned duplicate stage of files into warning.
	#codereview Peter.Sauerbrei
	#lockdown Josh.Adams
	#jira UE-29487

Change 2943901 on 2016/04/14 by Keith.Judge

	Xbox One - Fix start up crash.

	#lockdown Josh.Adams

Change 2943981 on 2016/04/14 by Mark.Satterthwaite

	Allow RWBuffers in Metal, which should work, but not RWTextures which aren't yet supported.
	#jira UE-29492
	#lockdown josh.adams

Change 2944080 on 2016/04/14 by Peter.Sauerbrei

	temporarily remove code which removes passwords in ini files which reside in the pak file
	multiple defaultengine.ini files were being copied over one another
	#lockdown josh.adams

Change 2944249 on 2016/04/14 by Peter.Sauerbrei

	fix for writing out DefaulEngine.ini when deprecated items are not changed
	#codereview zabir.hoque
	#lockdown josh.adams

Change 2944454 on 2016/04/14 by Peter.Sauerbrei

	fix for incorrect archive directory and missing IPA
	#jira UE-29509
	#lockdown josh.adams

Change 2944834 on 2016/04/15 by Peter.Sauerbrei

	fix for crash on some iOS device due to resources being freed while still in use by the GPU
	#jira UE-29517
	#lockdown josh.adams

Change 2944915 on 2016/04/15 by Peter.Sauerbrei

	fix for including Facebook SDK in tvOS since we don't have the Facebook libraries for tvOS yet
	#lockdown josh.adams

Change 2945164 on 2016/04/15 by Josh.Adams

	- Removing XboxOnePDBFile from junkmanifest, causes too much trouble when staging using AutoSDKs
	#lockdown nick.penwarden
	#codereview jeff.campeau

#lockdown nick.penwarden

[CL 2945174 by Josh Adams in Main branch]
2016-04-15 10:04:09 -04:00
Peter Sauerbrei
865909dbbb Copying //UE4/Dev-Mobile to Dev-Main (//UE4/Dev-Main) @2911599
#lockdown nick.penwarden

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

Change 2854295 on 2016/02/03 by Gareth.Martin@gareth.martin

	Added support for Landscape grass to use the landscape's light/shadow maps
	(original github pull request #1798 by Frugality)

Change 2875167 on 2016/02/21 by Rolando.Caloca@Home_DM

	DM - glslang

Change 2875650 on 2016/02/22 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Common RHI changes

Change 2876429 on 2016/02/22 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Initial rhi check-in. Tappy & SunTemple working on PC.
	#codereview Jack.Porter, Chris.Babcock, Josh.Adams

Change 2876665 on 2016/02/22 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Split Immediate command list off RHI

Change 2881242 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	changes to exclude LPV shaders from Vulkan
	(reapplied with edit instead of integrate records)

Change 2881356 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	Static shadowing + dynamic-object CSM

Change 2881359 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	Mobile GPU particles

Change 2881360 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	Planar reflections very WIP

Change 2881363 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	Separate Translucency very WIP

Change 2881365 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	ProtoStar engine changes

Change 2881371 on 2016/02/25 by Jack.Porter@Jack.Porter_UE4_Stream

	HACK for Max Texture Samplers hardcoded to 8 on ES2
	Should be cleaned up better with UE-24419.
Change 2884295 on 2016/02/26 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Integrate pipeline cache

Change 2887043 on 2016/02/29 by Rolando.Caloca@Home_DM

	DM - Initial CCT support

Change 2887572 on 2016/03/01 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Empty bound shader states cache
	- Only used currently on Vulkan

Change 2889114 on 2016/03/01 by Rolando.Caloca@Home_DM

	DM - Added GRHINeedsExtraDeletionLatency from 4.11

Change 2889115 on 2016/03/01 by Rolando.Caloca@Home_DM

	DM - Remove batched elements quads (was not been used at least since UE3!)

Change 2895373 on 2016/03/04 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Fence mgr (disabled)

Change 2898926 on 2016/03/08 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Resource management (disabled)

Change 2899937 on 2016/03/08 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Expand number of stencil op bits

Change 2901132 on 2016/03/09 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Add support for more MaxSimultaneousRenderTargets

Change 2903074 on 2016/03/10 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Support for 3d staging textures

Change 2903211 on 2016/03/10 by Jack.Porter@Jack.Porter_UE4_Stream

	Vulkan RHI stub for new SharedResourceView RHI call

Change 2904014 on 2016/03/10 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - SM4 preq

Change 2905389 on 2016/03/11 by Jack.Porter@Jack.Porter_UE4_Stream

	Android Vulkan support initial checkin

Change 2908458 on 2016/03/14 by Allan.Bentham@Dev-Mobile

	Reinstate vertex fog, fixes UE-28166

Change 2910294 on 2016/03/15 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Use fence manager

Change 2910801 on 2016/03/15 by Rolando.Caloca@rolando.caloca_T3903_DM

	DM - Descriptor pool

[CL 2912606 by Peter Sauerbrei in Main branch]
2016-03-16 21:16:51 -04:00
Ben Marsh
f402006cb7 Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2867947)
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2858603 on 2016/02/08 by Tim.Hobson

	#jira UE-26550 - checked in new art assets for buttons and symbols

Change 2858665 on 2016/02/08 by Taizyd.Korambayil

	#jira UE-25797 Added TextureLODSettings for Ipad Mini set all LODBias to 2.

Change 2858668 on 2016/02/08 by Matthew.Griffin

	Added InfiltratorDemo back into Rocket samples

	#jira UEB-591

Change 2858743 on 2016/02/08 by Taizyd.Korambayil

	#jira UE-25996 Fixed Import Error in TopDOwn Code

Change 2858776 on 2016/02/08 by Matthew.Griffin

	Added UnrealMatch3 to packaged projects

	#jira UEB-589

Change 2858900 on 2016/02/08 by Taizyd.Korambayil

	#jira UE-15234 Switched all Mask Textures to use the (Mask,No sRGB) Compression

Change 2858947 on 2016/02/08 by Mike.Beach

	Controlling more when VerifyImport() is ran - trying to  prevent Verify() from running when DeferDependencyLoads is on, and instead trying to fully verify every import upfront (where it's meant to happen) before serializing in the package's contents (to alleviate cyclic dependency complications).

	#jira UE-21098

Change 2858954 on 2016/02/08 by Taizyd.Korambayil

	#jira UE-25524 Resaved Sound Assets to Fix NodeGuid Warnings

Change 2859126 on 2016/02/08 by Max.Chen

	Sequencer: Release track editors when destroying sequencer

	#jira UE-26423

Change 2859147 on 2016/02/08 by Martin.Wilson

	Fix uninitialized variable bug

	#jira UE-26606

Change 2859237 on 2016/02/08 by Lauren.Ridge

	Bumping Match 3 Version Number for iTunes Connect

	#jira UE-26648

Change 2859434 on 2016/02/08 by Chad.Taylor

	Handle the quit and focus message pipe from the SteamVR SDK

	#jira UEBP-142

Change 2859562 on 2016/02/08 by Chad.Taylor

	Mac/Android compile fix

	#jira UEBP-142

Change 2859633 on 2016/02/08 by Dan.Oconnor

	Transaction buffer uniformly address subobjects and SCS created components via an array of names and a root object. This allows undo/redo to work reliably to any depth of object hierarchy. Removed FReferencedObject and replaced it with the robust FPersistentObjectRef.

	DefaultSubObjects of the CDO are now tagged as RF_Archetype at construction (logic in PropertyHandleImpl.cpp probably no longer required)

	Actors reinstanced due to blueprint compilation now have stable names, so that this name can be used to reference their subobjects.

	This is also part of the fix needed for UE-23335, completely fixes UE-26045

	This version of the fix is less aggressive about searching all the way up an object's outer chain before stopping. Fixes issues with parts of outer chain changing on PIE. Also doesn't add objects referenced by subobject name to any AddReference calls which fixes race conditions with GC.

	Also fixes bad logic in CopyPropertiesForUnrelatedObjects, which would create copies of subobjects that already existed because we were populating the ReferenceReplacementMap before adding all existing subobjects (always components in this case)

	#jira UE-26045

Change 2859640 on 2016/02/08 by Dan.Oconnor

	Removed debugging code..

	#jira UE-26045

Change 2859668 on 2016/02/08 by Aaron.McLeran

	#jira UE-26503 A Mixer with a Concatenator node won't loop with a Looping node

	- issue was the looping nodes weren't properly reseting all the child wave instances
	- also looping nodes weren't reporting the correct GetNumSounds() count for use with sequencer node

Change 2859688 on 2016/02/08 by Chris.Babcock

	Allow external access to runtime modifications to OpenGL shaders
	#jira UE-26679
	#ue4

Change 2859739 on 2016/02/08 by Chad.Taylor

	UE4_Win64_Mono compile fix

	#jira UEBP-142

Change 2859962 on 2016/02/09 by Chris.Wood

	Passing command line to Crash Report Client without stripping the project name.
	[UE-24959] - "Send and Restart" brings up the Project Browser
	#jira UE-24959

	Reimplement changes from Orion in UE 4.11
	Reimplementing the command line logging filtering over from Dev-Core (same change as CL 2821359 that moved this change into Orion)
	Reimplementing passing full command line to Crash Report Client (same change as CL 2858617 in Orion)

Change 2859966 on 2016/02/09 by Matthew.Griffin

	Fixed shadow variable issue that was causing build failure in NonUnity mode on Mac

[CL 2873884 by Ben Marsh in Main branch]
2016-02-19 13:49:13 -05: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
Josh Adams
660ab7f0c9 Copying //UE4/Dev-Platform to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2719147 on 2015/10/07 by Mark.Satterthwaite

	Allow the shader cache to perform some precompilation synchronously on load before falling back to asynchronous compilation to balance load times against total time spent precompiling. Added a stat to the group that reports how long the precompile has been running until it completes so it is easier to track.

Change 2719182 on 2015/10/07 by Mark.Satterthwaite

	Refactor the ShaderCache's internal data structures and change the way we handle recording whether a particular predraw state has been submitted to try and make it more efficient.

Change 2719185 on 2015/10/07 by Mark.Satterthwaite

	Merging CL #2717701: Try and fix random crashes on Mac when manipulating bound-shader-states caused by ShaderCache potentially providing a bogus shader state pointer on exit from predraw.

Change 2719434 on 2015/10/07 by Mark.Satterthwaite

	Make sure that Mac ensures reports have a source context and a sane callstack when sent to the crash-reports server.

Change 2724764 on 2015/10/12 by Josh.Adams

	[Initial AppleTV support]
	Merging	//depot/YakBranch/... to //UE4/Dev-Platform/...

Change 2726266 on 2015/10/13 by Lee.Clark

	PS4 - Calc reserve size required for DMA copy when using unsafe command buffers

Change 2726401 on 2015/10/13 by Mark.Satterthwaite

	Merging CL #2716418: Fix UE-15228 'Crash Report Client doesn't restart into project editor on Mac' by reporting the original command line supplied by LaunchMac, not the modified one that strips the project name. The CRC can then relaunch as expected.
	#jira UE-15228

Change 2726421 on 2015/10/13 by Lee.Clark

	PS4 - Don't try to clear invalid targets

Change 2727040 on 2015/10/13 by Michael.Trepka

	Merging CL 2724777 - Fixed splash screen rendering for images with DPI different than 72

Change 2729783 on 2015/10/15 by Keith.Judge

	Fix huge memory leak in Test/Shipping configurations, caused because I am a numpty.

Change 2729847 on 2015/10/15 by Mark.Satterthwaite

	Merging CL #2729846: On OS X unconstrain windows from the dimension of the parent display when in Windowed mode - it is OK for them to be larger in this case. They do need to be repositioned if on the Primary display so that they don't creep under the menu bar and become unmovable/unclosable and Fullscreen windows still need to be constrained to a single display. We can now take screenshots of windows that are larger than the display & not get grey bars beyond the cutoff.
	#jira UE-21992

Change 2729865 on 2015/10/15 by Keith.Judge

	Fast semantics - Finish up resource transitions, adding resource decompression where appropriate and using non-fast clears where we can't determine the resource transition.

Change 2729897 on 2015/10/15 by Keith.Judge

	Fast Semantics - Make sure all GetData() calls are made safe with GPU fences.

Change 2729972 on 2015/10/15 by Keith.Judge

	Removed the last vestiges of ID3D11DeviceContext/ID3D11DeviceContext1 from the Xbox RHI. Everything now uses ID3D11DeviceContextX directly.

	This should be marginally quicker as it stops a double call to ClearState().

Change 2731503 on 2015/10/16 by Keith.Judge

	Added _XDK_VERSION to the DDC key for textures, which should solve the issue of the tiling mode changing in August XDK (and future changes Microsoft may inflict).

Change 2731596 on 2015/10/16 by Keith.Judge

	Fast Semantics - Add deferred resource deletion queue to make deleted resources be actually deleted a number of frames later so that the GPU is definitely finished with them. Hooked up the temporary SRVs for dynamic VBs as a first step.

Change 2731928 on 2015/10/16 by Michael.Trepka

	PR #1659: Mac/Build.sh handles additional arguments (Contributed by judgeaxl)

Change 2731934 on 2015/10/16 by Michael.Trepka

	PR #1618: added clang 3.7.0 -Wshift-negative-value ignore in JpegImageWrapper.cpp (Contributed by bsekura)

Change 2732018 on 2015/10/16 by Mark.Satterthwaite

	Emit a shader code cache for each platforms requested shader formats, this is separate to the targeted formats as not all can or need to be cached.
	- The implementation extends the ShaderCache's hooks in FShaderResource's serialisation function to capture the required shaders.
	- Each target platform has its own list of cached shader formats, analogous to the list of targeted RHIs. Presently only the Mac implements this.
	- Code cached shaders are now compressed (for size) to reduce the overhead associated with keeping all the shader code around - this works esp. well for text-based formats like GLSL.

Change 2732365 on 2015/10/16 by Josh.Adams

	- Packaging a TVOS .ipa now works (still haven't tried any of the Editor integration like Launch On)

Change 2733170 on 2015/10/18 by Terence.Burns

	Fix for Android IAP query not returning entire inventory.

Change 2733174 on 2015/10/18 by Terence.Burns

	Fix Movie player issue where wait for movie to finish isnt being respected.

	Seems a stray bUserCanceled event flag was causing this not to be observed.

	Added some verbose logging to apple movie player.

Change 2733488 on 2015/10/19 by Mark.Satterthwaite

	Added the ability to merge the .ushadercache files used by the ShaderCache to store shader & draw state information.
	- Fixed a bug that would cause invalid shader membership and draw state information to be logged.
	- Added a separate command-line tool to merge shader cache files, currently Mac-only but in theory should work on other platforms too.

Change 2735226 on 2015/10/20 by Mark.Satterthwaite

	Fix temporal AA rendering on GL/Mac OS X - you can't rely on EyeAdaptation values unless SM5 is available so only perform that code on SM5 & we must correctly clamp saturate(NaN) to 0 as the current hlslcc won't do that for us (& is required by the HLSL spec). The latter used to be clamped in the AA_ALPHA && AA_VELOCITY_WEIGHTING code block that was removed recently.
	#jira UE-21214
	#jira UE-19913

Change 2736722 on 2015/10/21 by Daniel.Lamb

	Improved performance of cooking stats system.

Change 2737172 on 2015/10/21 by Daniel.Lamb

	Improved cooking stats performance for ddc stats.
2015-12-10 16:56:55 -05:00
Dmitriy Dyomin
ed69c79ff7 Device output log window, currently implemented only for Android. Hidden under editor experimental settings
#jira UEMOB-39
#codereview Jack.Porter

[CL 2710794 by Dmitriy Dyomin in Main branch]
2015-09-30 03:39:09 -04:00
Richard Hinckley
6ceaa5aba7 Cleaning out programmer-only comments that were harvested by Doxygen.
#platformnotify Josh.Adams

[CL 2690143 by Richard Hinckley in Main branch]
2015-09-14 09:25:39 -04:00
Niklas Smedberg
659d4ebedb Removed log spam
#codereview josh.adams

[CL 2619267 by Niklas Smedberg in Main branch]
2015-07-13 20:53:01 -04:00
Josh Adams
73dd6e7cd3 - Added the non-POT error texture to Android when using PVRTC [UE-8923]
[CL 2587930 by Josh Adams in Main branch]
2015-06-15 17:48:18 -04:00
Peter Sauerbrei
ae371ac807 fixed issue with not being able to tell if a content-based project needs to be built as code within the editor
UE-11636

[CL 2533916 by Peter Sauerbrei in Main branch]
2015-05-01 14:00:34 -04:00
Terence Burns
08ff5fa6d1 https://jira.ol.epicgames.net/browse/UEPLAT-514
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.

-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine

[CL 2481510 by Terence Burns in Main branch]
2015-03-17 09:50:32 -04:00
Josh Adams
a98d6d5f5c - Changed Android ES31+AEP support from a TargetPlatform to a checkbox that works with any Android TP
- Moved HighQualityLightmap support check to IOSTargetPlatform so it can check project settings for Metal support
- Fixed some issues running on an x86_64 device
- Cleaned up some unused functions in TargetPlatform
#codereview niklas.smedberg

[CL 2478853 by Josh Adams in Main branch]
2015-03-13 14:05:13 -04:00
Dmitry Rekman
e7d1e64ee3 Changed calls to FProcHandle.Close() to FPlatformProcess::CloseProc().
We already had FPlatformProcess::CreateProc/CloseProc pair (which is part of larger set with WaitForProc(), TerminateProc(), GetProcReturnCode(), etc). FProcHandle::Close() made the API more confusing (and actually introduced bugs, because it did not call CloseProc() until recently).

#codereview Josh.Adams, Robert.Manuszewski, Jaroslaw.Surowiec

[CL 2476322 by Dmitry Rekman in Main branch]
2015-03-12 00:06:15 -04:00
Niklas Smedberg
ca14047362 Android ASTC for ES2
[CL 2475760 by Niklas Smedberg in Main branch]
2015-03-11 17:28:22 -04:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05:00
Niklas Smedberg
ac2d334930 Quick workaround for B6H and BC7 on OpenGL. This looks at the project settings (.ini) and allows D3D11 texture formats if D3D11 SM5 is the only targeted shader format, otherwise it will fall back to DXT/etc. Note that it does not check for command-line overrides, like running with -opengl.
[CL 2430775 by Niklas Smedberg in Main branch]
2015-02-03 18:35:25 -05:00
Robert Jones
653f45a33a Adding Java_Home support to ini files for Android building.
[CL 2415356 by Robert Jones in Main branch]
2015-01-22 11:14:12 -05:00
Robert Jones
b5a273a278 SDK path editing in editor.
- Added class to hold values (AndroidSDKSettings)
- Added code to Android editor module to setup the values on load
- Changed device detection so that the thread is always started and the SDK path can be changed on the fly
- Changed Platform Target Management Module so that a single platform can be checked via UBT
- Settings can now be sourced from an ini file via temp direct reading code (auto seralisation is disabled until later changes are made)
-- Settings currently not exposed in editor

- Added Mac Environment var setting support

Unreleated
- Envars can now be passed down to process start points in tools

#codereview michael.trepka

[CL 2412194 by Robert Jones in Main branch]
2015-01-20 10:05:42 -05:00
Steve Robb
0756ef15b9 Delegate comparisons deprecated, lots of other associated code deprecated, and lots of warning fixups:
* Multicast delegate Add* calls now return FDelegateHandles, and Remove* calls are now all deprecated, except for a new Remove function which takes a FDelegateHandle.
* New FConsoleManager::RegisterConsoleVariableSink_Handle and UnregisterConsoleVariableSink_Handle functions which work in terms of FConsoleVariableSinkHandle.
* Timer calls which don't take FTimerHandles are deprecated.
* FTicker::AddTicker now returns an FDelegateHandle and is removed by an overloaded Remove function.
* DEFINE_ONLINE_DELEGATE* macros now define _Handle variants of the Add/Remove functions which return/take handles.
* Various other handle-based registration changes.
* Some unity build fixes.
* Some simplification of delegate code.
* Fixes for lots of existing code to use handle-based registration and unregistration.

#codereview robert.manuszewski

[CL 2400883 by Steve Robb in Main branch]
2015-01-08 09:29:27 -05:00
Michael Trepka
9c522df7ef Initial support for Android deployment on Mac
[CL 2386013 by Michael Trepka in Main branch]
2014-12-11 15:30:24 -05:00
Josh Adams
fd3d1c2a1a [Important BUNs in here]
- Enabled ES31 for GitHub/P4 users (currently only works on a Tegra K1 with recent system software)
- Always use separate APKs - this means that all APKs will have -armv7-es2 (or whatever) in their name. This may affect scripts, etc people have written
- Fixed a bug when using multiple java libraries (for users who add their own libs)
- Properly collapse Android devices into a single device with multiple variants. LaunchOn will now choose the best format based on the connected device. If you want to override the format, you will need to use the ProjectLauncher
- Added Android serial number to the device type, in case you have multiple devices of the same type (also fixes [UE-3770])
#codereview niklas.smedberg,chris.babcock

[CL 2385821 by Josh Adams in Main branch]
2014-12-11 13:44:41 -05: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
Max Preussner
d206670ffe TargetPlatform: Replaced namespaced enums with enum classes
[CL 2326174 by Max Preussner in Main branch]
2014-10-10 20:14:21 -04:00
Daniel Lamb
715846941d Stopped tick cook on the side from waiting on save package for async cooked items to cache.
Now editor will tick at a decent frame rate while building shaders / caching textures.
#codereview Josh.Adams, Daniel.Wright, Matthew.Griffin

[CL 2318857 by Daniel Lamb in Main branch]
2014-10-03 14:56:20 -04:00