Commit Graph

191 Commits

Author SHA1 Message Date
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
Patrick Boutot
6e41842c5e Add SlateRHIRenderer debuggin option to WidgetReflector
#rb daren.cheng
#preflight 635fecb86e6dca1fb4a0dd4f

[CL 22865154 by Patrick Boutot in ue5-main branch]
2022-10-31 12:18:30 -04:00
robert millar
0491bcc13c FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for misc developer dir files.

#jira UE-161932
#rb none
#preflight 631f8070fd6da68d68b56472

[CL 21976423 by robert millar in ue5-main branch]
2022-09-12 19:53:59 -04:00
bryan sefcik
a3dddc6630 Pass 1 on Developer include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e281694758d0bf2ea1399

[CL 21960082 by bryan sefcik in ue5-main branch]
2022-09-11 18:32:18 -04:00
Patrick Boutot
c8fb567e59 SlateReflector: Add the return value from OnPaint to the WidgetReflector.
#rb vincent.gauthier
#preflight 62d841a43c3df323908f2d68

[CL 21185106 by Patrick Boutot in ue5-main branch]
2022-07-20 14:02:04 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00