Commit Graph

1567 Commits

Author SHA1 Message Date
dario mazzanti
ce47ed7c86 [Backout] - CL29803875
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Nanosvg] Fix linking issues when including nanosvg in multiple places in game builds

- functions implementation done by newly added cpp source file
- converts module from External to CPP module
- exports required functions

#rb Mikko.Mononen

[CL 29804419 by dario mazzanti in ue5-main branch]
2023-11-17 06:20:33 -05:00
dario mazzanti
bc0182ce37 [Nanosvg] Fix linking issues when including nanosvg in multiple places in game builds
- functions implementation done by newly added cpp source file
- converts module from External to CPP module
- exports required functions

#rb Mikko.Mononen

[CL 29803882 by dario mazzanti in ue5-main branch]
2023-11-17 05:20:30 -05:00
patrick boutot
b36979a610 Slate: Protect the HittestGrid from invalid grid size.
#jira UE-200400

[CL 29734557 by patrick boutot in ue5-main branch]
2023-11-14 20:21:35 -05:00
sebastian arleryd
f76664c6c7 Fix typo in documentation comment of FWidget Path
#jira UE-186875
#rb JeanMichel.Dignard

[CL 29712071 by sebastian arleryd in ue5-main branch]
2023-11-14 09:40:09 -05:00
patrick boutot
fda065455f WidgetComponent: Add support for invalidation.
#rb daren.cheng

[CL 29709785 by patrick boutot in ue5-main branch]
2023-11-14 07:13:32 -05:00
cody albert
9efeb4cee2 Fixed SWindow::SetCachedSize to apply the new size
[CL 29689980 by cody albert in ue5-main branch]
2023-11-13 13:57:35 -05:00
daren cheng
0b97c66221 Thread safety / lifetime improvements to Slate PostBuffer
#jira UE-198072
#rb Patrick.Boutot

[CL 29493259 by daren cheng in ue5-main branch]
2023-11-06 13:28:54 -05:00
patrick boutot
7934991cf0 [Backout] - CL29374691
Original CL Desc
-----------------------------------------------------------------
WidgetComponent: Add support for invalidation.
#rb daren.cheng

[CL 29394847 by patrick boutot in ue5-main branch]
2023-11-02 22:34:02 -04:00
patrick boutot
577d4fd40b WidgetComponent: Add support for invalidation.
#rb daren.cheng

[CL 29381749 by patrick boutot in ue5-main branch]
2023-11-02 17:39:32 -04:00
jeremie roy
43e5868058 Fix TObservableArray calling IndexByPredicate instead of IndexOfByPredicate
Deprecate IndexByPredicate in favor of IndexOfByPredicate to match TArray's method

#rb patrick.boutot
#jira UE-198963

[CL 29090577 by jeremie roy in ue5-main branch]
2023-10-25 11:38:11 -04:00
daren cheng
d5b337dcc1 Add framework for processing slate scenebuffer copies
---
To create a new slate post buffer processor, inherit from 'USlateRHIPostBufferProcessor' & implement 'PostProcess'
To use in game, create a BP that derives from your buffer processor, ex 'USlatePostBufferBlur'.
Set default values on that BP, then connect the processor to a buffer in 'SlateRendererSettings'.

#jira UE-198072
[REVIEW] patrick.boutot
#rb none
#tests perf pie standalone shipping hdr-non-composite

[CL 29001080 by daren cheng in ue5-main branch]
2023-10-21 14:24:30 -04:00
daren cheng
99568cd8e6 Expose scenebuffers to UMG
---
Feature guarded by 'Slate.CopyBackbufferToSlatePostRenderTargets' disabled by default in initial commit.
To use simply call GetSlatePost0 material function after enabling CVar.
No overhead unless a widget is rendered using the material function, overhead is minimal (Single-copy 0.003 ms).
GetSlatePost1-4 require enabling via project settings.

#jira UE-186910
[REVIEW] yohann.dossantos jason.nadro


#virtualized

