Commit Graph

196 Commits

Author SHA1 Message Date
brandon schaefer
e64748d3de Disable the top modules that are not currently set to enable AutoRTFM
#rb neil.henning

[CL 34015003 by brandon schaefer in ue5-main branch]
2024-05-30 17:59:48 -04:00
cody albert
fa1cdf28b2 Fix panning of texture atlas visualizer
[CL 33776692 by cody albert in ue5-main branch]
2024-05-20 15:48:33 -04:00
patrick boutot
30d5164fd4 Slate: Add missing validation test to the WidgetReflector.
#rb yohann.dossantos
#rnx

[CL 33453985 by patrick boutot in ue5-main branch]
2024-05-06 07:46:40 -04:00
patrick boutot
a2b5613488 Slate: Deprecate SListView::ItemHeight and STreeViewItemHeight. ItemHeight and ItemWidth are only used when the panel is is as a tile or both value are assigned. With TreeView and ListView, you can't assigned both. The function are protected, a subclass of those could but it's up to them to expose the ItemHeight and ItemWidth. This behavior changed was introduced with CL 7634094.
#jira UE-210415
#rb editor-ui-systems

[CL 33370360 by patrick boutot in ue5-main branch]
2024-05-01 08:05:39 -04:00
jc authier
32c1ce2101 Widget Reflector:
- Add flag to disable the default behavior of "focus on pick"

[REVIEW] [at]vincent.gauthier

[CL 32737257 by jc authier in ue5-main branch]
2024-04-04 14:44:03 -04:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
aris theophanidis
8ae2292282 Remove Compression.h from CoreMinimal.h
It's about 1/4 of CoreMinimal.h but rarely needed (Compression.h pulls on CriticalSection.h and Map.h that are costly).
#rb Yoan.StAmant

[CL 30683417 by aris theophanidis in ue5-main branch]
2024-01-18 09:56:55 -05:00
vincent gauthier
56ed571f7d SlateReflector Truncation warning fixes.
#jira UE-166271
#rb yohann.dossantos

[CL 30660148 by vincent gauthier in ue5-main branch]
2024-01-17 11:32:40 -05:00
AtariDreams
89d4952fe1 PR #10997: Optimize EnumHasAnyFlags
Rather than checking if a flag is set to manually negate it, we can xor it every time the button is toggled.
#jira UE-198337

[CL 30081491 by AtariDreams in ue5-main branch]
2023-12-04 10:28:05 -05:00
marc audy
a88b71c8b7 Fix/silence C4702 warnings
#rnx

[CL 29883627 by marc audy in ue5-main branch]
2023-11-22 01:04:15 -05:00
Cody Albert
18b37627d0 Update the widget event log to automatically scroll to the bottom, since scrolling it manually will often result in more events being created
#rb patrick.boutot

[CL 26581453 by Cody Albert in ue5-main branch]
2023-07-25 13:59:12 -04:00
daren cheng
2205e3e974 Remove payload indirection on slate elements.
Yields better cache coherency and measured better performance

#jira UE-186900
#rb patrick.boutot

[CL 26188706 by daren cheng in ue5-main branch]
2023-06-22 14:29:09 -04:00
daren cheng
5d0a57fecf Re-submit 25720195 with arg struct definition moved for non-debug builds.
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps (Also preps for slate payload removal).
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.

#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455

[CL 25738553 by daren cheng in ue5-main branch]
2023-06-01 15:57:14 -04:00
daren cheng
d7d121f724 [Backout] - CL25717383
[FYI] daren.cheng
Original CL Desc
-----------------------------------------------------------------
Re-submit 25712585 with manual tuple expansion to prevent use before define.
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.

#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455

[CL 25720199 by daren cheng in ue5-main branch]
2023-05-31 23:37:20 -04:00
daren cheng
30e7727aaf Re-submit 25712585 with manual tuple expansion to prevent use before define.
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.

#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455

[CL 25717402 by daren cheng in ue5-main branch]
2023-05-31 18:57:56 -04:00
daren cheng
7622b67782 [Backout] - CL25712585
[FYI] daren.cheng
Original CL Desc
-----------------------------------------------------------------
Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.

#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455

[CL 25716613 by daren cheng in ue5-main branch]
2023-05-31 18:20:34 -04:00
daren cheng
6165a76847 Slate batching improvements for large element sets
---
Group similar elements at compile time using tuples instead of maps
Merge similar renderbatches in same-typed element buckets (Currently for box and lines only).
Reserve verticies / elements in a batch before using them
Add some comments to invalidation.

#rb Patrick.Boutot
#preflight 646ff8505b484acfee7cc9fa
#jira UE-173455

[CL 25712708 by daren cheng in ue5-main branch]
2023-05-31 16:20:47 -04:00
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
daren cheng
106978757a Undo 23600931 backout with fixes to pick painted widgets
#jira UE-173455
#rb Patrick.Boutot, Yohann.Dossantos
#preflight 64502ef16538e45f75d516b1

[CL 25309579 by daren cheng in ue5-main branch]
2023-05-02 18:21:44 -04:00
daren cheng
d5419d2cf5 Fix retainer not rendering in editor
#jira UE-135286
#preflight 6410d1d8290c6e5d771340c0
#rb patrick.boutot

[CL 24646652 by daren cheng in ue5-main branch]
2023-03-14 18:59:41 -04:00
daren cheng
333965743c Add option to ignore editor gamepad navigation actions in slate.
#jira UE-175112
#rb Patrick.Boutot Dominik.Peacock
#preflight 63e68636de74ffbae528296c
#lockdown jeanmichel.dignard

[CL 24136553 by daren cheng in ue5-main branch]
2023-02-11 12:26:39 -05:00
Patrick Boutot
7b1dd02db9 Slate: Add the application scale to the input event visualizer
#rb none
#preflight 63d17d2aef20a5272db5f257

[CL 23853158 by Patrick Boutot in ue5-main branch]
2023-01-25 14:19:24 -05:00
daren cheng
4187de1509 Backout CL 23600931. Breaks pick painted widgets.
#jira UE-173455
#rb trivial
#preflight skip

[CL 23633947 by daren cheng in ue5-main branch]
2023-01-10 16:41:02 -05:00
Andrew Rodham
4ff7bab147 Slate: Initial phase of FVector2D deprecation
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
  - Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
  - Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
  - Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
  - Exposed FVector2f members to blueprints

#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f

[CL 23631073 by Andrew Rodham in ue5-main branch]
2023-01-10 14:46:43 -05:00
daren cheng
95ff3fd343 Prep for element generation for possible bulk batch creation per element type.
Migrate FSlateRenderBatch index poputation to a simple static array return in boxes, borders, and aliased lines.

#rb Patrick.Boutot, Yohann.Dossantos
#jira UE-173455
#preflight 63b745c1d862fdd347cc2d35

[CL 23602247 by daren cheng in ue5-main branch]
2023-01-06 15:25:29 -05:00