Commit Graph

18 Commits

Author SHA1 Message Date
Patrick Boutot
93e8a1f1b0 Slate: Add a CrashHandler for Slate code.
#rb johan.berg, patrick.laflamme
#preflight 62054589b84973a2bb5f8699

[CL 18938316 by Patrick Boutot in ue5-main branch]
2022-02-10 12:19:47 -05:00
sebastian nordgren
92a3a45616 Added Widget List to Widget Reflector, which lists all currently active widgets, grouped by creation location. This can be useful for pinpointing SWidget leaks.
This requires UE_WITH_SLATE_DEBUG_WIDGETLIST to be defined, since it makes use of the functionality in FWidgetList.

#rb francis.hurteau, patrick.boutot
#preflight 619604814f57fbea790c031f

[CL 18234947 by sebastian nordgren in ue5-main branch]
2021-11-18 04:27:40 -05:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
Patrick Boutot
23beac9926 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

[CL 16329896 by Patrick Boutot in ue5-main branch]
2021-05-14 11:04:54 -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
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
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
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
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
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00