Commit Graph

38 Commits

Author SHA1 Message Date
Nick Whiting
d64cd6df6d Copying //UE4/Dev-VR to //UE4/Main (Source: //UE4/Dev-VR @ 2940090)
#lockdown nick.penwarden

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

Change 2897367 on 2016/03/07 by Chad.Taylor@Chad.Taylor_Z3299_Tango

	PS4Tracker Submit call now assigning the appropriate memory type read mode

Change 2920696 on 2016/03/23 by Nick.Whiting@nick.whiting_T7326_DevVRStream

	Fixed analytics event for VRPIE to have a description

	#jira UE-28562

Change 2925395 on 2016/03/28 by Chad.Taylor@Chad.Taylor_Z3299_Tango

	Aspect ratio and buffer clearing fixed up to properly handle non-standard viewport configurations.

	#jira UE-28816

Change 2932703 on 2016/04/04 by Nick.Whiting@nick.whiting_T7326_DevVRStream

	Merging CL 2922134, fix for culling because of stale view matrices

Change 2932761 on 2016/04/04 by Nick.Whiting@nick.whiting_T7326_DevVRStream

	Oculus 1.3 Engine support, merged from 4.11 stream

Change 2932762 on 2016/04/04 by Nick.Whiting@nick.whiting_T7326_DevVRStream

	Removing redundant libraries for Oculus LibOVRMobile

Change 2932765 on 2016/04/04 by Nick.Whiting@nick.whiting_T7326_DevVRStream

	Merging updated license files for Oculus libraries

Change 2938342 on 2016/04/08 by Ryan.Vance@ryan.vance_devvr

	Fixing bloom offset in stereo.

Change 2938427 on 2016/04/08 by Ryan.Vance@ryan.vance_devvr

	Adding PSVR support for changing the screen percentage dynamically. Previously it could only be changed with ini settings and a relaunch.
	Reworked mutex use in reprojection thread. Some things weren't locked that should have been and removed a redundant mutex.

Change 2938736 on 2016/04/08 by Ryan.Vance@ryan.vance_devvr

	#jira UE-26722
	Updating ISR related code for debug view to fix tesselation.

Change 2939709 on 2016/04/11 by Chad.Taylor@Chad.Taylor_Z3299_Tango

	Explicit order prioritization for ISceneViewExtensions for proper sampling order

Change 2939717 on 2016/04/11 by Chad.Taylor@Chad.Taylor_Z3299_Tango

	Initial stereo layer implementation sans editor wireframe visualization

Change 2939816 on 2016/04/11 by Chad.Taylor@Chad.Taylor_Z3299_Tango

	Stereo layer compionent visualizer

[CL 2940449 by Nick Whiting in Main branch]
2016-04-11 23:01:18 -04:00
Peter Sauerbrei
865909dbbb Copying //UE4/Dev-Mobile to Dev-Main (//UE4/Dev-Main) @2911599
#lockdown nick.penwarden

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

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

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

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

	DM - glslang

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

	DM - Common RHI changes

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

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

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

	DM - Split Immediate command list off RHI

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

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

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

	Static shadowing + dynamic-object CSM

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

	Mobile GPU particles

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

	Planar reflections very WIP

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

	Separate Translucency very WIP

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

	ProtoStar engine changes

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

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

	DM - Integrate pipeline cache

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

	DM - Initial CCT support

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

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

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

	DM - Added GRHINeedsExtraDeletionLatency from 4.11

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

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

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

	DM - Fence mgr (disabled)

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

	DM - Resource management (disabled)

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

	DM - Expand number of stencil op bits

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

	DM - Add support for more MaxSimultaneousRenderTargets

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

	DM - Support for 3d staging textures

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

	Vulkan RHI stub for new SharedResourceView RHI call

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

	DM - SM4 preq

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

	Android Vulkan support initial checkin

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

	Reinstate vertex fog, fixes UE-28166

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

	DM - Use fence manager

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

	DM - Descriptor pool

[CL 2912606 by Peter Sauerbrei in Main branch]
2016-03-16 21:16:51 -04:00
Andrew Grant
2084c03863 Copying //UE4/Orion-Staging to //UE4/Main (//Orion/Dev-General @ 2855324)
#lockdown Nick.Penwarden

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

Change 2855265 on 2016/02/03 by Max.Chen

	Sequencer: Release track editors when destroying sequencer

	#jira UE-26423

Change 2855247 on 2016/02/03 by Max.Chen

	PlacementMode: Null factory check in constructor to fix cooking.

	#codereview andrew.rodham
	#rb andrew.rodham
	#jira UE-26412

