Commit Graph

60 Commits

Author SHA1 Message Date
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Patrick Boutot
0957499c70 Slate: Preperation work for SlateAttribute in FSlot.
Force a valid SWidget pointer for FChildren and for FNoChildren. Deprecate the TSupportsOneChildMixin because it was miss used at some places and cause FChildren to be used as FSlot. Prepare the TPaddingWidgetSlotMixin and TAlignmentWidgetSlotMixin to support invalidation. Fix slot instance that were not using the mixin (easier when we will support SlateAttribute).
#jira UE-109145
#rb daren.cheng, vincent.gauthier
#prefligh 609e94f6cbf9a4000115d883

[CL 16331830 by Patrick Boutot in ue5-main branch]
2021-05-14 13:28:37 -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
5f1e91106b Slate: Convert SCompoundWidget Attributes into SlateAttributes.
#jira UE-109146

[CL 15664716 by Patrick Boutot in ue5-main branch]
2021-03-10 07:13:29 -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
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
a312452e7f Slate: Prevent negative size texture in SRetainerWidget.
#jira UE-99645
#rb vincent.gauthier
#fyi Thomas.Sarkanen

[CL 14482220 by Patrick Boutot in ue5-main branch]
2020-10-13 14:44:15 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -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
nick darnell
25168c3cfc Slate - Exposing a function to enable the retention off and on for blueprints for retainer panels. Adding some more invalidation code to retainers that appears to be needed to handle the case with nested retainers. A little removal of commented out code in SlateInvalidationRoot.
#ROBOMERGE-SOURCE: CL 13152185 via CL 13164853 via CL 13165041 via CL 13165264 via CL 13165392
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13165469 by nick darnell in Main branch]
2020-05-05 00:45:20 -04:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
matt kuhlenschmidt
bdb38283e2 Enabled per-user hit testing in Slate to avoid cases where two users hovered over incompabile UI (UI designed for a specific user) can still interact with it.
#rb chris.gagnon


#ROBOMERGE-SOURCE: CL 10541213 via CL 10541286 via CL 10560152 via CL 10560839 via CL 10560958
#ROBOMERGE-BOT: (v606-10482310)

[CL 10561108 by matt kuhlenschmidt in Main branch]
2019-12-05 15:59:53 -05:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
matt kuhlenschmidt
026b2002e0 Fix hit test grid not resetting cells if the total amount of cells remains the same after a resize but the width and height differ. This also fixes a crash with retainer panels in that situation
#ROBOMERGE-SOURCE: CL 8113329 via CL 8113334 via CL 8115790
#ROBOMERGE-BOT: (v401-8057353)

[CL 8115976 by matt kuhlenschmidt in Main branch]
2019-08-19 12:20:39 -04:00
matt kuhlenschmidt
8a57e9106f Fix retainers nested in invalidation panels not bubbling layout to their parents.
#ROBOMERGE-SOURCE: CL 8030195 via CL 8035484 via CL 8035646 via CL 8045849
#ROBOMERGE-BOT: (v400-8057353)

[CL 8062986 by matt kuhlenschmidt in Main branch]
2019-08-15 14:01:03 -04:00
matt kuhlenschmidt
871dd52d7d Fix VS 2019 warning
#jira UE-77694


#ROBOMERGE-SOURCE: CL 7475161 via CL 7478181 via CL 7479670
#ROBOMERGE-BOT: (v372-7473910)

[CL 7479856 by matt kuhlenschmidt in Main branch]
2019-07-22 18:58:11 -04:00
matt kuhlenschmidt
b0c99348f4 Fix GC crashes with slate draw elements.
[CODEREVIEW] nickdarnell


#ROBOMERGE-SOURCE: CL 7450764 via CL 7461931 via CL 7467258
#ROBOMERGE-BOT: (v371-7306989)

[CL 7467327 by matt kuhlenschmidt in Main branch]
2019-07-20 02:13:58 -04:00
matt kuhlenschmidt
58858f4c9f Fix pie shutdown crash in slate global invalidation
#ROBOMERGE-SOURCE: CL 7250482 via CL 7262964
#ROBOMERGE-BOT: (v369-7254125)

[CL 7263123 by matt kuhlenschmidt in Main branch]
2019-07-10 13:44:26 -04:00
matt kuhlenschmidt
c64ca632c7 Slate Global Invalidation System
This change makes it possible to remove the layout and painting overhead that Slate performs every frame.  The system is off by default as we continue to iterate on it.

However, this includes massive changes to batching, rendering, hit testing, and invalidation panels which are permanent changes and cannot be disabled.

#rb chris.gagnon, nick.darnell
[CODEREVIEW] nick.darnell


#ROBOMERGE-OWNER: matt.kuhlenschmidt
#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 7232617 via CL 7235502
#ROBOMERGE-BOT: (v367-6836689)

[CL 7235503 by matt kuhlenschmidt in Main branch]
2019-07-08 23:50:34 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00