Commit Graph

1313 Commits

Author SHA1 Message Date
patrick boutot
00564c6a13 Backout - CL19222749
Slate: Some conversion for 2D to 2f in the Slate Renderer.
#rnx

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19223575 via CL 19223653 via CL 19226084
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19230145 by patrick boutot in ue5-main branch]
2022-03-02 16:48:14 -05:00
patrick boutot
4416b87c76 Slate: Some conversion for 2D to 2f in the Slate Renderer.
#jira UE-137340
#rb sebastian.nordgren
#prelfight 621f7023257fd6e0996086a8

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19221296 via CL 19222749 via CL 19222780 via CL 19225284
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19229324 by patrick boutot in ue5-main branch]
2022-03-02 16:14:31 -05:00
patrick boutot
9b35666e9b Slate: Reverted changes made in CL 19089835. It tried to clear the SlateBuffer as soon as we are over with it, but it may introduce racing conditions with the GC and the rendering thread.
[REVIEW] none
#jira UE-144070
#preflight 621d3ee3383b5494aa166951

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19184663 via CL 19185699 via CL 19186867 via CL 19188412 via CL 19204141 via CL 19208639
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19215006 by patrick boutot in ue5-main branch]
2022-03-01 21:11:41 -05:00
zach brockway
62420f5b4e Add Noto Sans Math as an editor-only font.
#preflight 621d2c01037be0078cafb0f0
#jira UE-144107
#lockdown alejandro.arango
#rb jamie.dale

#ROBOMERGE-AUTHOR: zach.brockway
#ROBOMERGE-SOURCE: CL 19186533 in //UE5/Release-5.0/... via CL 19187418
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19208323 by zach brockway in ue5-main branch]
2022-03-01 17:30:00 -05:00
jack cai
54d9ef1ab9 Slate: Added more customization option to the search box, which allows for setting the alignment of search result buttons and the glass image separately
#jira none
#rb Vincent.Gauthier
#preflight skip

[CL 19156456 by jack cai in ue5-main branch]
2022-02-25 16:13:53 -05:00
patrick boutot
835727130a Slate: Clear the uncached draw elements and the batches elements once they are rendered. We do this to remove hard references to the Glyph Sequence from the previous frame. Cached draw elements are still cached. An old Glyph Sequence may still be a reference in a cached element but it is the responsibility of the SWidget to do the proper invalidation. Deprecated the FSlateRenderer::GetDrawBuffer to remind the user to call FSlateRenderer::ReleaseDrawBuffer.
#rb matt.kuhlenschmidt, none
#preflight 62066e4554003c49ad37c3e6
#preflight 6214eeab797dbbeb471d43cc
#preflight 621522ff9e113332ba17dc9d
#preflight 62162720104496cff889752a

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19089835 via CL 19089855 via CL 19092359 via CL 19093299 via CL 19101760
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141573 by patrick boutot in ue5-main branch]
2022-02-24 23:56:41 -05:00
vincent gauthier
e3e2521af9 Fix to flickering on ComboBox menu when the combobox size changes.
#jira UE-117054, UE-124618, UE-119499
#rb daren.cheng
#preflight 620e9736c91bcd0017a72157

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 19082150 in //UE5/Release-5.0/... via CL 19097051
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19140709 by vincent gauthier in ue5-main branch]
2022-02-24 23:26:51 -05:00
daren cheng
401c7e0f5e Fix menu's randomly jitter based on aspect ratio and screen resolution
#jira UE-138215
#rb Vincent.Gauthier
#preflight 620c1ef7615db7478d40aacd
#lockdown JeanMichel.Dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 19080912 in //UE5/Release-5.0/... via CL 19095632
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19140283 by daren cheng in ue5-main branch]
2022-02-24 23:07:12 -05:00
vincent gauthier
80a9849b3c [Backout] - CL18952424
This is causing an ensure to hit in Slate applications.

[FYI] Patrick.Boutot, Matt.Kuhlenschmidt
Original CL Desc
-----------------------------------------------------------------
Slate: Clear the uncached draw elements once they are batches and clear the batches elements once they are rendered. We do this to remove hard references to the Glyph Sequence from the previous frame. Cached draw elements are still cached. An old Glyph Sequence may still be a reference in a cached element but it is the responsibility of the SWidget to do the proper invalidation.
#rb matt.kuhlenschmidt
#preflight 62066e4554003c49ad37c3e6

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 18997554 via CL 18997606 via CL 18998070 via CL 18998217 via CL 18998286 via CL 19002213 via CL 19004425
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19004631 by vincent gauthier in ue5-main branch]
2022-02-15 17:06:47 -05:00
patrick boutot
bd0c001889 Slate: Clear the uncached draw elements once they are batches and clear the batches elements once they are rendered. We do this to remove hard references to the Glyph Sequence from the previous frame. Cached draw elements are still cached. An old Glyph Sequence may still be a reference in a cached element but it is the responsibility of the SWidget to do the proper invalidation.
#rb matt.kuhlenschmidt
#preflight 62066e4554003c49ad37c3e6

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18952424 via CL 18952442 via CL 18953137 via CL 18953283 via CL 18955233 via CL 18956023
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18958325 by patrick boutot in ue5-main branch]
2022-02-11 14:42:51 -05:00
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
daren cheng
4af0ec6765 Fix editor utility widget style changes not saving due to UMG style CDO comparisions reverting changes.
Also fixes issue where any 32x32 button texture would get shrunk to zero on editor utility widgets.