ChangeChange 2855116 on 2016/02/03 by Michael.Noland

	[AUTOMERGE]

	PS4: Added a log statement when the gap between SubmitDone calls exceeds 2 seconds and removed a duplicate call to set the LastSubmitDoneTime
	PS4: Fixed a bogus log statement when PS4_GNM_SLOW_FRAME_DEBUGGING=1

	Merging CL# 2854751 and 2852176 by way of 2855100

	#tests Tested on PS4 with PS4_GNM_SLOW_FRAME_DEBUGGING=1
	#rb dave.ratti
	#lockdown andrew.grant

	--------
	Integrated using branch //Orion/Main_to_//Orion/Dev-General of change#2855109 by Michael.Noland on 2016/02/03 20:59:51.

Change 2855109 on 2016/02/03 by Michael.Noland

	PS4: Added a log statement when the gap between SubmitDone calls exceeds 2 seconds and removed a duplicate call to set the LastSubmitDoneTime
	PS4: Fixed a bogus log statement when PS4_GNM_SLOW_FRAME_DEBUGGING=1

	Merging CL# 2854751 and 2852176 by way of 2855100

	#tests Tested on PS4 with PS4_GNM_SLOW_FRAME_DEBUGGING=1
	#rb dave.ratti
	#lockdown andrew.grant

Change 2855100 on 2016/02/03 by Michael.Noland

	PS4: Added a log statement when the gap between SubmitDone calls exceeds 2 seconds and removed a duplicate call to set the LastSubmitDoneTime
	PS4: Fixed a bogus log statement when PS4_GNM_SLOW_FRAME_DEBUGGING=1

	Merging CL# 2854751 and 2852176 using //Orion/Release-Next_to_//Orion/Release-Live

	#tests Tested on PS4 with PS4_GNM_SLOW_FRAME_DEBUGGING=1
	#rb dave.ratti
	#lockdown andrew.grant

ChangeChangeChangeChangeChange 2854825 on 2016/02/03 by Zabir.Hoque

	Harden MaterialParameterCollection from ending up with duplicate parameter names of GUIDs.

	#Tests: Ran debug editor, create materail param collection with >500 elements. Still only ~18ms. Used param in shader.
	#RB: Daniel.Wright
	#CodeReview: Daniel.Wright, Gil.Gribb, Rolando.Caloca, Marcus.Wassmer

Change 2854788 on 2016/02/03 by Josh.Markiewicz

	#UE4 - JsonObjectConverter changes
	- added the ability for a UStruct to emit json as a string if type traits are setup with ExportTextItem / ImportTextItem
	- allows the UStruct to convert to json as something other than FJsonValueObject
	-- things like FColor, FDateTime but they are already handled differently
	- checked for possible change in existing behavior, no classes currently use type traits for this that aren't handled special already
	- FUniqueNetIdRepl can now convert to/from json as a string
	#rb david.nikdel
	#codereview ben.zeigler, sam.zamani, david.nikdel, paul.moore
	#tests various online tests connecting to servers, etc

Change 2854751 on 2016/02/03 by Michael.Noland

	PS4: Fixed a bogus log statement when PS4_GNM_SLOW_FRAME_DEBUGGING=1
	#rb dave.ratti
	#lockdown andrew.grant
	#tests Tested on PS4 with PS4_GNM_SLOW_FRAME_DEBUGGING=1

ChangeChange 2854712 on 2016/02/03 by Josh.Markiewicz

	#UE4 - added some json compatibility features to FUniqueNetIdRepl struct
	- ImportTextItem
	- To/FromJson
	#rb david.nikdel
	#codereview none
	#tests various online features, additional unit tests added to class

Change 2854696 on 2016/02/03 by Dmitry.Rekman

	Making Memprofiler usable (by MichaelN).

	#rb Zak.Middleton (who I got the shelved CL # from)
	#codereview Michael.Noland, Zak.Middleton, Bob.Tellez
	#tests Used Memprofiler on a number of captures.

ChangeChange 2854536 on 2016/02/03 by John.Pollard

	Add event groups as users to replay, so we can quickly find replays with certain events types in them

	#rb RyanG
	#tests Replays and events

	Merging using OrionDevGeneral->ReleaseCandidate

Change 2854526 on 2016/02/03 by John.Pollard

	Add support for getting replay id

	#rb RyanG
	#tests Replays

	Merging using OrionDevGeneral->ReleaseCandidate

Change 2854522 on 2016/02/03 by John.Pollard

	Support setting string values in perf counters through the perf  counters helper class.

	#rb none
	#tests Client/Server match

