TextureCache: Combine ApplyPaletteToEntry and ConvertTexture

This commit is contained in:
Stenzek
2019-07-14 14:07:37 +10:00
parent dfae87d69a
commit 77f406c8a8
2 changed files with 38 additions and 51 deletions

View File

@ -228,10 +228,6 @@ public:
static bool NeedsCopyFilterInShader(const EFBCopyFilterCoefficients& coefficients);
protected:
// Applies a palette to an EFB copy/texture.
bool ConvertTexture(TCacheEntry* entry, TCacheEntry* unconverted, const void* palette,
TLUTFormat format);
// Decodes the specified data to the GPU texture specified by entry.
// Returns false if the configuration is not supported.
// width, height are the size of the image in pixels.