#preflight 620441552f56bd0ebf9fc84e
#rb vincent.gauthier lauren.barnes
#lockdown JeanMichel.Dignard


#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18926528 via CL 18926776 via CL 18928248 via CL 18929495
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18929501 by daren cheng in ue5-main branch]
2022-02-09 19:39:40 -05:00
patrick boutot
80c2208955 Slate: Try to fix random crash that corrupt the memory in SlatePrepass.
#rb vincent.gauthier
#preflight 6202d4807e40979d33b88959

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18913709 via CL 18913713 via CL 18913717 via CL 18918971 via CL 18920421
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18920677 by patrick boutot in ue5-main branch]
2022-02-09 12:49:16 -05:00
patrick boutot
ae7e5bc899 Slate: Revert changelist 18868541. GC FShapedGlyphSequence::FontMaterial. A FShapedGlyphSequence can be in the previous Slate Buffer (pending to be deleted). That will break the GC for PIE.
#rb none
#rnx
#preflight none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18884439 via CL 18884494 via CL 18884518 via CL 18884730 via CL 18885196
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18885238 by patrick boutot in ue5-main branch]
2022-02-07 09:33:04 -05:00
patrick boutot
b7de7530c8 Slate: GC FShapedGlyphSequence::FontMaterial. There were GCed by the Payload previously but nothing prevented a user to keep an instance of the FShapredGlyphSequence and not using it.
#rb matt.kuhlenschmidt, daren.cheng, sebastien.nordgren
#preflight 61fd49280a43b689e1791d6f

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18868541 via CL 18868628 via CL 18868743 via CL 18870409 via CL 18870815
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18870833 by patrick boutot in ue5-main branch]
2022-02-04 15:01:03 -05:00
patrick boutot
0de0725d3d Slate: Try to fix random crash while iterating on SWidget.
#rb none
#preflight 61fce6e2e058822bdabf53a7

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18861466 via CL 18861467 via CL 18861468 via CL 18861668 via CL 18861772
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18861779 by patrick boutot in ue5-main branch]
2022-02-04 06:55:54 -05:00
patrick boutot
9d38d6eea0 Slate: Update the LayerId in invalidation when the widget painted more elements than the previous paint. Disable by default. You can enable it with the cvar `Slate.InvalidationList.EnableReindexLayerId. This occurs when a child-widget was collapsed and is now visible. The sibling of the widget may have the same LayerId as the child-widget. That would affect how the elements are rendered.
#jira UE-136046, UE-106162
#rb vincent.gauthier
#preglight 61f94bb6a6632a34f372935a

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18810476 via CL 18810478 via CL 18810490 via CL 18821442 via CL 18822953
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18825126 by patrick boutot in ue5-main branch]
2022-02-02 08:23:10 -05:00
andrew davidson
dc0932fb59 Fix PS4 minimal incremental
#rb trivial
#preflight 61f8a247f657e25a5909383e

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

[CL 18822104 by andrew davidson in ue5-main branch]
2022-02-02 02:18:31 -05:00
patrick boutot
beb5f7670e Slate: Fix Num() that is not called every loop like previoulsy. Some widgets add/remove children while they are beeing iterating on.
#jira UE-139306, FORT-444155
#preflight 61f842e8a6632a34f3525401

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18803173 via CL 18803177 via CL 18803181 via CL 18804419 via CL 18821687
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822073 by patrick boutot in ue5-main branch]
2022-02-02 02:16:11 -05:00
andrew davidson
ec5b86d40e Fix ElementBatcher.cpp merge
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18803249 in //UE5/Release-Engine-Staging/... via CL 18821581
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821665 by andrew davidson in ue5-main branch]
2022-02-02 01:49:29 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
patrick boutot
e340a0acab Slate: Fix reference to rvalue in FChildren
#jira UE-139306
[FYI] daren.cheng
#preflight none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18772549 in //UE5/Release-5.0/... via CL 18772571 via CL 18772833
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18772841 by patrick boutot in ue5-main branch]
2022-01-28 12:00:27 -05:00
patrick boutot
742d5b30a7 Slate: Remove had used to detect rare thread issue.
#jira UE-139306
#preflight 61f2ba66f50f352300ceacd2

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18755151 via CL 18755161 via CL 18755167 via CL 18756773 via CL 18758805
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760836 by patrick boutot in ue5-main branch]
2022-01-27 15:47:39 -05:00
zak middleton
36c99f6887 #ue5 - LWC: FVector4f <-> FVector4d conversion is now explicit.
FLinearColor has also been modified to make any double->float conversions explicit. Previously all 3D TVector versions were allowed to be implicit and thus could convert TVector<double> => FLinearColor => TVector4<float>.

Fixed up all engine and game casts. Added "//LWC_TODO: precision loss" around any explicit casts that previously were silently explicit and we may need to revisit for precision loss analysis.

#jira UE-122085
#rb Ben.Ingram, Andrew.Davidson
#preflight 61f24af473238441cb7bb0f1

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 18751249 in //UE5/Release-5.0/... via CL 18751253 via CL 18751319
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18751326 by zak middleton in ue5-main branch]
2022-01-27 03:30:41 -05:00
aurel cordonnier
bf8783604c Fix for no unity error
#rnx
#preflight none
[FYI] daren.cheng

#ROBOMERGE-OWNER: aurel.cordonnier
#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 18719673 via CL 18720019 via CL 18720025 via CL 18720617 via CL 18720676
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18720678 by aurel cordonnier in ue5-main branch]
2022-01-25 03:36:30 -05:00