Commit Graph

4 Commits

Author SHA1 Message Date
Zousar Shaker
6521df7bb5 Attempt #2 (with issues fixed from last time): Extract texture format indexing and interfaces from the TargetPlatformManager and instead put it into a new type: TextureFormatManager instead. TargetPlatformManager retains the same API for querying texture format information, it just forwards to the TextureFormatManager instead. This is to facilitate the use of TextureCompressor from standalone executables that shouldn't depend on TargetPlatformManager.
#rb ben.ingram

Undo //UE5/Main/Engine/Source/... changelist 16172520

[CL 16185594 by Zousar Shaker in ue5-main branch]
2021-05-03 14:05:29 -04:00
Zousar Shaker
64b4edb93a Undo //UE5/Main/Engine/Source/... changelist 16165786
[CL 16172520 by Zousar Shaker in ue5-main branch]
2021-04-30 16:07:56 -04:00
Zousar Shaker
1818e30ac5 Allow GetTextureFormatManager to be called for the first time from any thread.
Fix NonUnity issue in TextureFormatManager.

#rb ben.ingram
#rb yuriy.odonnell

[CL 16171026 by Zousar Shaker in ue5-main branch]
2021-04-30 14:16:45 -04:00
Zousar Shaker
5120294eb3 Extract texture format indexing and interfaces from the TargetPlatformManager and instead put it into a new type: TextureFormatManager instead. TargetPlatformManager retains the same API for querying texture format information, it just forwards to the TextureFormatManager instead. This is to facilitate the use of TextureCompressor from standalone executables that shouldn't depend on TargetPlatformManager.
#rb ben.ingram

[CL 16165786 by Zousar Shaker in ue5-main branch]
2021-04-30 00:28:32 -04:00