Commit Graph

24 Commits

Author SHA1 Message Date
Dan Thompson
936df062d1 allegedly a temporary fix for native mac/linux editor while I set up a proper path.
[CL 16779185 by Dan Thompson in ue5-main branch]
2021-06-24 17:57:05 -04:00
Dan Thompson
840753b4f4 Oodle TFO: Add oodle's example jobify system, enabled via config.
#rb charles.bloom
#preflight 60d4dc4b925f1400011d6121

[CL 16778647 by Dan Thompson in ue5-main branch]
2021-06-24 17:07:11 -04:00
Dan Thompson
96f483f51e Oodle TFO: Change EffortLevel INI parameter to use strings, so that we aren't tied to hard coded values oodletex.h claims can change.
#rb charles.bloom
#preflight 60d358b0be81e80001c2e476

[CL 16759351 by Dan Thompson in ue5-main branch]
2021-06-23 13:18:20 -04:00
Dan Thompson
080fcdd027 Oodle: Add INI setting for RDO universal tiling
#rb charles.bloom
#preflight 60d1220ed4d7ac00019018e1
#preflight 60d21a74be81e800018618bb
#preflight 60d24e022ab218000166753a

[CL 16750597 by Dan Thompson in ue5-main branch]
2021-06-22 18:21:22 -04:00
Zousar Shaker
88099e4a88 Fix TextureFormatOodle changes that were accidentally stomped by my DDC2 check-in.
#rb charles.bloom
#preflight 60d15b4aa81904000133affc

[CL 16738595 by Zousar Shaker in ue5-main branch]
2021-06-22 00:31:32 -04:00
Devin Doucette
16b7293fea Texture: Remove the UTexture parameter from ITextureFormat::GetDerivedDataKeyString
This is necessary to support building textures independently of the UTexture, which is required by the new derived data build interface.

#rb Zousar.Shaker
#rnx
#preflight 60cbbb906092ba000158179a

[CL 16714489 by Devin Doucette in ue5-main branch]
2021-06-17 18:58:04 -04:00
charles bloom
2caa44dad0 update Oodle libs to 2.9.1
TextureFormatOodle use the new RDO_Ex API
bump Oodle Texture DDC ver from 11 to 12

#rb alexander.suvorov

[CL 16589165 by charles bloom in ue5-main branch]
2021-06-08 13:12:42 -04:00
Zousar Shaker
a6bd40e38d -Fix bug in the interpretation of mip offset in FTextureBuildFunction (it is offset into uncomrpessed data, not offset into compressed data)
-Added more metadata to the output of the texture export feature.
-Make FTextureBuildFunction stateless and abstract.  Now must be derived to produce an instantiable build function.
-Made PS5TextureFormat, TextureFormatOodle, and TextureFormatUncompressed modules depend on TextureBuild module and implement concrete derivatives of FTextureBuildFunction.
-Made PS5TextureFormat, TextureFormatOodle, and TextureFormatUncompressed modules register their build functions through an IBuildFunctionFactory for the lifetime of the module.
-Removed all public interface for the DerivedDataBuild{Loop, Worker} and have them just use the IBuildFunctionFactory modular feature to find all linked build functions.

#rb devin.doucette
#preflight 60acfb486905a60001c3cd29

[CL 16448407 by Zousar Shaker in ue5-main branch]
2021-05-25 10:37:34 -04:00
Zousar Shaker
35cb1325a8 -Avoid having dependency on Engine by TextureFormatOodle by avoiding use of UTexture and getting
-Add mechanism for ITextureFormat to have a generic and private "FormatSettings" block that can be global, but also exported with a texture build action and applied when a texture build is executed remotely.  Also ensure that ChildTextureFormat is able to split and store/read the format settings for Child & Base format as separate sub-items.
-Allow the PS5TextureBuildWorker to compile in Oodle if the plugin is present and enabled.

#rb charles.bloom

[CL 16406838 by Zousar Shaker in ue5-main branch]
2021-05-20 14:19:29 -04:00
charles bloom
290304bd73 fix VT cooks of Oodle Texture data were single threaded
fix that by disabling Oodle Texture internal threading
not disabling VT tile threading

#rb danny.couture, alexander.suvorov

[CL 16389238 by charles bloom in ue5-main branch]
2021-05-19 13:34:37 -04:00
charles bloom
940d32c39d TextureFormatOodle optional subdir for debug dump and ddc key uniquing
#rb none

[CL 16354194 by charles bloom in ue5-main branch]
2021-05-17 12:29:09 -04:00
danny couture
040a1d38ac Fix long waits on the game thread when we're waiting on a specific texture to finish synchronously and the taskgraph is full of background tasks
#rb Charles.Bloom

[CL 16331336 by danny couture in ue5-main branch]
2021-05-14 12:51:23 -04:00
alexander suvorov
9ae202b0ca Implement image dump functionality for Oodle texture compression.
#rb charles.bloom

[CL 16319306 by alexander suvorov in ue5-main branch]
2021-05-13 17:19:11 -04:00
alexander suvorov
f8880b6509 Avoid image copy when performing Oodle image compression and image format matches Oodle input format.
#rb charles.bloom

[CL 16314034 by alexander suvorov in ue5-main branch]
2021-05-13 12:02:53 -04:00
charles bloom
acdef332c9 TextureFormatOodle: make log verbosity a config option
add debug dump option, not yet implemented

#rb none
#fyi alexander.suvorov

[CL 16244639 by charles bloom in ue5-main branch]
2021-05-09 11:25:08 -04:00
charles bloom
c993c6f0fc TextureFormatOodle use 16 bit input for BC4/5
#rb alexander.suvorov

[CL 16216327 by charles bloom in ue5-main branch]
2021-05-05 20:58:10 -04:00
charles bloom
0a083579c2 fix comment
#rb none

[CL 16081047 by charles bloom in ue5-main branch]
2021-04-21 16:46:28 -04:00
charles bloom
191775b588 TextureFormatOodle : expose compress effort level as a config param
make optional different level and rdo setting for in-editor / not-in-editor
pass through in-editor platform info in texture build setting
remove the bEnableInEditor from AlternateTexture , we want Oodle always on

#rb josh.adams, danny.couture

[CL 16081013 by charles bloom in ue5-main branch]
2021-04-21 16:43:56 -04:00
charles bloom
b05ccfbb0b rename TextureFormatOodle config group to TextureFormatOodleSettings so existing Saved/ values are ignored
do not write GConfig values so they don't get stored to Saved/

#rb none
#fyi danny.couture

[CL 16075880 by charles bloom in ue5-main branch]
2021-04-21 12:42:08 -04:00
charles bloom
f128e2dd3d TextureFormatOodle use AnyBackgroundThreadNormalTask priority
#rb none
#fyi danny.couture

[CL 16071404 by charles bloom in ue5-main branch]
2021-04-21 07:47:41 -04:00
charles bloom
88f4a30105 Change Oodle to OodleTex_EncodeEffortLevel_Normal for faster texture encodes
#rb none

[CL 16065874 by charles bloom in ue5-main branch]
2021-04-20 16:34:20 -04:00
charles bloom
f5cb5587bd TextureFormatOodle use proper min for last fix
#rb none

[CL 15990839 by charles bloom in ue5-main branch]
2021-04-13 12:01:24 -04:00
charles bloom
73f944d5b3 clamp OodleJobifyNumThreads to avoid int overflow
#rb none

[CL 15985017 by charles bloom in ue5-main branch]
2021-04-12 19:36:13 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00