#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
1cb836d43c
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
dc2b26f452 (commitcomment-21454978)
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
NOTE: This is a "fix-up" copy that contains files that somehow did not make it in my last copy (the checkin comments for both copies are in the original, since the script that makes the comments seems to have gotten all changes in it, from what I can tell). This is the final set of changes from Dev-Platform, and they are the same files that have undergone testing last week.
#rb none
#lockdown nick.penwarden
[CL 3299620 by Josh Adams in Main branch]
new OSX clang (from emscripten tool chain) configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
fixes for OSX -- update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 - Step 'Compile UE4Game HTML5' - 300 Warnings
#rb none
#lockdown josh.adams
[CL 3184003 by Nick Shin in Main branch]
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3118934 on 2016/09/08 by Jeff.Campeau
Shader compression setting based on target platform instead of cooking host platform.
#jira UE-35753
Change 3150366 on 2016/10/04 by Nick.Shin
emscripten SDK 1.36.11
windows and mac binaries will be checked in separately
#jira UE-36562 - //UE4/Main: Compile UE4Game HTML5 completed with errors: 2 errors
Change 3150367 on 2016/10/04 by Daniel.Lamb
Removed caching of cooked platform data from postload.
#test cook paragon
Change 3150368 on 2016/10/04 by Daniel.Lamb
Added new setting to reserve the maximum amount of memory to leave free for the cooker..
Change 3151091 on 2016/10/04 by Nick.Shin
upgrade emsdk toolchain to "tag-1.36.11"
(along with updates to make scripts)
#jira UEPLAT-890 - HTML5 Multithreading
#jira UE-36562 - //UE4/Main: Compile UE4Game HTML5 completed with errors: 2 errors
Change 3151205 on 2016/10/04 by Daniel.Lamb
HasShaderJobs now includes the PendingFinalizedShadermaps in it's check
#test cook paragon.
Change 3151501 on 2016/10/05 by Luke.Thatcher
[PLATFORM] [PS4] [!] Fix memory usage in PS4 crash handler server.
- The ORTMAPI com object implements a Dispose method which we we're calling, so the object was leaked until it eventually gets GC'd.
- Whilst that object is alive, the orbis-debugserver-x64.exe process stays alive, using up to 2GB memory per instance.
- Also limited the server to processing a single crash dump at once, via a task queue.
Change 3151608 on 2016/10/05 by Nick.Shin
fix CIS build warnings and errors
this is for HTML5 platform
Change 3151851 on 2016/10/05 by Michael.Trepka
Added DesktopRect and WorkArea to FMonitorInfo for desktop platforms and used that to fix an issue in SceneViewport where windowed fullscreen mode would be forced to primary monitor and incorrectly positioned on desktops where a taskbar/dock/etc. was on the left
#jira FORT-30638
Change 3152085 on 2016/10/05 by Josh.Adams
- Fixing some Wolf Launcher things (icon, string)
Change 3152451 on 2016/10/05 by Daniel.Lamb
Enabled logging to help debug shader compiler issue.
#test Cook Paragon.
Change 3152880 on 2016/10/05 by Dmitry.Rekman
Linux: add support for new multiarch toolchain.
- Redoing the change as submitted to Dev-Mobile.
Change 3152957 on 2016/10/05 by Dmitry.Rekman
Linux: fix crosstoolchain for non-AutoSDKs case.
- Redoing the fix for UE-36899 from Dev-Mobile.
Change 3153109 on 2016/10/06 by Keith.Judge
Remove D3D11_RESOURCE_MISC_SHARED from XB1 D3D11.x RHI as it is invalid.
Change 3153176 on 2016/10/06 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler.
Change 3153213 on 2016/10/06 by Keith.Judge
Xbox One - Plug small memory leak in the movie player.
Change 3153258 on 2016/10/06 by Josh.Adams
- Moved Wolf OSS to proper location for Online plugins
Change 3153450 on 2016/10/06 by Josh.Adams
wolf net driver class stub
Change 3153451 on 2016/10/06 by Josh.Adams
- Fixed more Wolf OSS errors without special sdk
Change 3153471 on 2016/10/06 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps.
Change 3153472 on 2016/10/06 by Josh.Adams
- Deleting some old test files
Change 3153535 on 2016/10/06 by Josh.Adams
- And... fixed some build errors again with the special sdk
Change 3153819 on 2016/10/06 by Daniel.Lamb
Remove some dead code in the cook on the fly server.
#test Cook QAGame
Change 3154050 on 2016/10/06 by Dmitry.Rekman
Linux: remove some of the clang 3.9.0 warnings.
- Add missing destructors.
- Deal with defined() being undefined in a #define.
- Prevent casting nullptr to reference (or suppress that warning for third party code).
- Case sensitivity fixes.
- Make deoptimization work properly.
- Code still crashes when compiling some of the editor targets.
Change 3154071 on 2016/10/06 by Josh.Adams
- Fixed an issue with Wolf shader compiler optimizing out global array
- Fixed Windows display internal thing
Change 3154567 on 2016/10/07 by Luke.Thatcher
[PLATFORM] [PS4] [!] Hack fix for PS4 crash handler site leaking sony debug server processes.
- Find and kill the process after each task
Change 3154570 on 2016/10/07 by Keith.Judge
Fix crash when run with -nolive. Unititialized member fix.
Change 3154572 on 2016/10/07 by Keith.Judge
Xbox One - Small optimization I did a while ago for Paragon and forgot to submit. Removed the SRV dynamic/static distinction in the state cache and calling code, as it makes no difference since fast semantics.
Change 3154656 on 2016/10/07 by Dmitry.Rekman
Linux: make Test configuration drop core by default.
Change 3154789 on 2016/10/07 by Dmitry.Rekman
Linux: remove multiple instances of target platform device.
Change 3154957 on 2016/10/07 by Joe.Graf
Changed additional plugin directories for project descriptors to be absolute in memory and path relative on disk
Change 3155298 on 2016/10/07 by Dmitry.Rekman
Fix CIS (LinuxTargetDevice not linking).
Change 3155684 on 2016/10/07 by Josh.Adams
- Added -PulseC option for Quickmatch
Change 3155691 on 2016/10/07 by Josh.Adams
- New Wolf NetDriver for P2P sockets. Not working yet
- OSS is _not_ currently usable, for reference
Change 3155750 on 2016/10/07 by Dmitry.Rekman
Linux: fix UT server build (UE-37042).
Change 3156816 on 2016/10/10 by Josh.Adams
- Fixed compile errors wihtout extra SDK bits
Change 3156872 on 2016/10/10 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually.
#jira UE-37038
Change 3156936 on 2016/10/10 by Josh.Adams
- Backed out changes from files that got pulled into a changelist by mistake
Change 3157602 on 2016/10/10 by Josh.Adams
- FIxed Wolf crash on level quit (at least in ShooterGame)
Change 3157676 on 2016/10/10 by Josh.Adams
- Fixed Wolf audio playback in latest SDK
Change 3158544 on 2016/10/11 by Josh.Adams
- Disabled one of the Wolf file mount points in Debug builds due to SDK bug
Change 3158603 on 2016/10/11 by Josh.Adams
- FIxed type in non-Debug
Change 3159257 on 2016/10/11 by Dmitry.Rekman
Linux: case-sensitive fixes.
Change 3159537 on 2016/10/12 by Luke.Thatcher
[PLATFORM] [PS4] [!] Fix leaking orbis-dbgserver-x64 processes in PS4 crash handler.
- We needed to call Marshal.ReleaseComObject on the CoreFileAPI object to shut down the child processes.
- Disabled the kill process hack.
[!] Also fixed "Unknown" usernames in PS4 crash dumps.
- Sony had changed the format of the PS4 settings file in system software 4.008.071.
[!] Fixed exception getting modules from crash dump when symbols have not been loaded.
- Just skipping this step now, as it was only used for logging.
Change 3159581 on 2016/10/12 by Joe.Conley
Wolf support for TPri_Lowest was missing, so I added that and the corresponding WolfThreadPriority_Lowest
Change 3159749 on 2016/10/12 by Luke.Thatcher
[PLATFORM] [PS4] [~] Re-enable kill process hack in PS4 crash server. The ReleaseComObject fix hasn't solved the leaking processes on the server.
Change 3160336 on 2016/10/12 by Daniel.Lamb
Fix for skip editor content flag being passed throught o UAT.
#jira UE-37223
Change 3160341 on 2016/10/12 by Dmitry.Rekman
Linux: fixes for Fortnite and Orion editors.
- Also, again disable XGE because clang 3.9.0-based toolchain crashes when compiling those with XGE.
Change 3160473 on 2016/10/12 by Nick.Shin
remove old emsdk
Change 3160528 on 2016/10/12 by Michael.Trepka
Copy of CL 3160314 from //Fortnite/Main
Fixed incorrect rect initialization in Mac GetDisplayMetrics
Change 3160591 on 2016/10/12 by Josh.Adams
- Fixed wolf coimpiling without stats
#jira UE-37230
Change 3160866 on 2016/10/12 by Dmitry.Rekman
OpenGL: fix swapped arguments.
- Cengiz noticed this while working on one of bugs.
Change 3160978 on 2016/10/12 by Josh.Adams
- Fixed issue with running out of Wolf audio pools on large games
Change 3160979 on 2016/10/12 by Josh.Adams
- Enabled Curl HTTP on Wolf, along with basic SSL (no local cert importing yet)
Change 3161025 on 2016/10/12 by Dmitry.Rekman
Disable poison proxy.
- Malloc::GetAllocationSize() may not account for alignment for mallocs like Binned and Binned2, resulting in a memory stomp.
Change 3161034 on 2016/10/12 by Josh.Adams
-Wolf Http changes - load .pem files if they exist (although they aren't being staged automatically yet)
- Added network pause to make sure its ready before we Http
Change 3161046 on 2016/10/12 by Dmitry.Rekman
TestPAL: adding a test for Malloc::GetAllocationSize().
Change 3161212 on 2016/10/13 by Dan.Mahashin
- Upgraded to new NXCP API. Confirmed to run ok with SunTemple on 0.11.2 SDK.
Change 3161624 on 2016/10/13 by Josh.Adams
- Fixed MAX_PATH usage, should be PLATFORM_MAX_FILEPATH_LENGTH
Change 3161639 on 2016/10/13 by Josh.Adams
- Added curl to main Wolf build since now it's used not just with OSS
Change 3161737 on 2016/10/13 by Josh.Adams
- Added support for staging .pem files for SSL peer verification
Change 3161923 on 2016/10/13 by Dmitry.Rekman
Linux: provide choice between RTLD_GLOBAL/LOCAL when opening DSOs (UE-36716).
- By default, Unreal modules will be opened with RTLD_LOCAL (so the hot reload has a chance to work).
- However, if "ue4_module_options" symbol is exported (a string with comma-separated options), and "linux_global_symbols" is present in that string, RTLD_LAZY will be used.
- DSOs that don't have either ue4_module_options nor are recognized as UE4 modules will be loaded RTLD_GLOBAL.
- PR #2823 by 20tab.
Change 3163532 on 2016/10/14 by Michael.Trepka
Copy of CL 3162466
By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking
#jira UE-37088
Change 3163550 on 2016/10/14 by Josh.Stoddard
Fix key event processing during movies using FDefaultGameMoviePlayer
#jira UE-37294
Change 3163687 on 2016/10/14 by Josh.Adams
- Added a workaround for Wolf crashing inside vswprintf with %p
Change 3163693 on 2016/10/14 by Josh.Adams
- Added a delegate for getting extra on-screen messages (like the Shaders to compile, etc).
Change 3163725 on 2016/10/14 by Josh.Adams
- Added high level Wolf network transition functions for Wolf
Change 3163745 on 2016/10/14 by Josh.Adams
- Wolf OSS changes for new high level networking logic, cleaned up includes, added on screen messages with status
Change 3164455 on 2016/10/17 by Josh.Adams
- SOmehow a file wasn't checked out, but writable. Checking in now
Change 3164630 on 2016/10/17 by Michael.Trepka
Copy of CL 3162062
Replaced FWindowsCursor hack for warping the mouse cursor to the center of the viewport with a better fix for the original problem (users being able to resize the window while the cursor is hidden and the mouse controls the camera). This change removes round window corners in borderless window mode and disables window resizing when the cursor is hidden.
Change 3164975 on 2016/10/17 by Joe.Graf
Changed the New Plugin Wizard to only show plugin types available for that project type (content only or code)
Change 3165213 on 2016/10/17 by Josh.Adams
- Fixed some perf testing by disabling the startup benchmark for UT on non-desktop platforms
Change 3165576 on 2016/10/18 by Dan.Mahashin
- Fix broken colors in QAGame UE-37197: depth write cannot work without depth test being enabled.
Change 3165809 on 2016/10/18 by Josh.Stoddard
Enforce UMaterialExpressionActorPositionWS dependency on primitive uniform buffer #jira UE-37425 #rb chris.bunner
Change 3165948 on 2016/10/18 by Owen.Stupka
Fix exception when creating an exception to say we don't have a 32-bit VC compiler installed.
Change 3166330 on 2016/10/18 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Change 3166456 on 2016/10/18 by Dmitry.Rekman
Fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
Change 3166457 on 2016/10/18 by Chris.Babcock
Add missing MultiviewOVR functions for Android deferred
#jira UE-37401
#ue4
#android
Change 3166469 on 2016/10/18 by Dmitry.Rekman
Linux: make target platform modules independent (UE-37370).
- Module load order is different for target platform modules between UE4Editor and UE4Editor-Cmd, and dependent modules may end up being loaded first.
Change 3166755 on 2016/10/18 by Joe.Barnes
[UE-35552] Enable PLATFORM_ENABLE_VECTORINTRINSICS_NEON on Wolf.
Change 3166757 on 2016/10/18 by Joe.Barnes
[UE-35552] Optimized platform specific implementation of some common math functions.
Change 3166761 on 2016/10/18 by Joe.Barnes
Use new 64 bit Power of 2 function.
Change 3167865 on 2016/10/19 by Josh.Adams
- Wolf P2P/NAT stuff working!
- Minor Wolf net mode fixes
Change 3167869 on 2016/10/19 by Josh.Adams
- Moved a blocking net call for Wolf Http into a thread
Change 3168100 on 2016/10/19 by Joe.Barnes
#include <NVN/nvn_CppMethods.h>. Fixes a compiler problem with some inline functions not being available during compile phase.
Change 3168101 on 2016/10/19 by Joe.Barnes
Exposed a function to create a platform based filename
Change 3168141 on 2016/10/19 by Dmitry.Rekman
TestPAL: better test for allocation sizes.
Change 3168144 on 2016/10/19 by Dmitry.Rekman
Fix for FMallocBinned::GetAllocationSize() for aligned allocations.
Redoing SteveR's fix in 4.13/4.14.
Copied from CL# 3165739.
#jira UE-37249
#jira UE-37243
Change 3168213 on 2016/10/19 by Josh.Adams
- Wolf OSS function rename
Change 3168313 on 2016/10/19 by Josh.Adams
Rename/move file(s)
Change 3168691 on 2016/10/20 by Dan.Mahashin
- Fixed application teardown and memory leak:
- NVNCommandContext was failing to free the last frame resources on shutdown (resources were thought to be in use because never actually processed by GPU)
- NVNCommandContext was leaking a FSyncedFrameDestruction at each frame
- NVNTempBlockManager was not freeing all of its temp blocks upon shutdown
Change 3168986 on 2016/10/20 by Josh.Adams
- Removed some log spam
Change 3168990 on 2016/10/20 by Josh.Adams
- Removed dead code
Change 3169091 on 2016/10/20 by Josh.Adams
Moved UT's OnlineGameplayFramework plugin into NotForLicensees so licensees don't need Mcp
Change 3169262 on 2016/10/20 by Josh.Adams
- Updated the OnScreenMessages to use a TMap of severity to message, so we can have multiple colors, etc
- Also has some fixes needed from a merge down (oops)
Change 3169363 on 2016/10/20 by Dmitry.Rekman
TestPAL: final synth test for stomp.
Change 3169436 on 2016/10/20 by Michael.Trepka
Change the minimum supported macOS version setting in Info.plists to 10.11.6
Change 3169510 on 2016/10/20 by Dmitry.Rekman
TestPAL: added stomp test with poison proxy.
Change 3169972 on 2016/10/20 by Dmitry.Rekman
Re-enable PoisonProxy.
Change 3170000 on 2016/10/20 by Dmitry.Rekman
Linux: minor code cleanup.
Change 3170400 on 2016/10/21 by Josh.Adams
- Added a comment with current supported SDK in UEBuildWolf.cs
Change 3170929 on 2016/10/21 by Josh.Adams
- Added generic Elf symbol parser to MemoryProfiler2 app. It uses nm.exe, and any platform that uses it would need to subclass it (which Wolf now does)
Change 3171266 on 2016/10/21 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
Change 3172847 on 2016/10/24 by Josh.Adams
- Added a null Material check to the recent change to UMaterialExpressionActorPositionWS
#jira UE-37730
Change 3173535 on 2016/10/25 by Josh.Adams
- Helping clean up some misplaced files, since obliterate caused problems with BulletProofSync
[CL 3174242 by Josh Adams in Main branch]
* Adding .tps files for approved but undocumented TPS.
* Minor .tps updates
#rb none
#lockdown Nick.Penwarden
[CL 3087561 by Leslie Nivison in Main branch]
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2945365 on 2016/04/15 by Mark.Satterthwaite
Assert if anyone calls RHIClearUAV on a structured-buffer or texture under Metal - there's no clear way to implement these cases yet.
Change 2945366 on 2016/04/15 by Mark.Satterthwaite
Change the Metal parallel command-context submission to hand-off the entire NSArray of MTLCommandBuffers to avoid race conditions between one use of a context and the next.
Change 2945394 on 2016/04/15 by Mark.Satterthwaite
Duplicate CL #2943702 from 4.11.2: Change the way Metal validates the render-target state so that in FMetalContext::PrepareToDraw it can issue a last-ditch attempt to restore the render-targets. This won't fix the cause of the Mac Metal crashes but it might mitigate some of them and provide more information about why they are occurring.
Change 2945444 on 2016/04/15 by Mark.Satterthwaite
Cache the Metal fallback depth-stencil surface for the canvas tile rendering so that we only ever keep one spare depth-stencil surface around. This costs us a little more permanent memory but reduces churn.
Change 2945457 on 2016/04/15 by Mark.Satterthwaite
Add validation code to MetalRHI to ensure that we don't erroneously re-clear existing render contents when restoring the render command encoder. This will only be active when the Metal debug layer is enabled and is completely compiled away in Test & Shipping builds for performance.
Change 2946249 on 2016/04/16 by Nick.Shin
build HarfBuzz for HTML5
#jira UE-28552 - HarfBuzz - HTML5
Change 2946250 on 2016/04/16 by Nick.Shin
Rename/move file(s)
move emscripten (part 1 of 2)
from Engine/Source/ThirdParty/HTML5/emsdk
to Engine/Extras/ThirdPartyNotUE/emsdk
this is a request from legal
Change 2946251 on 2016/04/16 by Nick.Shin
move emscripten (part 2 of 2)
build scripts and cpp files updated with new emscripten path
from Engine/Source/ThirdParty/HTML5/emsdk
to Engine/Extras/ThirdPartyNotUE/emsdk
this is a request from legal
Change 2946516 on 2016/04/18 by Mark.Satterthwaite
Disable r.DFShadowScatterTileCulling as well as r.AOScatterTileCulling on Mac because we don't have the necessary RW textures on Metal.
Change 2947000 on 2016/04/18 by Michael.Trepka
Print OS X version to log in FMacPlatformMisc::PlatformInit()
Change 2948197 on 2016/04/19 by Lee.Clark
PS4 - Use SDK 3.508.031
Change 2948301 on 2016/04/19 by Nick.Shin
upgrading zlib openssl libcurl libwebsockets
part 1 of 2 -- adding new compiled versions (part 2 will be removing the old version -- which will be done after platform owners are given a chance to recompile for their platform - most notably: zlib)
NOTE: Linux libraries are built for CentOS 6.7 (i.e. 2010 - glibc 2.12 and gcc 4.4.7)
#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 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948320 on 2016/04/19 by Nick.Shin
update OpenSSL to v1.0.1s
part 2 of 4 - doing this in stages for tracking purposes
also, removing dynamic libs (for windows) -- these are no longer needed as this is now statically linked in editor
- tested by installing perforce server setup with ssl access only and pointing editor source code to it as ssl:hostname:port
- also tested trying accessing it without ssl which resulted in access denied indicating a successful test of dynamic lib removal
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948323 on 2016/04/19 by Nick.Shin
build scripts
pull source and compile - zlib openssl libcurl & libwebsockets
tested on:
- Win64 VS2013 & VS2015
- OSX
- Linux
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1203 - Add Linux library for libwebsockets
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948337 on 2016/04/19 by Lee.Clark
VS 2015 libScePad support
Change 2948382 on 2016/04/19 by Mark.Satterthwaite
Add Mac model, CPU string, num HTs to the log on Mac so that errors reported to us contain the data that Apple want when we turn them into bug-reports. Also added a missing sigaction from the trampoline.
Change 2948385 on 2016/04/19 by Mark.Satterthwaite
Disambiguate Metal command-buffer failures by vendor & error type so that we don't end up with just one crash-reporting entry for many different kinds of crash and enable this assertion on all builds because it will always be fatal and failing to crash here may end up causing the Mac to reboot.
Change 2948460 on 2016/04/19 by Peter.Sauerbrei
fix for wrong line endings
Change 2948526 on 2016/04/19 by Nick.Shin
fix for wrong line endings
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2949398 on 2016/04/20 by Lee.Clark
PS4 - Fix SDK compile warnings
Change 2949656 on 2016/04/20 by Nick.Shin
Back out changelist 2948320
but keeping the C# build file as-is
Change 2949676 on 2016/04/20 by Mark.Satterthwaite
Double-buffer the Metal viewport's back-buffer so that we can access the contents of the back-buffer after EndDrawingViewport is called until BeginDrawingViewport is called again on this viewport, this makes it possible to capture movies on Metal.
#jira UE-29140
Change 2950025 on 2016/04/20 by Mark.Satterthwaite
Undo CL #2949676 and instead on Mac where we want to be able to capture videos of gameplay we just insert an intermediate texture as the back-buffer and use a manual blit to the drawable prior to present. This also changes the code to enforce that the back-buffer render-target should never be nil as the code & Metal API itself assumes that this situation cannot occur but it would appear from continued crashes inside PrepareToDraw that it actually can in the field. This will address another potential cause of UE-29006.
#jira UE-29006
Change 2950084 on 2016/04/20 by Nick.Shin
OSX warning fix:
UE4 supports down to OSX 10.9 rebuilt the zlib openssl libcurl and libwebsockets to support that
build file also updated to use MACOSX_DEVELOPMENT_TARGET=10.9
Change 2950613 on 2016/04/20 by Dmitry.Rekman
UAT: Disable modules that are not supported on Linux.
#rb none
#codereview Ben.Marsh, Michael.Trepka, Josh.Adams
#tests Run RunUAT.sh
Change 2951065 on 2016/04/21 by Nick.Shin
temp: update SSL dlls in Engine/Binaries/ThirdParty/OpenSSL/Win64
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951574 on 2016/04/21 by Nick.Shin
remove unused variable warning
was bughunt code...
Change 2951652 on 2016/04/21 by Josh.Adams
- Disabled MRT support on iPad Air 1 devices, since it doesn't support wide enough MRTs that the engine needs (ie, only use MRTs in METAL_MRT mode on iOS)
Change 2951656 on 2016/04/21 by Josh.Adams
- Fixed Mac compile error in Metal
Change 2951718 on 2016/04/21 by Nick.Shin
remove shared SSL DLLs in a controlled manner
tested with QA help who was able to replicate the bug in the morning - and was able to successfully run the editor with this changelist (shelved - remote unshelved test - thanks Dan.Bullard_volt!)
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951862 on 2016/04/21 by Lee.Clark
PS4 - Enable Neo high resolution support.
Change 2952409 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the libs and header files
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2952580 on 2016/04/22 by Lee.Clark
PS4 - Fix staging and deploying of system prxs
Change 2953152 on 2016/04/22 by Mark.Satterthwaite
Only cache instances of TShadowDepthVS with bIsForGeometryShader=true when the RHI can handle the underlying feature. We can save memory on iOS by only emitting these shaders on Mac Metal or RHI's with Geometry shaders which have the required H/W to do this.
Change 2953385 on 2016/04/22 by Nick.Shin
use HarfBuzz libs for HTML5
c# build files updated to link in the harfbuzz libs
#jira UE-28552 - HarfBuzz - HTML5
Change 2954686 on 2016/04/25 by Nick.Shin
from legal:
Emscripten approved for redistribution provided that *all* files are checked into the following directory: Engine/Extras/ThirdPartyNotUE
Please also check in the attached .tps files and licenses alongside the TPS itself. This will allow us to track third party files within P4.
Change 2954928 on 2016/04/25 by Daniel.Lamb
Fixed min number of threads allocated for compiling shaders in cooker.
Change 2954942 on 2016/04/25 by Daniel.Lamb
Added flag -skipcompile for running visual studio.
Skip force compilation on -multiprocess flag.
#jira UE-22308
#PR 1678
#1678
Change 2954948 on 2016/04/25 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 2955370 on 2016/04/25 by Josh.Adams
- Fixing C# error from main
#lockdown nick.penwarden
Change 2957745 on 2016/04/27 by Daniel.Lamb
Pull request from acordon@microsoft.com.
Fixed deterministic cooking issue with StaticMeshComponent using StaticMesh before it had it's postload call.
Change 2957747 on 2016/04/27 by Daniel.Lamb
Pull request from acordon@microsoft.com.
Resave packages commandlet now can also rebuild asset registry paths with consistent case.
Change 2957750 on 2016/04/27 by Daniel.Lamb
Pull request from acordon@microsoft.com.
Fixed deterministic cooking issue with StaticMeshComponent using StaticMesh before it had it's postload call.
Change 2958708 on 2016/04/28 by Nick.Shin
remove boringSSL
#jira UE-29970 - QAGame launch on fails for Win64, fatal error LNK1169: one or more multiply defined symbols found
#lockdown josh.adams
Change 2958724 on 2016/04/28 by Nick.Shin
moved setting bVerifyPeer flag AFTER CertBundlePath has been set...
otherwise, libCurl is going to try to verify the SSL session - but without a cert file, it makes no sense to try and verify the session
- we could (and probably should) make this an error condition - but the constructor has the bVerifyPeer set to true -- which would mean that all games will need to have a cert file and/or know to set bVerifyPeer to false...
- and so far, only linux and android seem to have code in place to make use of the cert files...
#jira UE-29950 - Orion deticated server MCP authentication fails when using CURL
#lockdown josh.adams
Change 2959058 on 2016/04/28 by Mark.Satterthwaite
Mac Metal RHIGetSupportedResolution & RHIGetAvailableResolutions exactly as they were for Mac OpenGL.
Change 2959587 on 2016/04/28 by Jeff.Campeau
Use response files for compiling CPPs using the VC toolchain to avoid issues where the command line is too long for XGE
Change 2959605 on 2016/04/28 by Jeff.Campeau
Reuse existing response files if contents are unmodified.
#2278
Change 2959680 on 2016/04/28 by Daniel.Lamb
Don't cook clients when building only server configs.
#pr 2127
#2127
Change 2959764 on 2016/04/28 by Nick.Shin
set PS4 back to using boringSSL - until OpenSSL has been built for it
#jira UE-30088 - Orion PS4 Cook and Deploy fails to build for PS4
Change 2959875 on 2016/04/28 by Jeff.Campeau
Simplified compression to use a bitwindow param instead of a targetplatform param
Added bitwindow parameter for unrealpak
Set Xbox One to pass 12 bit window for paks (for hw decompress)
Change 2959960 on 2016/04/28 by Nick.Shin
removed url protocol scheme from external script loads - this will support fetching scripts with either http or https automatically
and added window.focus after game has finished compiling - this will help if game is inside an iframe
#jira UE-29886 - HTML5 project does not load using itch.io
Change 2960064 on 2016/04/28 by Dmitry.Rekman
XMPP: Add missing dependency on OpenSSL on Linux.
Change 2961310 on 2016/04/29 by Mark.Satterthwaite
DistanceField tile alignment changes to attempt to make it work on Mac.
Change 2961602 on 2016/04/29 by Nick.Shin
#ifndef'd EMSCRIPTEN around FOpenGL::Flush();
answerhub 409649 - HTML5 OpenGL backend doesn't need to flush GL commands
Change 2961604 on 2016/04/29 by Nick.Shin
return "()" on empty object
answerhub 390139 - JSON Conversion of TMaps of UStructs Can't Deserialize
Change 2963068 on 2016/05/02 by Peter.Sauerbrei
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 2963302 on 2016/05/02 by Peter.Sauerbrei
fix for PS4 build failure
Change 2963731 on 2016/05/02 by Dmitry.Rekman
Linux: move crash/ensure info from Binaries to Saved (UE-28411).
- Allows running from read/only locations, since Saved can be redirected.
#rb none
#codereview Chris.Wood, David.Vossel
Change 2963737 on 2016/05/02 by Dmitry.Rekman
CrashMalloc: get allocation size also from jemalloc.
- Editor builds on Linux are otherwise shutting down on attempting to realloc things ("binned" is not used for the editor).
#rb none
#codereview Chris.Wood, Robert.Manuszewski, Steve.Robb
Change 2963989 on 2016/05/03 by Lee.Clark
PS4 - Fix texture initialization
Change 2964296 on 2016/05/03 by Dmitry.Rekman
Better fix for getting previous allocation size.
- Suggested by GilG.
#codereview Gil.Gribb
Change 2964398 on 2016/05/03 by Mark.Satterthwaite
Added GetCompressionBitWindow to IPlatformCompression so that FArchive compression can acquire the platform specific window value at runtime even without the Developer-only TargetPlatform modules. This allows the ShaderCache to perform runtime compression of preloaded shaders in-game without crashing.
#jira UE-30238
Change 2965966 on 2016/05/04 by Peter.Sauerbrei
fix for bad path when deploying from mac
#jira UE-30294
#lockdown josh.adams
Change 2968380 on 2016/05/05 by Dmitry.Rekman
Fix visibility placement which breaks Linux build.
#lockdown Josh.Adams
#codereview James.Golding
Change 2969002 on 2016/05/06 by Nick.Shin
use boringssl until webrtc recompiled with openssl work is finished
#jira UE-30298 - Fortnite and Orion crash on login
#lockdown josh.adams
Change 2969545 on 2016/05/06 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
#lockdown nick.penwarden
Change 2969923 on 2016/05/06 by Chris.Babcock
Fix linker warning (mismatched function/variable for glMapBufferOES and glUnmapBufferOES)
#jira UE-30222
#ue4
#android
#lockdown Josh.Adams
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
#lockdown josh.adams
#lockdown nick.penwarden
[CL 2970080 by Josh Adams in Main branch]
#jira UE-29550 - //UE4/Main UE4_HTML5_Mono_Precompiled completed with warnings Closure compiler
#lockdown josh.adams
[CL 2946263 by Nick Shin in Main branch]
#jira UE-29550 - //UE4/Main UE4_HTML5_Mono_Precompiled completed with warnings Closure compiler
#lockdown josh.adams
[CL 2946253 by Nick Shin in Main branch]
==========================
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]
Move the Apple Driver Monitor stats into their own stat groups, DriverMonitor has the common stats, DriverMonitorAMD/Intel/Nvidia have the vendor/GPU specific stats. The Metal and OpenGL RHIs update the driver monitor stats group for the current GPU at the appropriate time.
Change 2898950 on 2016/03/08 by Mark.Satterthwaite
More shader cache code documentation.
Change 2898952 on 2016/03/08 by Michael.Trepka
Check GPU driver version and warn of bad drivers only on Windows
Change 2898964 on 2016/03/08 by Mark.Satterthwaite
Only verify the vertex attribute layout for Metal in debug builds or when using development with the debug layer turned on. It reduces performance significantly and isn't all that helpful unless you are attempting to debug a mismatch.
Change 2898973 on 2016/03/08 by Mark.Satterthwaite
Switch uniform buffers to managed memory on Mac as this is more appropriate for AMD & Nvidia GPUs.
Change 2898988 on 2016/03/08 by Mark.Satterthwaite
Simplify MetalContext by having only one SubmitCommandsHint implementation.
Change 2899011 on 2016/03/08 by Mark.Satterthwaite
Duplicate 4.11 CL #2898988:
Proper fix for UE-25804 - we have to manually expand PF_G8 + SRGB to RGBA8_sRGB - this then fixes UE-27483.
#jira UE-25804
#jira UE-27483
Change 2899024 on 2016/03/08 by Mark.Satterthwaite
Duplicate 4.11 CL #2887365 & CL #2887583:
Allow InfiltratorDemoEditor under Metal to issue a query buffer reset without crashing - the function that switches to the new query buffer needs to reapply some of the draw-state so that future commands don't dereference nil.
#jira UE-27513
My earlier fix for UE-27513 overlooked various internal details that meant it wouldn't restore state correctly, would fail validation and could crash in a new place. This version will ensure that cached state is only reset when it is appropriate to do so and will restore it correct when doing a query buffer reset.
#jira UE-27513
Change 2899418 on 2016/03/08 by Daniel.Lamb
Added support for textboxes in the editor to convert uasset filenames into long package names. As this is more useful to the cooker and more portable for projects.
#codereview Matt.Kuhlenschmidt
#jira UE-27785
Change 2899419 on 2016/03/08 by Daniel.Lamb
Added support for passing -opengl command through to launch on if the editor is started with it.
#codereview Michael.Trepka
Change 2900846 on 2016/03/09 by Mark.Satterthwaite
Reimplement Metal object lifetime tracking as stats in the stat-group, though the old system is maintained as a debug-only tool that could (and probably should) be extended to track over/under-release bugs. Currently the texture count will be distorted by texture SRVs so will need improvement but other stats should be reliable. In order to properly report the number of buffers the TResourcePool policy class must now define a FreeResource function, so I've added them to the appropriate places too.
Change 2900853 on 2016/03/09 by Mark.Satterthwaite
Optimise away empty encoders that don't perform a clear operation on AMD & Intel, but not Nvidia or non-Mac Metal devices. This should slightly improve performance.
Change 2900927 on 2016/03/09 by Mark.Satterthwaite
Implemented operation threshold submission of Metal command buffers to keep the GPU busier and not just idle waiting for the CPU. Whenever rhi.Metal.CommandBufferCommitThreshold is set to a value >0 and the current command buffer has >= draw/dispatch operations outstanding then the command-buffer will be committed at the next encoder boundary. The default value is 100 operations which is currently arbitrary and the feature can be disabled by setting the value to <= 0 in which case only explicit submissions will occur as previously.
Change 2901310 on 2016/03/09 by Mark.Satterthwaite
Change OneColor clear shader setup so that it works with parallel encoding in Metal.
Change 2903002 on 2016/03/10 by Mark.Satterthwaite
Instantiate the OneColor shaders once in Metal.
Change 2903274 on 2016/03/10 by Mark.Satterthwaite
Remove more unnecessary parallel execution stalls from MetalRHI.
Change 2903402 on 2016/03/10 by Mark.Satterthwaite
Implement Metal support for index buffer SRVs.
Change 2903419 on 2016/03/10 by Mark.Satterthwaite
Always use Managed memory on Mac Metal for buffers.
Change 2905206 on 2016/03/11 by Mark.Satterthwaite
Worked around UE-27818 "ElementalDemo Causes Invalid Rendering on AMD GPUs" - recent changes to allow mesh particles to write to velocity leave a texture-buffer unbound & then use a uniform value & an if-branch to guard against access but AMD's Mac GL driver notices that the buffer is referenced in the shader but not bound & promptly tries to fallback to Apple's S/W renderer regardless of what the uniform value is. That's legal behaviour for an OpenGL implementation so the C++ code has been changed to allocate and write the current transforms into the buffer for OpenGL when they wouldn't otherwise be provided. This is sufficient to avoid the problem without affecting any other API.
Change 2906217 on 2016/03/11 by Nick.Shin
re-enabled http network file server
it was disabled in CL: #2790193
#jira UE-22166 HTML5 Cook on the fly will launch and then close browser
Change 2908203 on 2016/03/14 by Michael.Trepka
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform). Everything but SSF lib.
Change 2908553 on 2016/03/14 by Mark.Satterthwaite
Force a submit & wait in Metal when contexts are being destroyed to prevent kernel panics in drivers which continue to process the now abandoned command-queue and encounter invalid resources (because we destroy them on shutdown).
Change 2908595 on 2016/03/14 by Michael.Trepka
Fixed iOS compile error in MetalUniformBuffer.cpp
#codereview Mark.Satterthwaite
Change 2910106 on 2016/03/15 by Mark.Satterthwaite
Use a dispatch_semaphore not an FEvent for Metal free-list synchronisation as the dispatch_worker threads can't be properly setup for FStats and this causes problems.
Change 2910107 on 2016/03/15 by Mark.Satterthwaite
Fix Metal reporting of GPU memory through the RHI as it is in bytes, not MB.
Change 2910138 on 2016/03/15 by Mark.Satterthwaite
Properly retain/release dispatch_semaphore for Metal command buffer completion block & allow uniform buffer creation on parallel encoding thread.
Change 2911735 on 2016/03/16 by Nick.Shin
housekeeping
removing extra and inconsistant whitespace as well as making tabs & spaces consistant
[CL 2936662 by Josh Adams in Main branch]
and unwinding the previous checkin
#jira UE-25822 //UE4/Main: UE4_HTML5_Mono_Precompiled Warnings
#lockdown marc.audy
[CL 2849957 by Nick Shin in Main branch]
SetUpEmscriptenConfigFile() also updated to be generated via emscripten itself instead of manually writing it out
#jira UE-25822 -- //UE4/Main: UE4_HTML5_Mono_Precompiled Warnings
#lockdown josh.adams
[CL 2847435 by Nick Shin in Main branch]
Change 2783376 on 2015/11/30 by Nick.Shin
upgrading emscripten SDK to 1.35.9
following instruction from the README file
Change 2787414 on 2015/12/02 by Nick.Shin
upgrading emscripten to 1.35.0
removing old SDK and tools for Mac and Win64
Change 2790218 on 2015/12/04 by Nick.Shin
merge (CL: #2790164) from //UE4/Dev-Physics to //UE4/Dev-Platform
PhysX HTML5 bc files
Change 2794786 on 2015/12/08 by Nick.Shin
merge CL #2794757 part 1 of 2
from //UE4/Dev-Physics/PhysX/PhysX_3.3/Lib/html5
to //UE4/Dev-Platform/Engine/Source/ThirdParty/PhysX/PhysX-3.3/lib/HTML5/
Change 2794789 on 2015/12/08 by Nick.Shin
merge CL #2794758 part 2 of 2
from //UE4/Dev-Physics/PhysX/PhysX_3.3/Lib/html5
to //UE4/Dev-Platform/Engine/Source/ThirdParty/PhysX/PhysX-3.3/lib/HTML5/
Change 2799151 on 2015/12/10 by Dmitry.Rekman
Guarantee XGE.xml sorting order for 10+ builds.
- A licensee pointed out the problem that AutomationTool.UE4Build.FindXGEFiles() sorts the files by filename, so e.g. UBTExport.10.xge.xml takes priority over UBTExport.2.xge.xml.
#codereview Ben.Marsh
Change 2799440 on 2015/12/11 by Mark.Satterthwaite
Duplicate CL #2790251: Temporarily revert some of the changes for Mac mouse cursor locking as they were causing more problems than they solved.
Change 2799441 on 2015/12/11 by Mark.Satterthwaite
Duplicate CL #2796111 & #2796158: Fix cooking shader cache files - it wasn't being enabled despite a cached shader format being listed.
Change 2799442 on 2015/12/11 by Mark.Satterthwaite
Duplicate CL #2797758: Defer calls to AUGraphUpdate into FCoreAudioDevice::UpdateHardware - this call will synchronise the calling thread with the CoreAudio thread/run-loop so that the CoreAudio graph is safe to modify and this may incur a significant stall. This means it is far more efficient to amortise the cost of all changes to the graph with a single call. To ensure correctness the audio format conversion components are cached and disposed of after the call to AUGraphUpdate so that any existing operations on the CoreAudio thread are completed prior to disposal.
Change 2799601 on 2015/12/11 by Mark.Satterthwaite
Implement background reading of NSPipe's in Mac ExecProcess to avoid the sub-process blocking trying to write to the meagre 8kb internal buffers. This may fix problems with SVN on Mac.
Change 2799657 on 2015/12/11 by Mark.Satterthwaite
Remove the hlslcc major version from the Metal and OpenGL shader formats to ensure that there are enough bits to represent the different version components. There's no expectation that the major version of hlslcc will change and it will soon be removed entirely.
Change 2799691 on 2015/12/11 by Mark.Satterthwaite
Merging final internal-only changes from WWDC.
Change 2800182 on 2015/12/11 by Mark.Satterthwaite
Capture the system.log contents from the moment we boot to the point we crash to report GPU restarts and other system errors not written into our own logs.
Change 2801395 on 2015/12/14 by Mark.Satterthwaite
Fix the Metal shader compiler so that it properly reports the number of sampler objects in use, not the number of textures as Metal separates its 16 samplers and up-to 128 textures in a single shader stage, like D3D and unlike OpenGL. This fixes a lot of material compile errors in newer projects which aren't being designed for obsolete OpenGL.
Change 2801653 on 2015/12/14 by Daniel.Lamb
Load package differ can now diff header part of packages.
Changed the way IsChildCooker is handled improves performance of multiprocess cooker.
Change 2801655 on 2015/12/14 by Daniel.Lamb
Added cooker warning to resave packages if they don't have collision data for their static meshes.
Added NavCollision creation on static mesh import so that we save out the NavCollision.
Change 2801923 on 2015/12/14 by Daniel.Lamb
Fix compilation error with CreateLoader.
Change 2802076 on 2015/12/14 by Daniel.Lamb
Remove some debugging assistance code.
Change 2803207 on 2015/12/15 by Mark.Satterthwaite
Add missing Metal formats for PF_R16_SINT/UINT.
Change 2803254 on 2015/12/15 by Mark.Satterthwaite
Add additional uint/2/3/4 overrides for SV_Target(x) to MetalUtils and when generating the output variable look for an exact type match before restoring to the first match with the correct number of elements. This ensures that we generate uint/2/3/4 writes when required for CopyStencilToLightingChannelsPS without breaking anything else.
Change 2803259 on 2015/12/15 by Mark.Satterthwaite
Fix stencil texture swizzle for Metal which uses .x not .g for stencil value.
Change 2803262 on 2015/12/15 by Mark.Satterthwaite
Fix FMetalRHICommandContext::RHISetScissorRect handling 0 sized rects when RHISetScissorRect is called before RHISetViewport.
Change 2803321 on 2015/12/15 by Mark.Satterthwaite
Duplicate CL #2786291: Fix Metal validation errors caused by incorrect instance count and also a crash-bug caused by accessing a defunct depth-stencil texture. This should be enough to ensure Metal works even if you've been playing previously with OpenGL.
Change 2803413 on 2015/12/15 by Mark.Satterthwaite
Workaround the Material Editor's unfortunate habit of rendering tiles without a depth/stencil-buffer attached despite tiles wanting to write to depth - in Metal we have to create a temporary Depth-Stencil texture so that we don't crash the driver because it won't rewrite the shaders for us (unlike D3D/GL).
Change 2806247 on 2015/12/16 by Daniel.Lamb
Fixed UParticleRequiredModule deterministic cook issue.
#codereview Olaf.Piesche
Change 2806834 on 2015/12/17 by Mark.Satterthwaite
Temporarily work around absence of Checked & Shipping APEX/PhysX binaries on Mac.
Change 2807017 on 2015/12/17 by Mark.Satterthwaite
Handle the shader cache being initialised for cooking multiple times until I can sort out the implementation properly.
Change 2807027 on 2015/12/17 by Daniel.Lamb
Enabled DDC stats.
==========================
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.