Commit Graph

5 Commits

Author SHA1 Message Date
charles bloom
ada7f6b1d8 Texture GetBuildRequiredEstimate better estimate of texture build memory needed
create new TextureBuildUtilities module that can be used from Engine or TextureBuildWorker
new cvar memory.WindowsPlatformMemoryGetStatsLimitTotalVirtualGB simulates a lower memory system

#rb fabian.giesen
#preflight 62b34bf8650c9d5857a38514

[CL 20786800 by charles bloom in ue5-main branch]
2022-06-22 20:21:16 -04:00
Zousar Shaker
b866ed60eb Expand texture build functions to all current texture formats.
Expand texture build workers to all current platform specific texture formats, or added build functions to the base build worker.  Workers are buildable, but not discoverable yet as discovery will be refactored soon to use Target Receipts.
Reduce boilerplate involved in setup of build worker.

#rb devin.doucette

[CL 16853856 by Zousar Shaker in ue5-main branch]
2021-07-14 15:26:40 -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
1311f41fcc Modified implementation of UncompressedTextureBuildWorker to match the new name of BaseTextureBuildWorker. Also linked in Oodle texture format module and exposed an OodleTexture build function from BaseTextureBuildWorker.
[CL 16415147 by Zousar Shaker in ue5-main branch]
2021-05-21 01:32:29 -04:00
Zousar Shaker
2b1ee0faa6 Rename/move file(s) from UncompressedTextureBuildWorker to BaseTextureBuildWorker
[CL 16415109 by Zousar Shaker in ue5-main branch]
2021-05-21 01:15:30 -04:00