Commit Graph

128 Commits

Author SHA1 Message Date
Gil Gribb
c8c3d793ea UE4 - remove rhimethods.h and all of the macro stuff relating to that
[CL 2524145 by Gil Gribb in Main branch]
2015-04-24 07:50:10 -04:00
Marc Audy
2b992b3637 Add RHISubmitCommandsHint to FMetalDynamicRHI
#codereview Marcus.Wassmer, Josh.Adams
#lockdown Zachary.EdgertonJones

[CL 2522517 by Marc Audy in Main branch]
2015-04-23 05:32:56 -04:00
Marc Audy
82d8487da9 Fix ios shadow variables
#lockdown Zachary.EdgertonJones

[CL 2522229 by Marc Audy in Main branch]
2015-04-22 22:34:31 -04:00
Rolando Caloca
a1a14536ae UE4 - Added missing vertex element formats UShort2/4/2N/4N; fixed Apex Cloth using wrong format
#codereview Michael.Trepka, Mark.Satterthwaite

[CL 2521734 by Rolando Caloca in Main branch]
2015-04-22 16:51:03 -04:00
Terence Burns
6fc53b7c7c Providing an example of how to use the new Config Editor
[CL 2521385 by Terence Burns in Main branch]
2015-04-22 14:22:31 -04:00
Allan Bentham
d8ecddcb98 Fix ios/metal issues when mobilescaling is != 1.
Fix for  metal''''''s incorrectly set backbuffer size.
Factor scaling size into some asserts.
removed erroneous GL context check.

 #codereview Rolando.Caloca, Peter.Sauerbrei

[CL 2521162 by Allan Bentham in Main branch]
2015-04-22 11:21:09 -04:00
Gil Gribb
6835e3410e UE4 - fix Metal CIS error
[CL 2518331 by Gil Gribb in Main branch]
2015-04-20 17:32:39 -04:00
Gil Gribb
e9eda9080a UE4 - fix ResourceCast problems for metal
[CL 2518071 by Gil Gribb in Main branch]
2015-04-20 15:17:19 -04:00
Gil Gribb
9429bc3ef4 UE4 - Demacroize the RHI, step 1. Eliminate DYNAMIC_CAST_D3D11RESOURCE et al
[CL 2517876 by Gil Gribb in Main branch]
2015-04-20 13:30:27 -04:00
Allan Bentham
6f6c4ea982 Use the minimum possible dimensions for BoundRenderTargetDimensions.
Stops Metal validation getting upset with viewport dimensions  during rotation (when mobilehdr = false)
#codereview nick.penwarden

[CL 2515756 by Allan Bentham in Main branch]
2015-04-17 09:15:19 -04:00
Allan Bentham
2d261a1cb9 UERNDR-54 - Support switching device orientation on the fly.
Added iOS rotation support and ES2 + metal handling for backbuffer  resizing.
Fixed ogl issue that could delete gltexture when render buffers are destructed.
Fixed issue with ES2 render target dirty state check that could result in some render targets not being set.
#codereview nick.penwarden

[CL 2511463 by Allan Bentham in Main branch]
2015-04-14 06:15:11 -04:00
Martin Mittring
5abda1f27c fixed iOS metal compile
[CL 2506077 by Martin Mittring in Main branch]
2015-04-08 18:49:05 -04:00
Max Preussner
ed7b70caed Messaging: Removed the WithMessaging type trait and message type pre-cache
#UpgradeNotes:
The TStructOpsTypeTraits<>::WithMessaging type trait is no longer necessary for UStructs intended to be used as messages, because UObject creation and destruction is now thread-safe, and message types no longer need to be pre-cached. You can now use any existing and custom UStruct class in the Engine as messages. I ran the Editor for a couple hours with the profiler enabled and did not have any stability issues. If you experience any Messaging related crashes, please let me know asap, thanks!

#CodeReview: robert.manuszewski, peter.sauerbrei, chris.gagnon, jason.bestimt, michael.trepka, nicholas.davies

[CL 2499164 by Max Preussner in Main branch]
2015-04-01 17:35:20 -04:00
Gil Gribb
a6344aaf0b UE4 - remove several ifdefs related to parallel rendering making it available for DX12 and any PC RHI
[CL 2489182 by Gil Gribb in Main branch]
2015-03-24 08:49:41 -04:00
Rolando Caloca
7b0d78c742 UE4 - Fix missing RHI vendor Id
#codereview Keith.Judge, Peter.Sauerbrei

[CL 2487780 by Rolando Caloca in Main branch]
2015-03-23 10:29:39 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Peter Sauerbrei
55ef34904d SSH is now ready for use when building iOS from PC
UEPLAT-95
#ios

[CL 2480102 by Peter Sauerbrei in Main branch]
2015-03-16 10:01:04 -04:00
Aaron McLeran
d2729ee628 Supporting multiple audio devices for multiple PIE and other potential use-cases.
- Created audio device manager which manages weak ref handles to audio devices
- Audio device handles are created with WorldContexts and accessed through UWorld objects
- All access to audio devices are now through audio device handles
- There is a main/default audio device for GEngine for use with the Editor and single worldcontext games

#codereview marc.audy, matthew.griffin

[CL 2477046 by Aaron McLeran in Main branch]
2015-03-12 12:59:33 -04:00
Keith Judge
d168a6aa21 Removed the Kinect GPU allocation toggle from the RHI and put it in XboxOneMisc where it should have been in the first place (thanks Rolando!).
[CL 2473824 by Keith Judge in Main branch]
2015-03-10 11:15:19 -04:00
Keith Judge
fa96947ffd Add RHIReducePlatformGPUOverhead() which gives us the 4.5% Kinect GPU reserve on Xbox One. Added stubs for other platforms.
[CL 2473592 by Keith Judge in Main branch]
2015-03-10 07:33:13 -04:00
Jaroslaw Surowiec
6c2e9d9a77 Core - Replaced FPlatformProcess::CreateSyncEvent with FPlatformProcess::GetSynchEventFromPool
[CL 2463830 by Jaroslaw Surowiec in Main branch]
2015-02-27 07:37:18 -05:00
Josh Adams
3665f273d9 Move some utility shaders to a new module - UtilityShaders (which the RHIs that need them now depend on)
#codereview nick.penwarden

[CL 2441740 by Josh Adams in Main branch]
2015-02-11 11:27:38 -05:00
Peter Sauerbrei
f8781fc5cd fix for crashes when importing certificate/provision and/or modifying bundle identifier
UE-9214
#ios

[CL 2435476 by Peter Sauerbrei in Main branch]
2015-02-06 10:52:09 -05:00
Josh Adams
714b87e7ba - Cleaned up some tooltips, and disabled MetalMRT for rocket builds (not up to snuff) [UE-9253]
[CL 2434598 by Josh Adams in Main branch]
2015-02-05 20:11:26 -05:00