Commit Graph

105 Commits

Author SHA1 Message Date
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Josh Adams
660ab7f0c9 Copying //UE4/Dev-Platform to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	PS4 - Don't try to clear invalid targets

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Fix for Android IAP query not returning entire inventory.

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

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

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

	Added some verbose logging to apple movie player.

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

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

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

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

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

	Improved performance of cooking stats system.

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

	Improved cooking stats performance for ddc stats.
2015-12-10 16:56:55 -05:00
Nick Penwarden
828f57e397 Copying //UE4/Dev-Mobile to Dev-Main (//UE4/Dev-Main)
#lockdown Ben.Marsh

Change 2718980 on 2015/10/07 by Dmitriy.Dyomin
	UWorld::CreateWorld: remove commandlet-specific behavior (Contributed by slonopotamus)

Change 2719155 on 2015/10/07 by Allan.Bentham
	HQ ES2 Reflections, selects the nearest 3 reflection captures to the primitive and reflects around the captures themselves (parallax correction).

Change 2724572 on 2015/10/12 by Jack.Porter
	Fix for landscape disappearing when using  r.forcelod

Change 2726062 on 2015/10/13 by Jack.Porter

	Merged CL2726057 from 4.10
	Fixed issues with landscape mirror tool on landscapes substantially above and below the zero line
	Fixed problem where landscape grass was not invalidated after using the mirror tool

Change 2726133 on 2015/10/13 by Jack.Porter
	Fix for Device Profiles editor missing specific Android device profiles
	Fix for Device Profiles editor creating blank device profiles for Android cook variant "platforms"

Change 2736210 on 2015/10/21 by Dmitriy.Dyomin
	Mobile Rendering: ReceiveDecals flag support for all meshes (previously only for skeletal meshes)

Change 2736463 on 2015/10/21 by Jack.Porter
	Merge of 4.10 CL 2736461
	Fixed Landscape disappearing when Layer Debug visualization selected outside Landscape edit mode

Change 2742855 on 2015/10/27 by Dmitriy.Dyomin
	Fixed: World origin offset handling for UInterpToMovementComponent
	https://udn.unrealengine.com/questions/266512/uinterptomovementcomponent-doesnt-update-with-worl.html

Change 2745055 on 2015/10/28 by Allan.Bentham
	Update reflection captures (via update captures button) now works when mobile preview is active.

Change 2755668 on 2015/11/05 by Allan.Bentham
	Use distance from shadow view to object instead of view space Z.

Change 2762186 on 2015/11/11 by Jack.Porter
	The user can now specify the relative priority for each Android texture format in Project Settings. This will affect the format selected for Launch on Device and by the device for projects packaged using the Android_Multi target

Change 2765902 on 2015/11/13 by Gareth.Martin
	Landscape per-component layer whitelisting basic functionality

Change 2769487 on 2015/11/17 by Jack.Porter
	Support reflection viewmode on ES2 Preview

Change 2769576 on 2015/11/17 by Gareth.Martin
	Improved landscape per-component layer whitelisting functionality
	- added shortcut keys (plus/minus + click) to whitelist/un-whitelist a layer from the paint tool
	- automatically added components' painted layers to the component whitelists when enabling whitelist restriction

Change 2771223 on 2015/11/18 by Gareth.Martin
	Improved landscape per-component layer whitelisting functionality
	- Removing a layer from the whitelist will now delete its data from the component

Change 2777862 on 2015/11/23 by Gareth.Martin
	Improved landscape per-component layer whitelisting functionality
	 - on the shared verts on component edges/corners painting must now pass the whitelist of all components sharing the vert or it won't paint, rather than causing a disconnect
	Better handling of erasing 100%-painted areas of blended landscape weightmap
	 - It will now pick the first other painted layer on that component to fill the erased value with, so 100% areas of blended layers are now erasable.
	 - todo: erasing can still cause disconnects on shared edge verts

Change 2780470 on 2015/11/25 by Dmitriy.Dyomin
	Use hardware instancing when device supports it

Change 2780679 on 2015/11/25 by Jack.Porter
	Landscape layer usage viewmode

Change 2781878 on 2015/11/26 by Gareth.Martin
	Better handling of erasing 100%-painted areas of blended landscape weightmap
	 - It will now pick the *most painted* other painted layer on that component to fill the erased value with, and correctly takes shared edge/corner verts into account
	Various fixes to TMap/TSet/TFixedSizeArrayView - all reviewed by Core

Change 2782214 on 2015/11/27 by Allan.Bentham
	Prevent editor's ES2 emulation shaders degamma-ing the alpha channel when reading material textures.
	Merging using Ronin-To-UE4-Dev-Mobile

Change 2782536 on 2015/11/30 by Jack.Porter
	When updating reflection captures in ES2 mode, first wait for any shader compilation initiated by the feature level switch to complete

Change 2792617 on 2015/12/07 by Jack.Porter
	Added a Project Setting to edit the r.DiscardUnusedQuality console variable

Change 2792618 on 2015/12/07 by Gareth.Martin
	Baking landscape material world-position-offset into collision

Change 2794270 on 2015/12/08 by Dmitriy.Dyomin
	DynamicMeshBuilder uses 16bit index buffer on ES2 platforms

Change 2794556 on 2015/12/08 by Allan.Bentham
	Fix incorrect mip/roughness selection for HQ reflections.
	Fixed couple of merge issues.

Change 2794568 on 2015/12/08 by Gareth.Martin
	Fix black spot / hole if all layers on a component use height blending and add to <= 0

[CL 2796640 by Nick Penwarden in Main branch]
2015-12-09 15:04:15 -05:00
Justin Sargent
85261980f4 Copying //UE4/Portal-Staging to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden

