Commit Graph

28 Commits

Author SHA1 Message Date
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
nick darnell
a4f113d878 Fixing a bug with labeling the genesis of a navigation event in the slate console debugger.
[FYI] Dan.Hertzka


#ROBOMERGE-SOURCE: CL 6440895 via CL 6440896 via CL 6441933

[CL 6443783 by nick darnell in Main branch]
2019-05-14 09:20:11 -04:00
nick darnell
a3f0a20397 Adding support for knowing more about mouse capture in the slate console debugger, as well as when mouse capture is lost.
#ROBOMERGE-SOURCE: CL 5816360 via CL 5816651 via CL 5816654 via CL 5817470

[CL 5817549 by nick darnell in Main branch]
2019-04-09 22:28:20 -04:00
nick darnell
a5cc5a3f08 Stopping the slate debugger should stop the slate debugger.
#ROBOMERGE-SOURCE: CL 5296313 via CL 5296316 via CL 5306895

[CL 5306994 by nick darnell in Main branch]
2019-03-05 17:31:35 -05:00
Jamie Dale
188e1c1608 Fixed localization gather warnings
#rb none

[CL 4763603 by Jamie Dale in Main branch]
2019-01-21 15:19:14 -05:00
matt kuhlenschmidt
5b8e44471c Properly compile out slate debugging code unless WITH_SLATE_DEBUGGING is true
#ROBOMERGE-SOURCE: CL 4692393

[CL 4692395 by matt kuhlenschmidt in Main branch]
2019-01-09 10:50:38 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00