bob tellez
25dbcbc057
Merging CL#19518642
...
Replace uses of FVector2f with FVector2D in fix for a bug where a volatile widget redraws at an offset within its retainer box, to fix a compile error in contexts where FVector2f contains doubles.
#jira UE-147231
#rb patrick.boutot
#preflight 623e1cab5c289ac26e2ecaa6
#ROBOMERGE-AUTHOR: Nicholas.Howe
#ROBOMERGE-SOURCE: CL 19518799 via CL 19518805 via CL 19518811
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)
[CL 19519510 by bob tellez in ue5-main branch]
2022-03-25 18:29:28 -04:00
nicholas howe
a94fbd1aff
Fix a bug where a volatile widget redraws at an offset within its retainer box, by caching the view offset it was painted with on the slow path and reusing it on the fast path.
...
#jira UE-147231
#rb patrick.boutot
#preflight 623def94361866e20fdfc878
#ROBOMERGE-AUTHOR: nicholas.howe
#ROBOMERGE-SOURCE: CL 19516539 via CL 19517660 via CL 19517679 via CL 19517697
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)
[CL 19519486 by nicholas howe in ue5-main branch]
2022-03-25 18:28:47 -04:00
patrick boutot
9d38d6eea0
Slate: Update the LayerId in invalidation when the widget painted more elements than the previous paint. Disable by default. You can enable it with the cvar `Slate.InvalidationList.EnableReindexLayerId. This occurs when a child-widget was collapsed and is now visible. The sibling of the widget may have the same LayerId as the child-widget. That would affect how the elements are rendered.
...
#jira UE-136046, UE-106162
#rb vincent.gauthier
#preglight 61f94bb6a6632a34f372935a
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18810476 via CL 18810478 via CL 18810490 via CL 18821442 via CL 18822953
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)
[CL 18825126 by patrick boutot in ue5-main branch]
2022-02-02 08:23:10 -05:00
patrick boutot
8cd8502185
Slate: Add test to see if widgets have a valid LayerId.
...
#rb vincent.gauthier
#preflight 61d6ebac932a02483cd2e7d3
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18532890 via CL 18532895 via CL 18532903 via CL 18533472 via CL 18533989
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)
[CL 18534183 by patrick boutot in ue5-release-engine-test branch]
2022-01-06 14:19:18 -05:00
aurel cordonnier
a12d56ff31
Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
...
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485
[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
brandon schaefer
2a965e7c5f
Fix issues where if WITH_SLATE_DEBUGGING is force to 0 in a debug build it fails to compile
...
#jira none
#rb none
[FYI] Lauren.Barnes
#ROBOMERGE-SOURCE: CL 16787974 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)
[CL 16787982 by brandon schaefer in ue5-release-engine-test branch]
2021-06-25 15:51:37 -04:00
patrick boutot
99f73e8cf2
Slate: Split the Invalidation update loop for better performance tracking.
...
#preflight 60c108e31ab0310001892cca
#ROBOMERGE-SOURCE: CL 16612339 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)
[CL 16612364 by patrick boutot in ue5-release-engine-test branch]
2021-06-09 16:50:02 -04:00
Patrick Boutot
370cfaa4ca
Slate: Remove some shared ptr copy. Fix slot access in FChildren and add a ForEach function.
...
#jira UE-115497
#rb vincent.gauthier
#preflight 60b524a6f45a940001e24a28
[CL 16510610 by Patrick Boutot in ue5-main branch]
2021-05-31 15:42:59 -04:00
Patrick Boutot
097426f18c
Slate: Add update flag for volatile prepass. These widgets always need a prepass in fastpath. Fix issue with collapsed, the desired size was not updated when a parent was also collapsed. Fix the wrong position of elements inside a Retainer when the Retainer moves. Keep an array of all widgets that always need to be updated (tick, timer, paint). That prevents notifying the proxy and the final list once the widget got painted and ensure that all elements are updated.
...
#preflight 609aa2bc8f637500016ce3f2
[CL 16276861 by Patrick Boutot in ue5-main branch]
2021-05-11 14:15:32 -04:00
Patrick Boutot
f46af25282
Slate: Fix attributes update order in GlobalInvalidation.
...
[CL 16050094 by Patrick Boutot in ue5-main branch]
2021-04-19 09:03:16 -04:00
Patrick Boutot
ee9c7f8dcb
Slate: Move visibility flag to WidgetProxy. Keep track of the Collapsed and the Visible state to update the Attribute as in SlowPath. Convert RenderTransform and RenderTransformPivot to SlateAttribute. Make the Visibility attribute update first (needs more work in the SlateAttributeInitializer to enforce it). Update Attribute in 2 steps. Update the Collapsed first (that can change the visibility), then update the "not collapsed" attribute.
...
#fyi mikko.mononen, sebastian.nordgren, lauren.barnes
#review-16007738 vincent.gauthier
[CL 16007736 by Patrick Boutot in ue5-main branch]
2021-04-14 12:59:44 -04:00
Patrick Boutot
653f4981cf
Slate: Remove duplicated UpdateFlag in WidgetProxy.
...
#jira UE-107822
#rb vincent.gauthier
#preflight 605ce693a8aabd00017a707d
[CL 15834996 by Patrick Boutot in ue5-main branch]
2021-03-25 19:05:43 -04:00
Patrick Boutot
73f1355ee0
Slate: Fix bugs with GlobalInvalidation and SlateAttributes.
...
Rework the PreInvalidate algo to make it more clear the order of the different invalidations should be processed.
Add a flag to FWidgetAttributeIterator since MoveToWidgeIndexOnNextAdvance was using Invalid as the invalid state and the last element.
Rework the failed condition for the "Slate.InvalidationRoot.Verify*" to stop the process and only output once the error.
Only add the widget to the FinalUpdateList if an update is needed.
#preflight 605b7fb2d88d2d0001be8520
[CL 15805546 by Patrick Boutot in ue5-main branch]
2021-03-24 15:05:05 -04:00
Patrick Boutot
4e0d784c3f
Slate: Update child order invalidation in order similar to other invalidation. It create a path for other invalidations to be processed in that same order. It reduce the number of Layout invalidation that are already processed by the child order invalidation. Add Slate Attribute InvalidationWidgetReason. For FastUpdate, add list of attributes that need to be updated each frame.
...
[CL 15398555 by Patrick Boutot in ue5-main branch]
2021-02-12 14:16:03 -04:00
Marc Audy
bf80889353
UE5/Release-Engine-Staging to UE5/Main
...
This represents UE4/Main up to CL# 14958402
[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Patrick Boutot
2f6348b707
Slate: Update WidgetList with FParse::Bool.
...
#rnx
[CL 14954282 by Patrick Boutot in ue5-main branch]
2020-12-18 07:28:31 -04:00
Marc Audy
ada7c144fa
Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
...
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Patrick Boutot
c8b2ae9472
Slate: Add SlateInvalidationWidgetList a container, similar to a paged array, that can update the fast path list faster. It uses 2 indexes instead of one. It only rebuilds the elements that are affected by the update. Use FSlateInvalidationWidgetIndex and FSlateInvalidationWidgetSortIndex. FWidgetProxy is currently used but will be phase out soon to remove duplication and improve performance.
...
#jira UE-99527, UETOOL-2349
[CL 14795597 by Patrick Boutot in ue5-main branch]
2020-11-20 08:38:28 -04:00
Patrick Boutot
595e36d594
WidgetReflector: Add support for GlobalInvalidation.
...
#rb vincent.gauthier
[CL 14781816 by Patrick Boutot in ue5-main branch]
2020-11-18 16:33:17 -04:00
Marc Audy
7379fa99c5
Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
...
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94
Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
...
#rb
#rnx
[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210
Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
...
#rnx
[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
bob tellez
313066bebd
Back out changelist 13065813. Likely cause of AutoTest assert
...
[FYI] Vincent.Gauthier
#ROBOMERGE-SOURCE: CL 13120511 via CL 13120512 via CL 13120518
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)
[CL 13120521 by bob tellez in Main branch]
2020-04-30 13:23:54 -04:00
vincent gauthier
a2a9200bc3
Fix to a bug where InvalidationPanel failed to update correctly when used in another panel. This could have lead to widget not updating display when they are properly invalidated.
...
#rb Matt.Kuhlenschmidt
[FYI] Nick.Darnell
#ROBOMERGE-SOURCE: CL 13065813 via CL 13065814 via CL 13065819
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)
[CL 13065824 by vincent gauthier in Main branch]
2020-04-29 11:16:39 -04:00
lukasz furman
1a33ae7203
fixed crash on rebuilding UI invalidation path
...
[FYI] Nick.Darnell
#ROBOMERGE-SOURCE: CL 11459874 via CL 11459877 via CL 11459880
#ROBOMERGE-BOT: (v654-11333218)
[CL 11459881 by lukasz furman in Main branch]
2020-02-17 10:37:19 -05:00