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
Mark Satterthwaite
e9f8520a48
Distcc compilation fixes for OS X.
...
[CL 2695509 by Mark Satterthwaite in Main branch]
2015-09-17 13:09:10 -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
Nick Darnell
af184c0a81
UE-20550 UMG/Slate - Correctly setting the effected buttons in touch pointer events, restoring input for checkbox/slider on iOS that were only checking the EffectingButton.
...
[CL 2695206 by Nick Darnell in Main branch]
2015-09-17 10:50:48 -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
Sammy James
6487ce4ad6
Added a Never option to consuming the mouse wheel, because sometimes you don't want areas to scroll with the mouse.
...
[CL 2683434 by Sammy James in Main branch]
2015-09-08 14:34:39 -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
3ccce934a0
Merging using UE4_to_UE4-Orion
...
CL 2678623
Slate rendering resource access fixes.
- Removed the need for a render command per resource access. This was unsafe when accessing resources from another thread (loading screens)
- Moved texture streaming last render time update to the actual point in time where it was rendered. The previous location was at resource access time which was not occuring for textures in invalidation panels.
[CL 2678712 by Matt Kuhlenschmidt in Main branch]
2015-09-03 11:29:03 -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
Sammy James
d9da84b6de
Added an option for anchoring the center of a child widget to the center of a menu anchor.
...
[CL 2668337 by Sammy James in Main branch]
2015-08-25 16:42:43 -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