84 Commits

Author SHA1 Message Date
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
charles bloom
4f58633cd1 ImageParallelFor ComputeImageLinearAverage remove unnecessary CritSec
#rb none
#rnx

[CL 26075099 by charles bloom in 5.3 branch]
2023-06-16 19:00:42 -04:00
charles bloom
bbd09a7ade ImageParallelFor for easy parallel work on pixels
ImageParallelProcessLinearPixels
ComputeImageLinearAverage
Make Bokeh computation use the new routines as a test

#rb fabian.geisen
#rnx

[CL 26073688 by charles bloom in 5.3 branch]
2023-06-16 18:14:55 -04:00
charles bloom
0d75f73521 ImageCore.build.cs clarifying comment
#rb none
#rnx

[CL 25798720 by charles bloom in ue5-main branch]
2023-06-05 14:21:22 -04:00
charles bloom
152edc496d ImageCoreUtils::IsImageImportPossible can be checked before image import instead of after
#rb none
#rnx

[CL 25792081 by charles bloom in ue5-main branch]
2023-06-05 10:47:00 -04:00
kirill zorin
b6ee3a6c64 Fix UE_LOG callsites that have format string-related UB
#rb trivial
#preflight 647107780a6634dbb236a0a6

[CL 25651638 by kirill zorin in ue5-main branch]
2023-05-26 15:52:39 -04:00
dan thompson
5f360661f3 Move GuardedInt.h to Core as it's about to be needed elsewhere.
#rb devin.doucette
#preflight 6467a9a52c0a5da0dcd0afa9

[CL 25553319 by dan thompson in ue5-main branch]
2023-05-19 17:51:45 -04:00
charles bloom
961fd905ef ImageCore: GetOnePixelLinear helper cleanup
GetOnePixelLinear should take EGammaSpace not bSRGB
GetOnePixelLinear helpers on the FImage/FImageView classes

#preflight none
#rb dan.thompson
#rnx

[CL 25175425 by charles bloom in ue5-main branch]
2023-04-24 23:19:17 -04:00
charles bloom
ea4ac5a4fb nop comments only about preferring FImage usage
#preflight none
#rb none
#rnx

[CL 25149333 by charles bloom in ue5-main branch]
2023-04-21 13:58:13 -04:00
charles bloom
6010bd0780 Use 2xU16 instead of 4xU16 for BC4/5 texture image format in TextureFormatOodle
#preflight https://horde.devtools.epicgames.com/job/64408bad73470c177cbf749a
#rnx
#rb fabian.giesen

[CL 25129718 by charles bloom in ue5-main branch]
2023-04-20 12:32:12 -04:00
charles bloom
2b781f1c8c TextureCompressor better core utilization from improved ParallelFor usage
also detach the MipChain free to a task

#rb fabian.giesen
#preflight none

[CL 25121092 by charles bloom in ue5-main branch]
2023-04-19 20:47:37 -04:00
charles bloom
420b6f6adb TextureCompressorModule : run hashing for metadata on an async task
change FImage passed to TextureFormat to be const, it must not be changed becausing hashing is running threaded
remove early frees of intermediate image; this increases peak memory use

#preflight https://horde.devtools.epicgames.com/job/643ff4a3090323f9a3f7695e
#rb dan.thompson

[CL 25116608 by charles bloom in ue5-main branch]
2023-04-19 17:29:39 -04:00
charles bloom
add25b8c89 ImageCore parallel DetectAlpha
#rb dan.thompson
#jira none
#preflight none

[CL 24997866 by charles bloom in ue5-main branch]
2023-04-11 16:47:49 -04:00
charles bloom
aa956df38a fix many texture and image int64 issues
can now successfully import over 32K textures to VT

#preflight https://horde.devtools.epicgames.com/job/6435ab7900398d6f88e8e808
#rb fabian.giesen
#jira none

[CL 24996140 by charles bloom in ue5-main branch]
2023-04-11 15:18:46 -04:00
charles bloom
0dba30cf83 deprecate DDSLoader ; use DDSFile instead
#preflight https://horde.devtools.epicgames.com/job/642e1f81da7f95837018caaf
#rb dan.thompson

[CL 24956736 by charles bloom in ue5-main branch]
2023-04-06 17:01:22 -04:00
charles bloom
197dfb19e6 nop just comments, clean up some todo Oodle marks
#rb none
#preflight none

[CL 24950141 by charles bloom in ue5-main branch]
2023-04-06 14:21:41 -04:00
Dan Thompson
3be34c6c93 Imported partial mip chains must be generated out to a full mip chain.
#rb charles.bloom
#preflight 641363f68354cad0fab4135a

[CL 24676337 by Dan Thompson in ue5-main branch]
2023-03-16 14:55:10 -04:00
eric renaudhoude
e44e8f11af ImageCore: Extracting the working color space transformation method into the public namespace.
#jira none
#rb charles.bloom
#preflight 641091cdc41a0a2a7730295c
#rnx

[CL 24645734 by eric renaudhoude in ue5-main branch]
2023-03-14 18:01:33 -04:00
charles bloom
e2e51ba6ec ImageCore.cpp : align pixel jobs to cache lines
#rb fabian.giesen
#preflight none

[CL 24104633 by charles bloom in ue5-main branch]
2023-02-09 15:14:16 -05:00
charles bloom
36f193d01a Texture provide Blueprint functions to help detect nearly-empty textures
#jira UE-171963
#preflight 638f9f630d013d47efd39b43
#rb dan.thompson

[CL 23436685 by charles bloom in ue5-main branch]
2022-12-07 18:20:20 -05:00
Dan Thompson
4eaebc2ba4 Fix for incorrect view size for RGBA16
#rb trivial
#preflight 6375741e8f4cb2e4dc6a559f

[CL 23165602 by Dan Thompson in ue5-main branch]
2022-11-16 18:49:15 -05:00
fabian giesen
392f2bd406 Fix GuardedInt compile bug in GetChecked
#rb trivial
#preflight 6362a777876630122aafdb2b

[CL 22920933 by fabian giesen in ue5-main branch]
2022-11-02 13:40:08 -04:00
fabian giesen
df1f41ea1e TCheckedSignedInt -> TGuardedSignedInt
Derived types also renamed from "checked" to "guarded" to avoid confusion with check()
Remove "Invalid()" static method. The coding style compliant "GetInvalid()" is too confusing (it sounds like it might be !IsValid()), just use the default ctor.
GetValue() -> GetChecked() with user-specified default value. This is like Get() but with a check(IsValid()) in front (to make sure results are always defined, even in non-checked builds).
Add natvis for TGuardedSignedInt
Various small cleanups: constants const->constexpr, simplify from-int ctor
Only allow arithmetic ops with maching SignedType
Move to ImageCore for now

#rb johan.torp
#preflight 6359b219ec7f617ff46398d7

[CL 22797384 by fabian giesen in ue5-main branch]
2022-10-26 18:41:26 -04:00
charles bloom
e70f8016db fix VT GammaSpace for Intermediate Linear texture format
re-enable ImageCore IsValid check

#rb fabian.giesen
#preflight none

[CL 22739941 by charles bloom in ue5-main branch]
2022-10-24 18:50:09 -04:00
charles bloom
7bf32d550a ImageCore.cpp : comment out check until cause is found
#rb none
#preflight none

[CL 22728099 by charles bloom in ue5-main branch]
2022-10-24 11:18:50 -04:00