Nick Darnell
7b82d75b61
Slate - Inlining several small functions in Slate to save a few hundred microseconds.
...
[CL 2703244 by Nick Darnell in Main branch]
2015-09-23 16:17:33 -04:00
Nick Darnell
6355c4ec6b
Slate - Huge performance improve for invalidation panels on the render thread. The layer to element map is now specialized to deal with our primiarly linearly ordered layers with short ranges in the symantic layering used by the invalidation panel to merge disperate element trees. Test went from 5ms to 0.2ms.
...
[CL 2703243 by Nick Darnell in Main branch]
2015-09-23 16:17:28 -04:00
Matt Kuhlenschmidt
7badc118a0
Merged UE4-Orion->UE4. Slate hardware instancing support
...
2697248 Added SMeshWidget and underlying support to draw a custom mesh from Slate.
2696183 Fixed world position offset not being usable without texture coordinate in Slate Materials.
2695823 Removed some unused code
2695811 Added hardware instancing support to Slate draw elements
2695462 Added custom Slate shader type for completely custom materials that make no assumption on how they are used
[CL 2702631 by Matt Kuhlenschmidt in Main branch]
2015-09-23 11:55:14 -04:00
Richard TalbotWatkin
6b41fab312
Fix for constructing SWindows with an auto center rule in place; now their size will always be clamped to not be bigger than the preferred work area.
...
#jira UE-21176 - Cannot click the create new project button on a monitor with 1366 x 768 resolution
[CL 2697249 by Richard TalbotWatkin in Main branch]
2015-09-18 13:24:34 -04:00
Joe Tidmarsh
27bee786ad
Fixed mem leak in FSlateBatchData that can occur when a batch has no vertex or index data.
...
ElementBatches with no vertex data were not being added to the RenderBatches and therefore the ArrayIndices were never returned to their respective freelists.
#codereview Matt.Kuhlenschmidt
[CL 2696868 by Joe Tidmarsh in Main branch]
2015-09-18 06:48:44 -04:00
Nick Darnell
12728f792d
UMG/Slate - Fixing a memory leak with the invalidation panel, it was handing out a shared pointer to the ICacheLayer interface creating a circiular reference. We now use raw pointers only in the PaintArgs.
...
[CL 2695446 by Nick Darnell in Main branch]
2015-09-17 12:36:35 -04:00
Gil Gribb
0fed117096
UE4 - remove malloc churn on strings in slate.
...
[CL 2693421 by Gil Gribb in Main branch]
2015-09-16 10:18:23 -04:00
Jamie Dale
e1b3f0c3b6
Fixed Slate atlas textures no longer making full use of their page space
...
UE-21089 - Slate Atlas Textures are not making full use of page space
[CL 2693304 by Jamie Dale in Main branch]
2015-09-16 08:52:26 -04:00
Steve Robb
d831e01efd
Optimised FElementBatchMap manipulation by making the value a TUniqueObj.
...
#codereview robert.manuszewski,nick.darnell
[CL 2691643 by Steve Robb in Main branch]
2015-09-15 09:35:35 -04:00
Peter Knepley
a761df772b
Fix slate styles not working with SlateBrushAssets
...
Merging 2686963
//depot/UE4-UT/...
to //depot/UE4/...
#codereview Nick.Atamas
[CL 2686975 by Peter Knepley in Main branch]
2015-09-10 16:22:56 -04:00
Matt Kuhlenschmidt
65e46bcce8
Merging CL 2684004 using UE4_to_UE4-Orion
...
Implemented a basic slate resource handle for fast access without doing map lookups from Brush -> Rendering resource. Not hooked up to anything yet
[CL 2686668 by Matt Kuhlenschmidt in Main branch]
2015-09-10 13:50:53 -04:00
Gil Gribb
5baba952a3
UE4 - Fixed malloc churn problem with FHittestGrid::FCachedWidget
...
[CL 2683195 by Gil Gribb in Main branch]
2015-09-08 12:24:26 -04:00
umerov1999
5eebab6b1e
PR #1525 : Update SlateDynamicImageBrush.cpp (Contributed by umerov1999)
...
[CL 2683115 by Matt Kuhlenschmidt in Main branch]
2015-09-08 11:31:52 -04:00
Gil Gribb
baa94463d2
UE4 - Fixed slate vertex and index recycling to not grow each batch to be the size of the largest one.
...
[CL 2682976 by Gil Gribb in Main branch]
2015-09-08 09:52:18 -04:00
Marc Audy
d25958e352
Use SizeSquared comparisons instead of Size where trivially replaceable
...
[CL 2681970 by Marc Audy in Main branch]
2015-09-06 12:42:18 -04:00
Matt Kuhlenschmidt
190b803d56
Merged CL 2672323 from Orion
...
Fix multithreaded rendering crashes due to race conditions in the Slate renderer
[CL 2672334 by Matt Kuhlenschmidt in Main branch]
2015-08-28 11:22:48 -04:00
Michael Noland
105bca4467
Slate: Changed a local reserve in HittestGrid::GetBubblePath to use an inline allocation
...
[INTEGRATE] Change 2668351 by Michael.Noland@mnoland-T2784-HDepot on 2015/08/25 16:46:43
[CL 2668704 by Michael Noland in Main branch]
2015-08-25 19:44:22 -04:00
Gil Gribb
048abc0de6
UE4 - merged fix for slate creating stats before main starts
...
[CL 2667507 by Gil Gribb in Main branch]
2015-08-25 10:25:27 -04:00
Michael Noland
37c914d1e7
Slate: Removed an unnecessary pass-by-value in FindPathToWidget
...
[INTEGRATE] Change 2667195 by Michael.Noland@mnoland-T2784-HDepot on 2015/08/25 02:10:52
[CL 2667197 by Michael Noland in Main branch]
2015-08-25 02:11:58 -04:00
Nick Atamas
312c9b7cea
Integrating CL 2655118, 2655170 from UE4-Oriont/... to UE4/...
...
Now using FPopupMethodReply instead of EPopupMethod to correctly drive throttling.
[CL 2666291 by Nick Atamas in Main branch]
2015-08-24 13:22:04 -04:00
Nick Darnell
0933d8f561
UMG/Slate - Continuing to itterate on performance and improving the invalidation panel. Enhanced the rendering pipeline to allow cached buffers to be passed along with an offset so that we could do a final matrix transform on it if need be. Fixing a rather large memory leak on the invalidation panels never being able to re-use old element lists because they were always being used by the render thread. Adding more stats. The PS4 BeginNamedEvent calls now properly respect the color being passed as an argument and will display it in Razor when in arguement coloring mode. Widgets now know what class created them, in all but shipping. Very useful for logging stat/debugging information in a non-editor build.
...
[CL 2663649 by Nick Darnell in Main branch]
2015-08-20 19:00:36 -04:00
Matt Kuhlenschmidt
4053e72790
Added a way to globally invalidate all invalidation panels.
...
This is expensive and should only be used when there is some major change to a resource that could be held onto by the invalidation panels
Merged from Orion CL 2659385
[CL 2659740 by Matt Kuhlenschmidt in Main branch]
2015-08-18 15:15:01 -04:00
Nick Darnell
6688b23a22
Slate - Updating the standalone D3D and OpenGL Slate renderers to do a similar sRGB packing in the vertex buffer color, as well as a sRGB standards compliant transform in the pixel shader instead of the pow(color, 2.2) gamma conversion it was previously performing. Since Photoshop does not display in the Mac's native gamma space of 2.2, and instead sticks to the sRGB standard, I've made it so the standalone OpenGL renderer also uses the sRGB standard. Probably going to do the same in the RHI version as it doesn't make a ton of sense to vary it across platforms for Mac when Photoshop doesn't vary.
...
#codereview justin.sargent
#pandacake
[CL 2657733 by Nick Darnell in Main branch]
2015-08-17 09:40:01 -04:00
Nick Darnell
3669cd22f7
UMG/Slate - Re-enabling border drawing.
...
[CL 2656329 by Nick Darnell in Main branch]
2015-08-14 13:33:42 -04:00
Nick Darnell
7bdd756bcb
Build fix for real this time.
...
[CL 2656179 by Nick Darnell in Main branch]
2015-08-14 11:19:09 -04:00