[CL 2795338 by Justin Sargent in Main branch]
2015-12-08 16:59:43 -05:00
Chris Babcock
f8eb271dd2 Merging using UE4-To-UE4-Releases-4.10
Default launch image theme fallback is black to prevent stretch/squash of the image if started in wrong orientation
#jira UE-21702
#ue4
#android

[CL 2714961 by Chris Babcock in Main branch]
2015-10-02 15:29:14 -04:00
Gareth Martin
41b63fa034 First implementation of SWebBrowser for Android
[CL 2712814 by Gareth Martin in Main branch]
2015-10-01 10:39:13 -04:00
Chris Babcock
e699625ebb Merging using UE4-To-UE4-Releases-4.10
Add InputDeviceInfo class to proguard-project.txt
#ue4
#android

[CL 2710486 by Chris Babcock in Main branch]
2015-09-29 20:14:45 -04:00
Chris Babcock
18811f513c Support multiple gamepad controllers on Android including identifying Samsung EI-GP20 and input plugins
Adds ResetGamepadAssignments, ResetGamepadAssignmentToController, and IsControllerAssignedToGamepad to PlatformMisc and BP nodes
#jira UE-17956
#ue4
#android
#platformnotify Josh.Adams
#codereview Josh.Adams

[CL 2705582 by Chris Babcock in Main branch]
2015-09-24 21:03:00 -04:00
Chris Babcock
2c7346ba12 Correct possible Android crash on entering editable text
#jira UE-20728
#ue4
#android

[CL 2683905 by Chris Babcock in Main branch]
2015-09-08 18:43:53 -04:00
Leslie Nivison
ff3eaf36d2 Updating TPS files
[CL 2681371 by Leslie Nivison in Main branch]
2015-09-04 20:53:02 -04:00
Chris Babcock
a939d907d6 Add launch image support for Android (disabled for GearVR)
#ue4
#android

[CL 2673367 by Chris Babcock in Main branch]
2015-08-28 19:34:42 -04:00
Dmitriy Dyomin
0df4d7c9e4 Android: added a way to send console commands to UE4 application running on android device
example usage: adb shell am broadcast -a android.intent.action.RUN -e cmd "stat fps"

[CL 2665801 by Dmitriy Dyomin in Main branch]
2015-08-24 05:01:41 -04:00
Dmitriy Dyomin
5ef9cd670b Back out changelist 2665783 (too early)
[CL 2665786 by Dmitriy Dyomin in Main branch]
2015-08-24 04:44:13 -04:00
Dmitriy Dyomin
4eee72f191 Android broadcast console cmd
[CL 2665783 by Dmitriy Dyomin in Main branch]
2015-08-24 04:42:05 -04:00
Nick Whiting
793238f1c0 #gearvr Adding entitlement checking for GearVR
[CL 2642825 by Nick Whiting in Main branch]
2015-08-03 20:13:23 -04:00
Chris Babcock
59ae5585d9 Remove libGLES3 dependency from libvrapi
#jira UE-18997
#ue4
#android
#codereview Nick.Whiting

[CL 2637887 by Chris Babcock in Main branch]
2015-07-29 19:16:19 -04:00
buildmachine
ce42430211 Code documentation from CL#2636592
[CL 2636758 by buildmachine in Main branch]
2015-07-29 07:47:34 -04:00
Chris Babcock
1c4c6bc120 Fix dependency on libvrapi.so, for now always include it for armv7, will fix this with plugin dependency system later
#ue4
#android
#jira UE-18761
#codereview Nick.Whiting

[CL 2624851 by Chris Babcock in Main branch]
2015-07-17 16:34:33 -04:00
Chris Babcock
ba52691b20 Fix older Android SDK zipalign path for Ant and an issue for mac (.bat was hardcoded)
#ue4
#android
#codereview Josh.Adams

[CL 2595643 by Chris Babcock in Main branch]
2015-06-22 12:52:23 -04:00
Chris Babcock
2f1e4b2704 Fix Android packaging on newest SDK releases. Google removed paths to several tools in build.xml.
#ue4
#android
#codereview Josh.Adams

[CL 2593642 by Chris Babcock in Main branch]
2015-06-19 11:49:05 -04:00
Robert Jones
0ca3f7a241 UE-16552 - Application can crash when returning from a paused OBB download
- Changed logic for dealing with the download activity being backed out of
- Updated .bat file writing so that a second bat file which doesn't push the obb (but can remove it) is written

[CL 2581067 by Robert Jones in Main branch]
2015-06-09 06:34:08 -04:00
Robert Jones
38247c4430 UEPLAT-454 - Add option for fullscreen immersive mode for Android projects
- support added for Kitkat for fullscreen sticky mode

[CL 2562654 by Robert Jones in Main branch]
2015-05-22 11:09:51 -04:00
Chris Babcock
a66e7b3414 Invalidate window resolution cache on resume from background on Android
#ue-14790
#ue4
#android
#codereview Robert.Jones

[CL 2560053 by Chris Babcock in Main branch]
2015-05-20 20:32:30 -04:00
JJ Hoesing
d07a115a0a - key off of manifest for whether to enable the GearVR plugin, enabling blueprint only projects out of the box
- fix for lollipop issue

[CL 2553471 by JJ Hoesing in Main branch]
2015-05-15 16:22:16 -04:00
Chris Babcock
59df024276 Android media player fixes
#ue-11850
#ue4
#android
#codereview Allan.Bentham

[CL 2550920 by Chris Babcock in Main branch]
2015-05-14 12:36:56 -04:00