[CL 2856676 by Andrew Grant in Main branch]
2016-02-04 23:40:42 -05:00
Andrew Grant
f25badee7f Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496)
#lockdown Nick.Penwarden

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

Change 2826201 on 2016/01/13 by Zabir.Hoque

	Add more verbose logging to try to understand #OR-11297

	#lockdown Andrew.Grant
	#CodeReview Marcus.Wassmer
	#RB none
	#TESTS compiled Win64 debug editor, ran agora_p

Change 2826170 on 2016/01/13 by Marcus.Wassmer

	Flush unloaded resource properly in LoadMap
	#codereview Gil.Gribb
	#rb none
	#test cycling game.  memory is freed properly now.
	#lockdown Andrew.Grant

Change 2826135 on 2016/01/12 by Michael.Noland

	Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation
	- Disabled async streaming for the duration of the QOS ping measurement to avoid hitches
	- Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future)
	- Added logging of the current average frame time when the datacenter ping is finalized
	- Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4)
	#jira OR-12453
	#rb paul.moore
	#tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc...

	Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General

Change 2826131 on 2016/01/12 by Michael.Noland

	#UE4 - added print out of MS/FPS during Qos ping evaluation
	#rb michael.noland
	#tests loaded up through login screen to see output

	Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General

Change 2826128 on 2016/01/12 by Michael.Noland

	Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation
	- Disabled async streaming for the duration of the QOS ping measurement to avoid hitches
	- Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future)
	- Added logging of the current average frame time when the datacenter ping is finalized
	- Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4)
	#jira OR-12453
	#rb paul.moore
	#tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc...

	Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main

Change 2826116 on 2016/01/12 by Michael.Noland

	Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation
	- Disabled async streaming for the duration of the QOS ping measurement to avoid hitches
	- Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future)
	- Added logging of the current average frame time when the datacenter ping is finalized
	- Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4)
	#jira OR-12453
	#rb paul.moore
	#tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc...
	#lockdown andrew.grant
	#codereview josh.markiewicz

Change 2825772 on 2016/01/12 by Dmitry.Rekman

	Linux signal handling improvements.

	- Switch crash handlers to use "crash malloc" (preallocated memory) on crash.
	- Remove unnecessary memory allocations from graceful termination handler.

	#rb none
	#tests Run the Linux server and crashed it a few times.
	#codereview David.Vossel, Michael.Trepka

Change 2825768 on 2016/01/12 by Josh.Markiewicz

	#UE4 - added print out of MS/FPS during Qos ping evaluation
	#rb michael.noland
	#tests loaded up through login screen to see output

Change 2825703 on 2016/01/12 by Brian.Karis

	Switched on new motion blur. Set temporal AA sharpness to 1.

	#rb none
	#TESTS editor

Change 2825689 on 2016/01/12 by Lina.Halper

	Fix for get animation notify crash

	https://jira.ol.epicgames.net/browse/OR-12248
	https://jira.ol.epicgames.net/browse/OR-12348

	- Also fixed the crash in preview of persona due to blend sample cache contains previous animation data
	- Also fixed blend space player to reinitialize cache data
	- The main issue is marker doesn't clamp the length, causing notifies ensure to trigger.

	#rb : Laurent.Delayen
	#tests: 10 Sparrows bot match for long time
	#code review: Martin.Wilson
	#lockdown: Andrew.Grant

Change 2825680 on 2016/01/12 by Martin.Mittring

	fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading)
	#rb:Olaf.Piesche, David.Hill
	#test: PC, many cases

Change 2825579 on 2016/01/12 by Chris.Bunner

	Force shadow shape bone indices on the required update list.
	#rb Lina.Halper, Rolando.Caloca
	#tests Editor
	#codereview Daniel.Wright
	#jira OR-12339

Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Marcus Wassmer
8c7861c485 UAV resource transition support. Validation for UAV transitions.
Some RenderTarget validation fixes.

[CL 2708113 by Marcus Wassmer in Main branch]
2015-09-28 14:13:15 -04:00
Martin Mittring
63f4217299 integrated from Orion
CL 2676126

	added more useful GPU profile into to many passes

[CL 2676152 by Martin Mittring in Main branch]
2015-09-01 16:52:40 -04:00
Mark Satterthwaite
977542aeaa Merging general rendering & shader changes necessary to support desktop Metal.
reviewedby michael.trepka, rolando.caloca, lee.clark

