Commit Graph

34 Commits

Author SHA1 Message Date
zahra nikbakht
b6eaaccc74 Exclude Widget Reflector window from debugging #RB patrick.boutot #jira ue-118804
#preflight 60ef7ad8ef22fa0001b23651

#ROBOMERGE-SOURCE: CL 16857938 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16857982 by zahra nikbakht in ue5-release-engine-test branch]
2021-07-14 21:25:14 -04:00
patrick boutot
b382b6e48e Slate: Add LexToString to EInvalidateWidgetReason. Update SlateTraceFlags and ConsoleSlateDebuggerInvalidate with the newest EInvalidateWidgetReason. Add ConsoleSlateDebuggerBreak to break the application when a widget get invalidated or painted.
#rb vincent.gauthier
#preflight 609e8283423c960001e9906f

#ROBOMERGE-SOURCE: CL 16329896 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16329927 by patrick boutot in ue5-release-engine-test branch]
2021-05-14 11:08:03 -04:00
Patrick Boutot
120469e3b5 Slate: Rename "Collapsed" SlateAttribute to "AffectVisibility". It represent more the intention. If the parent is collapsed, the child SlateAttribute was not updated even if they were marked as "update when collapsed". Update the widget reflector to show the name of the SlateAttribute (only if the widget is live). Call GetRelativeLayoutScale after the attribute are updated.
#preflight 60801fe317b40800013076ce

[CL 16072465 by Patrick Boutot in ue5-main branch]
2021-04-21 09:41:28 -04:00
Patrick Boutot
fb3d85f625 Fix build. Missing file from CL15929257
#rnx

[CL 15929724 by Patrick Boutot in ue5-main branch]
2021-04-06 09:40:42 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Patrick Boutot
b0185fbd0b Slate: Add SlateAttribute info to the Slate.Debug.LogAllWidgets command.
[CL 15472736 by Patrick Boutot in ue5-main branch]
2021-02-19 12:41:09 -04:00
Vincent Gauthier
219ef73815 CVar Documentation corrections
#jira UEDOC-14440
#rb trivial
#rnx

[CL 15349622 by Vincent Gauthier in ue5-main branch]
2021-02-06 12:41:58 -04:00
Patrick Boutot
45c10aaa90 Slate: Fix build issue with WigetList
#jira UE-104788
#rnx
#rb none

[CL 14954926 by Patrick Boutot in ue5-main branch]
2020-12-18 11:50:32 -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
Patrick Boutot
32bad4cd65 Reduce size of SWidget by 14% by moving data that is not used often to MetaData. Deprecate SWidget::Cursor, you should now use SetCursor or GetCursor.
#jira none
#rb matt.kuhlenschmidt

[CL 14803645 by Patrick Boutot in ue5-main branch]
2020-11-21 06:26:26 -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
1c99db1521 Fix some inplicit conversation in Slate code.
#jira UE-88354

[CL 14601427 by Patrick Boutot in ue5-main branch]
2020-10-28 14:08:51 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -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
nick darnell
319b1819f9 Slate - Adding additional SlateDebugger information for when the cursor changes, and who changes it.
#ROBOMERGE-SOURCE: CL 12189769 via CL 12190844 via CL 12196422
#ROBOMERGE-BOT: (v662-12191386)

[CL 12196756 by nick darnell in Main branch]
2020-03-16 09:03:39 -04: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
nick darnell
e471539670 Slate - The CSV Profiler define shouldn't have been behind with slate debugging.
#ROBOMERGE-SOURCE: CL 10766154 via CL 10768306 via CL 10768497 via CL 10771162 via CL 10771289
#ROBOMERGE-BOT: (v610-10636431)

[CL 10771496 by nick darnell in Main branch]
2019-12-17 14:59:00 -05:00
nick darnell
c952331400 Slate - Adding CSV profiling timers and counters to some key areas in Slate for performance reports. Also adding an event that fires when something invalidates more than a command line parameter level of parents, currently set to 5. I think I want it to be smarter though, some way to marking certain widgets as generating events when they're invalidated.
Andrew Ladenberger, Matt Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 10763959 via CL 10763980 via CL 10763994 via CL 10764091 via CL 10764149
#ROBOMERGE-BOT: (v610-10636431)

[CL 10764216 by nick darnell in Main branch]
2019-12-17 11:07:46 -05:00
dan hertzka
b196058dd5 Moving everything based on FUserAndPointer in FSlateApplication over into FSlateUser directly
- Secondary users now have a faux cursor to control
- Slate now supports per-user tooltips and drag-drop operations
- FSlateUsers are now accessible from outside of FSlateApplication
- Internally enforcing validity of the UserIndex associated with input events within GetOrCreateUser/RegisterNewUser
- ForEachUser provides an FSlateUser& now
- Added the SLATE_SCOPE macro to allow public access to class elements from within the slate module only (external modules see them as protected)

[REVIEW] [at]Nick.Darnell, [at]Nick.Atamas, [at]Matt.Kuhlenschmidt, [at]Chris.Gagnon, [at]Cody.Albert
#rb Nick.Darnell


#ROBOMERGE-SOURCE: CL 8494217 via CL 8501221
#ROBOMERGE-BOT: (v406-8472469)

[CL 8502630 by dan hertzka in Main branch]
2019-09-05 04:38:52 -04:00
matt kuhlenschmidt
964d860887 Fix dashed outlines always appearing around retainers. Should have been enabled only when invalidation debugging is on.
#ROBOMERGE-SOURCE: CL 7327893 via CL 7327900 via CL 7396468
#ROBOMERGE-BOT: (v371-7306989)

[CL 7398235 by matt kuhlenschmidt in Main branch]
2019-07-17 10:21:40 -04:00
nick darnell
412bdfea9f Slate Global Invalidation Mode - Fixing the PIE new window to not always be volatile, and allow the mode to work for new PIE Windows, and fixing the console to be visible. Also fixing a case SlateDebugging visuals that need to check for having multiple invalidation roots.
[CODEREVIEW] Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 7277853 via CL 7277876 via CL 7285469
#ROBOMERGE-BOT: (v369-7254125)

[CL 7285703 by nick darnell in Main branch]
2019-07-12 00:29:46 -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
nick darnell
e1079c8052 Slate - Adding additional navigation information when we do perform navigation we report what system is performing the navigate, was it direct, a boundry condition, did it use the hittest grid...etc.
Slate - Also found a bug where we're not using the world switcher before calling the handler for some navigation options.



#ROBOMERGE-SOURCE: CL 6685364 via CL 6685366 via CL 6752052
#ROBOMERGE-BOT: (v365-6733468)

[CL 6752454 by nick darnell in Main branch]
2019-05-31 18:25:04 -04:00