[CL 28772135 by daren cheng in ue5-main branch]
2023-10-13 17:06:50 -04:00
patrick boutot
cdfe77d632 Slate: Add unittest for TSlateSlotAttribute. Fix visibility sorting. The sort was not activated if there was no prerequiste.
[CL 28715983 by patrick boutot in ue5-main branch]
2023-10-12 13:08:55 -04:00
nick edwards
69726f5ee7 Update code using FJsonObject to use TCHAR strings instead of ANSI strings. Removes unnecessary string conversions and removes compilation errors when FJsonObject is updated to use FStringViews.
[CL 28536648 by nick edwards in ue5-main branch]
2023-10-06 08:18:42 -04:00
viktor chlumsky
5208c94184 Fix for MSDF texture channel mix-up on mobile
#rnx <Release Notes exclude>

[CL 28318126 by viktor chlumsky in ue5-main branch]
2023-09-28 10:33:08 -04:00
helge mathee
88a15bad52 SlateCore: Moving TAnimatedAttribute from sandbox to SlateCore
#rb steve.robb
[FYI] patrick.boutot
[FYI] halfdan.ingvarsson

[CL 28311612 by helge mathee in ue5-main branch]
2023-09-28 05:00:45 -04:00
aditya ravichandran
a8c9ea2508 TEDS-Outliner: Add support for a separate widget purpose for the Item Label Column
StarshipCoreStyle: Add icon badges to signify data has overrides from the base class
#jira UE-191898
#rb ronald.koppers

[CL 28192862 by aditya ravichandran in ue5-main branch]
2023-09-25 13:04:50 -04:00
josh adams
5d9b0e221f - Deprecated FPaths::EnginePlatformExtensionsDir() and FPaths::ProjectPlatformExtensionsDir(), as they do not work with Programs
- Introduced the following to FPaths:
   - EnginePlatformExtensionDir(Platform) - gets the Engine PlatExt dir for the given platform
   - ProjectPlatformExtensionDir(Platform) - gets the Project PlatExt dir for the given platform, where Project can be a Program
   - ConvertPath(Path, Method, ExtraData) - converts a Path for platform extensions and Restricted locations. This is going to be "ground truth" for how to get an extension directory (the two functions above call this).
- Added FConfigContext::VisualizeHierarchy() (static and member versions with differing params) that can log ini hierarchies
#rb david.harvey

[CL 28140788 by josh adams in ue5-main branch]
2023-09-22 12:33:38 -04:00
viktor chlumsky
39f9ea2c29 Slate MSDF text - multiple spread categories per glyph (improves quality in some situations)
[FYI] [at]Yohann.DosSantos, [at]Pavlo.Grubyi

#rnx <Release Notes exclude>

[CL 28130281 by viktor chlumsky in ue5-main branch]
2023-09-22 07:38:48 -04:00
viktor chlumsky
e53cfa604b Fix mixed MSDF and color glyphs in one sequence, re-enable MSDF text
[FYI] [at]Yohann.DosSantos, [at]Pavlo.Grubyi

#rnx <Release Notes exclude>

[CL 28085898 by viktor chlumsky in ue5-main branch]
2023-09-21 09:49:58 -04:00
viktor chlumsky
2ee761b197 Slate MSDF text rendering feature including effect support, disabled by CVar, support for mitered outlines
[REVIEW] [at]Yohann.DosSantos, [at]Vincent.Gauthier, [at]Patrick.Boutot, [at]Christian.Savoie, [at]JC.Authier, [at]Daren.Cheng

#rnx <Release Notes exclude>

[CL 28008156 by viktor chlumsky in ue5-main branch]
2023-09-19 15:28:40 -04:00
jeanmichel dignard
61feb630df Fix for SSlider not having a disabled style for Starship core style.
#rb none

[CL 27995439 by jeanmichel dignard in ue5-main branch]
2023-09-19 10:41:34 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
steve robb
da9f5a828a Replaced TChooseClass with std::conditional_t.
#rb none
#jira UE-195271

[CL 27816205 by steve robb in ue5-main branch]
2023-09-12 19:55:55 -04:00
nick edwards
827f3fa5e7 StringView-ifying FSlateFontMeasure and FLRUStringCache
#rb Patrick.Boutot

[CL 27522380 by nick edwards in ue5-main branch]
2023-08-31 10:31:51 -04:00