[CL 2670859 by Mark Satterthwaite in Main branch]
2015-08-27 10:11:22 -04:00
Martin Mittring
f38281ec79 fixed FastBlur radius scaling, causes wrong radius when using r.FastBlurThreshold or changing radius on bloom or DepthOfField
[CL 2643661 by Martin Mittring in Main branch]
2015-08-04 13:32:25 -04:00
Martin Mittring
3eec69cda7 changed all direct access to PassOutputs to GetInput() to allow internal restructuring
[CL 2611739 by Martin Mittring in Main branch]
2015-07-06 18:04:49 -04:00
Martin Mittring
52aa42cee1 fixed old bug where blom and gaussian DOF size doesn't scale linearly, but costing the linear performance increase.
Depending in which screen resolution size the bloom was tweaked this can change the content a bit.
Old method (for a while we keep the cvar): "r.Filter.NewMethod 0"
Added new cvar r.Filter.SizeScale allowing to scale sample count to tweak performance/quality

[CL 2583188 by Martin Mittring in Main branch]
2015-06-10 15:32:12 -04:00
Guillaume Abadie
2bf52edc0c Implements r.Filter.WrongVarienceWorkAround to let r.ScreenPercentage work arround a gaussian filter's invalid variance computation with the screen resolution.
#code_review: Martin.Mittring

[CL 2580712 by Guillaume Abadie in Main branch]
2015-06-08 21:09:20 -04:00
Guillaume Abadie
2eccc7afac Fixes a compilation failure in PostProcessWeightedSampleSum.cpp caused by missing parenthesis in conditions containing && and ||
#code_review: Martin.Mittring

[CL 2576544 by Guillaume Abadie in Main branch]
2015-06-03 21:57:38 -04:00
Guillaume Abadie
da8d9fe4a4 Increases Gaussian filter max number of samples from 32 to 128 by using a custom number of sample iterations shader behind the console variable r.Filter.LoopMode.
#code_review: Martin.Mittring

[CL 2576226 by Guillaume Abadie in Main branch]
2015-06-03 17:26:09 -04:00
Gil Gribb
356a7d8f96 UE4 - Large upgrade to parallel rendering. No longer block per pass. Several RHI cmdlist passthrough functions added and implemented on the consoles
[CL 2570510 by Gil Gribb in Main branch]
2015-05-29 10:47:57 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Martin Mittring
b97547347c fixed bottom right of bloom darker then left top
[CL 2419487 by Martin Mittring in Main branch]
2015-01-26 18:55:05 -05:00
Martin Mittring
1892915bc0 improved VisualizeBloom
fixed BloomScale (wasn't screen percentage, factor off by 4 and dependent on buffersize not viewport size

[CL 2419351 by Martin Mittring in Main branch]
2015-01-26 17:53:20 -05:00
Martin Mittring
a7fc8cd0cf added experimental r.Bloom/Cross feature to get more interestingly shaped bloom (for free, almost like anisomorphic lens flares)
[CL 2404165 by Martin Mittring in Main branch]
2015-01-12 20:35:04 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Rolando Caloca
d8a576970e UE4 - Remove Color parameter on draw events (DEC_*)
[CL 2334566 by Rolando Caloca in Main branch]
2014-10-20 10:43:43 -04:00
Rolando Caloca
a8ab593d84 UE4 - Feature Level ES 3.1 fixes
#codereview Jack.Porter, Sangwoo.Lee, Daniel.Wright

[CL 2324679 by Rolando Caloca in Main branch]
2014-10-09 17:50:34 -04:00
Gil Gribb
598cbb659c UE4 - allow draw events to work in parallel rendering, some flush tweaks
[CL 2293700 by Gil Gribb in Main branch]
2014-09-11 09:38:38 -04:00
Martin Mittring
04475707d1 removed UI Blur (Feature was only used by Fortnite, not fully wokring and complicated the engine internals)
[CL 2292510 by Martin Mittring in Main branch]
2014-09-10 12:31:36 -04:00
Graeme Thornton
df9dbd5ae3 Continued in-editor mobile preview work
- Removed default shader platform parameter from GetGlobalShaderMap()
 - Added an inline overload of GetGlobalShaderMap() that takes a feature level instead, and translates to the correct shader platform
 - Cached feature level on FSceneView for faster access
 - Cached shader map on FViewInfo for faster access
 - Cached featurelevel/shadermap on rendering composition graph execution context, for faster access

Fixed a couple of crashes when switching feature level dynamically
 - Needed to allow certain shader permutations to be generated if feature level was ES2, but still on a PC platform. (i.e. hitproxy shaders, and basepass shaders used by editor primitives system)

#codereview Nick.Penwarden

[CL 2275937 by Graeme Thornton in Main branch]
2014-08-28 06:22:54 -04:00