Commit Graph

184 Commits

Author SHA1 Message Date
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
Patrick Boutot
bdae98ad4e Slate: Transform some ElementPayload from Vector2D to Vector2f. Use FDeprecateVector2D to create a deprecation path for function that returns a FVector2D.
#jira UE-137340
#rb sebastian.nordgren
#preflight 6273e2f3230c8997ad94b076

[CL 20059075 by Patrick Boutot in ue5-main branch]
2022-05-05 12:02:42 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
jurre debaare
a2516063e9 Widget reflector menu is not shown on OSX
#fix ensure that MenuBar widget is applied to respective TabManager
#jira UE-142930
#rb Vincent.Gauthier
#preflight 620d2668742ffef42023c6ea

#ROBOMERGE-AUTHOR: jurre.debaare
#ROBOMERGE-SOURCE: CL 19147104 in //UE5/Release-5.0/... via CL 19147470
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19156457 by jurre debaare in ue5-main branch]
2022-02-25 16:13:55 -05:00
Patrick Boutot
9a25cb2936 Fix duplicated localization key
#jira UE-141552
#rnx
#review-19133821 none
#preflight none

[CL 19133818 by Patrick Boutot in ue5-main branch]
2022-02-24 19:38:44 -05:00
patrick boutot
164f81893b Slate: Fix duplicated localization key.
#jira UE-141552
#rnx
#preflight 62050b5c664a8266289441dc

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18934898 via CL 18934906 via CL 18934910 via CL 18935225 via CL 18935306
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18935308 by patrick boutot in ue5-main branch]
2022-02-10 09:36:51 -05:00
patrick boutot
68d0f9cf48 Slate: Fix VerifyWidgetLayerId to only use the invalidation test when we painted in fast path. Add the VerifyOutgoingLayerId to the Widget Reflection test list.
#jira UE-136046
#rb none
#preflight 62017574384d6a94e8dc65bf

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18897351 via CL 18897352 via CL 18897354 via CL 18903428 via CL 18903856
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v912-18901109)

[CL 18903906 by patrick boutot in ue5-main branch]
2022-02-08 12:08:49 -05:00
andrew davidson
3debbbd465 Fix FVector2D variant casts
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8719ea6632a34f35e654b

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18801709 in //UE5/Release-5.0/... via CL 18802160 via CL 18821533
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821619 by andrew davidson in ue5-main branch]
2022-02-02 01:45:23 -05:00