#rb none
#lockdown nick.penwarden
Change 3046743 on 2016/07/12 by Mark.Satterthwaite
Revert Metal workaround for AtmosphericFog rendering on Intel & AMD from 2897082 and instead change the MetalBackend to emit a precise::sqrt(max(0.0, value)) instruction instead of sqrt(value) to avoid the NaN from -ve values. This may still be technically incorrect versus D3D, but it matches the existing OpenGL appearance.
#rb ben.woodhouse
#jira UE-33028
Change 3046820 on 2016/07/12 by Peter.Sauerbrei
PR#2594 - fix for analog input, courtesy of CleanCut
#rb daniel.lamb
Change 3046826 on 2016/07/12 by Peter.Sauerbrei
PR#2561 - addition of code to limit architecture in required caps for IOS, courtesy of derekvanvliet
#rb daniel.lamb
Change 3046835 on 2016/07/12 by Peter.Sauerbrei
PR#2559 - Increase the stack size on IOS and Mac, courtesy of derekvanvliet
PR#2552 - Addition for Apple ReplayKit Framework, courtesy of JoshuaKaiser
#rb daniel.lamb
Change 3046838 on 2016/07/12 by Peter.Sauerbrei
PR#2548 - Adding Log information when an unsupported audio type is used, courtesy of derekvanvliet
#rb daniel.lamb
Change 3046854 on 2016/07/12 by Peter.Sauerbrei
PR#2547 - fix for unrecognize selector crash on iOS, couretesy of derekvanvliet
PR#2384 - prevent crashes when initializing push notifications on IOS 7, courtesy of alk3ovation
#rb daniel.lamb
Change 3046858 on 2016/07/12 by Peter.Sauerbrei
PR#2475, #1868 - fix for mapping of iOS device name, courtesy of wingedrobin, derekvanvliet
PR#2567 - fix name of IPhoneSE in names array, courtesy of rohanliston
#rb daniel.lamb
Change 3046862 on 2016/07/12 by Peter.Sauerbrei
fix for type in tooltip
#jira UE-27123
#rb daniel.lamb
Change 3046919 on 2016/07/12 by Daniel.Lamb
Stop texture derived data from loading it's bulk data when the linker is destoryed.
#rb Peter.Sauerbrei
Change 3046922 on 2016/07/12 by Daniel.Lamb
Updated the default cooker gc settings so that it can have more resources.
Added support for cooker markup package and objects as (new flag) disregard for gc if it's still in use by the cooker.
Changed the way reentry data is stored in the cooker.
Cook only editor content flag in project settings now works again.
#rb Josh.Adams
#test cook Paragon
Change 3046924 on 2016/07/12 by Daniel.Lamb
Added support for encrypting ini files.
Added new project setting in the editor and setting in ufe.
Also added ForDistribution flag to ufe.
#rb Peter.Sauerbrei
Change 3046936 on 2016/07/12 by Mark.Satterthwaite
Fix compute shader TLV clear for async. compute on Mac.
#rb chris.babcock
Change 3047207 on 2016/07/12 by Mark.Satterthwaite
It is illegal to use a reference to an element within a TMap to initialise a new value that is to be added to the TMap as it causes heap-use-after-free.
#rb chris.babcock
Change 3047208 on 2016/07/12 by Mark.Satterthwaite
When removing a vertex don't attempt to copy from one element beyond the end of the array to fill the last element - that's a heap-buffer-overflow and is unnecessary because that element will no longer be used.
#rb chris.babcock
Change 3047209 on 2016/07/12 by Mark.Satterthwaite
Don't attempt to update Metal class counts if the MetalRHI is uninitalised - it will attempt to double-free the TMap.
#rb chris.babcock
Change 3047641 on 2016/07/13 by Lee.Clark
PS4 - Improve SDK Version checking messages
#rb none
Change 3047663 on 2016/07/13 by Keith.Judge
Orion - Various minor PS4-only things activated for XB1.
#rb none
Change 3047664 on 2016/07/13 by Keith.Judge
XB1 - Fix analysis warning of shadowing a member variable.
#rb none
Change 3047784 on 2016/07/13 by Keith.Judge
Xbox One - Memory and perf saving in query handling. Store 8 queries per allocation, rather than 1 so we're making the maximum use of the 256byte allocation granularity.
#rb None
Change 3047834 on 2016/07/13 by Keith.Judge
XB1 - Release underlying memory of 3D textures when destroying them. Oops!
#rb none
Change 3048190 on 2016/07/13 by Josh.Adams
- Now leave around the ASTC encoder input file on error, for reproing outside of the engine
#rb none
Change 3048256 on 2016/07/13 by Daniel.Lamb
Removed warning about missing file when using cook on the fly.
#rb Peter.Sauerbrei
Change 3048409 on 2016/07/13 by Daniel.Lamb
Improved output for saving packages in unattended builds.
#rb Jonathan.Fitzpatrick
Change 3048763 on 2016/07/13 by Peter.Sauerbrei
switch AppleTV to tvOS in the editor
#jira UE-30532
#rb michael.trepka
Change 3049608 on 2016/07/14 by Keith.Judge
XB1 - Optimize vertex/index buffer dynamic memory usage.
#rb none
Change 3049609 on 2016/07/14 by Keith.Judge
Xbox One CPU Perf - Add _RenderThread versions of Lock/Unlock Texture 2D to stop more RHI thread stalls.
#rb None
Change 3049610 on 2016/07/14 by Keith.Judge
Xbox One - Reduce latency of deferred deletions to two frames.
#rb None
Change 3049730 on 2016/07/14 by Keith.Judge
Xbox One - Disable _RenderThread versions of Lock/Unlock Texture 2D for now as they're causing hangs.
#rb None
Change 3049732 on 2016/07/14 by Keith.Judge
Xbox One - Add critical section to the query slot incrementing code as this wa causing a hang after running for a while as it can be done on any of the parallel rendering threads (not just the RHI thread.
Also remove optimization pragmas accidentally left in.
#rb none
Change 3049791 on 2016/07/14 by Keith.Judge
Xbox One - Made the occlusion query multithreading even more robust. Can play for ages now in a large level without a crash.
#rb None
Change 3049968 on 2016/07/14 by Jeremiah.Waldron
Adding AndroidDisableThreadedRendering CVar and device profiles for 4 specific devices that need to have threaded rendering disabled on them due to swap buffer issues.
Leaving previous checks in FAndroidMisc::AllowRenderThread as they are, but any new devices that need threaded rendering disabled should use the CVar
#jira UE-24954, UE-27685, UE-20067
#rb chris.babcock
Change 3050428 on 2016/07/14 by Jeremiah.Waldron
Fix for application window being terminated if an AlertDialog is showing onPause
Repro'd and fix tested on Samsung Galaxy Note 3
#android
#jira UE-32998
#rb chris.babcock
Change 3050642 on 2016/07/14 by Peter.Sauerbrei
fix for invalid generated plist
#rb daniel.lamb
Change 3050718 on 2016/07/14 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
#rb none
Change 3051327 on 2016/07/15 by Keith.Judge
Xbox One - Save memory when locking 2D textures by only allocating a linear copy of the mip/array slice we're locking, rather than the entire mip chain. I'll do the same for 3D textures next.
#rb None
Change 3051346 on 2016/07/15 by Keith.Judge
Xbox One - Same memory savings for UpdateTexture2D/3D. Only allocate for the mip/slice that we're updating, not the entire texture.
#rb None.
Change 3051530 on 2016/07/15 by Nick.Shin
github: minor typo fixes
#jira UE-32129 - GitHub 2513 : Update default output of HTML5 packaging
#rb none
Change 3053631 on 2016/07/18 by Mark.Satterthwaite
Don't attempt to bind a 2D texture to the FOnePassPointShadowProjectionShaderParameters because it just won't work on Metal - instead bind the black-cube. This fixes validation errors that prevent running projects under the debugger.
#codereview daniel.wright
#rb josh.adams
#jira UE-33350
Change 3053816 on 2016/07/18 by Mark.Satterthwaite
Fixes for iOS Metal:
- Depth-clip mode was erroneously exported on iOS SDK 9, it wasn't ever actually available.
- Stencil texture views are only required on Mac.
- State cache shouldn't suggest a render target change is required if the current state is clear and the new state is load/don't care as this breaks iOS rendering with MSAA.
- Instead the debug submissions should just directly invoke submit and switch to rendering so that its SetRenderTarget call always succeeds.
#rb michael.trepka
Change 3053818 on 2016/07/18 by Mark.Satterthwaite
Explicit casts for Metal precise::sqrt required for iOS to work with ffast-math workaround.
#rb michael.trepka
Change 3054426 on 2016/07/18 by Dmitry.Rekman
Fix case-sensitive compilation problems (UE-33420).
#codereview Olaf.Piesche
#rb none
Change 3054434 on 2016/07/18 by Mark.Satterthwaite
Silence delete-non-virtual-dtor warnings on iOS as we do on Mac.
#rb none
Change 3054719 on 2016/07/18 by Jeremiah.Waldron
Adding ShowHiddenAlertDialog JNI function to be called from native code after the render thread is resumed after pausing.
Tested locally on Galaxy Note 3. Tested on LG G4 by nick.shin. Tested on Galaxy S6 by chris.babcock
#jira UE-32998
#android
#rb chris.babcock
Change 3054742 on 2016/07/18 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
#rb none
Change 3054850 on 2016/07/18 by Dmitry.Rekman
Replace Fatal->Error so messagebox can be shown (UE-22818).
- Incorporates PR #1714 by zaps166.
#rb none
#tests Tried to create an invalid context, made sure messagebox is popping up.
Change 3055317 on 2016/07/19 by Lee.Clark
PS4 - Fix render target memory allocation
#jira UE-32988
#rb Marcus.Wassmer
Change 3055682 on 2016/07/19 by Brent.Pease
+ Fix Debug builds by removing force inline attribute only on debug builds to prevent a warning that is treated as an error
#rb michael.trepka
Change 3056065 on 2016/07/19 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
#rb none
Change 3056256 on 2016/07/19 by Chris.Babcock
Add optional log spew filtering callback to Run
#jira UE-33468
#ue4
#android
#rb Ben.Marsh
#codereview Jack.Porter
Change 3056727 on 2016/07/19 by Chris.Babcock
Added addition scope (plus.login) to Google Play Games builder
#jira UE-33480
#ue4
#android
#rb none
#codereview ryan.gerleve
Change 3056811 on 2016/07/19 by Jeff.Campeau
Xbox One now accepts client configs.
#rb none
Change 3057152 on 2016/07/20 by Dmitry.Rekman
Linux: use libc++ instead of libstdc++.
- Needed to solve problems with third-party C++ libraries (e.g. WebRTC).
- Bundled libc++ 3.8.1 (TPS cleared).
- Turned off ICU compilation (needs recompile against libc++).
- Some libraries (e.g. FBX sdk) still need libstdc++, so in practice it is going to be a mix.
#rb none
#tests Built and ran a number of Linux targets.
Change 3057362 on 2016/07/20 by Keith.Judge
XB1 - Fix busted merge from yesterday
#rb None
Change 3057647 on 2016/07/20 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
#rb none
Change 3057655 on 2016/07/20 by Daniel.Lamb
Added test cooking flag.
#rb Peter.Sauerbrei
#test Cook paragon.
Change 3058779 on 2016/07/20 by Dmitry.Rekman
Fix crash on cooker exit (UE-33583).
- Global/static tickable objects could outlive the collection and trigger asserts when removing themselves from it.
#rb Josh.Adams
#codereview Josh.Adams, Jamie.Dale
#tests Compiled and ran Linux editor.
#lockdown Josh.Adams
Change 3058835 on 2016/07/20 by Chris.Babcock
Enable GooglePlay and GameCenter plugins by default
#jira UE-33605
#ue4
#android
#ios
#rb mark.satterthwaite
#codereview Peter.Sauerbrei
#lockdown Josh.Adams
Change 3058847 on 2016/07/20 by Chris.Babcock
Fix Android device rule for AlcatelPixi3
#jira UE-33606
#ue4
#android
#rb none
#codereview Jeremiah.Walron
#lockdown Josh.Adams
Change 3059693 on 2016/07/21 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
#rb none
#lockdown nick.penwarden
Change 3060139 on 2016/07/21 by Chris.Babcock
Fix proguard entry for Android mediaplayer tracks
#jira UE-33644
#ue4
#android
#rb Josh.Adams
#lockdown Josh.Adams
Change 3061151 on 2016/07/22 by Niklas.Smedberg
Fast ASTC texture compression, using ISPC.
#jira UE-32308
#rb chris.babcock
#lockdown josh.adams
Change 3061428 on 2016/07/22 by Peter.Sauerbrei
Back out changelist 3061151 as it wasn't approved for submission
#rb none
#lockdown josh.adams
Change 3061436 on 2016/07/22 by Lee.Clark
PS4 - Back out render target mem allocation changes and put in a temp hack
#jira UE-33657
#codereview Marcus.Wassmer
#lockdown josh.adams
#rb none
[CL 3061637 by Josh Adams in Main branch]
#lockdown nick.penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2958982 on 2016/04/28 by Dmitriy.Dyomin
Set owner name for RHI texture, for easier debugging
Change 2976446 on 2016/05/12 by Niklas.Smedberg
Fixed Device Profile CVars so they work even if a DLL with the cvar definition is loaded afterwards. (And they now also go through the common code path for CVars.)
Change 2983781 on 2016/05/19 by Steve.Cano
Check in PlayUsingLauncher if the device we're launching to is authorized by the computer. Could not get to this information about Devices so added an IsAuthorized interface to ITargetDevice that is overriden in the AndroidTargetDevice. Also make sure to referesh the authorized state as needed for Android device detection. Finally, changed the name of the authorized variable to be more readable (true == authorized instead of true == unauthorized)
#jira UE-21121
#ue4
#android
Change 2994202 on 2016/05/31 by Allan.Bentham
Prevent clear transulcency volume null deref crash.
Change test for allocated deferred render targets by testing against an exclusively deferred target (instead of potentially shared shadow depth surface)
probable fix for UE-22073
Change 2995613 on 2016/05/31 by Dmitriy.Dyomin
Added: Option to force full precision in a material
UEMOB-109
Change 2997960 on 2016/06/02 by Gareth.Martin
Refactored Landscape serialization to allow cooking both the data used for normal rendering and mobile rendering into the same package
#jira UE-31474
Change 2997988 on 2016/06/02 by Gareth.Martin
Files missing from CL 2997960
#jira UE-31474
Change 2999222 on 2016/06/03 by Jack.Porter
Fix up ETargetPlatformFeatures::ForwardRendering and ETargetPlatformFeatures::DeferredRendering for iOS to support the Metal MRT deferred renderer
Change 2999229 on 2016/06/03 by Jack.Porter
Rename ETargetPlatformFeatures::ForwardRendering to TargetPlatformFeatures::MobileRendering
Change 3003540 on 2016/06/07 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3003779 on 2016/06/07 by Dmitriy.Dyomin
Fixed: Criss-crossed sublevels cause NavMesh errors
#jira UE-27157
Change 3004535 on 2016/06/07 by Steve.Cano
Adding the OnControllerConnectionChange delegate message when a controller is connected on Android. Also added additional future broadcast statement when disconnect support is added for Android.
#jira UE-25697
#ue4
#android
Change 3005205 on 2016/06/07 by Niklas.Smedberg
Bumped ASTC format version to invalidate bad server DDC
Change 3005347 on 2016/06/08 by Dmitriy.Dyomin
Added a way to cache OpenGL program binaries on the disk. Disabled by default. Can be enabled only on Android platform (r.UseProgramBinaryCache=1)
#jira UEMOB-108
Change 3005524 on 2016/06/08 by Dmitriy.Dyomin
Fixed iOS build broken by CL# 3005347
Change 3005528 on 2016/06/08 by Jack.Porter
Changed hardcoded checkboxes from quality level overrides dialog to use the general property details code.
Now magically supports any uproperty types such as enums or integers added to FMaterialQualityOverrides.
Change 3005607 on 2016/06/08 by Dmitriy.Dyomin
Fixed: Occasional crash on using Launch on Android device when device is being disconnected
Change 3006705 on 2016/06/08 by Chris.Babcock
Fix virtual joystick to return -1 to 1 ranges for thumbsticks
#jira UE-31799
#ue4
#android
#ios
Change 3006960 on 2016/06/08 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3007050 on 2016/06/09 by Jack.Porter
FAutomationWorkerModule::ReportTestComplete() needs to send analytics first as the message endpoint will free the memory resulting in a crash
Change 3007129 on 2016/06/09 by Dmitriy.Dyomin
Fixed: Black edges seen on flames in Sun Temple
#jira UE-31712
Change 3010686 on 2016/06/13 by Dmitriy.Dyomin
Fixed: Android Monolithic warnings for glGetProgramBinaryOES and glProgramBinaryOES
#jira UE-31933
[CL 3011074 by Jack Porter in Main branch]
#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]
To summarize,
Old Pipeline: sRGB-Pow(2.2) -> Linear -> sRGB-IEC 61966
New Pipeline: sRGB-IEC 61966 -> Linear -> sRGB-IEC 61966
#codereview gil.gribb, nick.penwarden, martin.mittring
[CL 2571070 by Nick Darnell in Main branch]
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]