Split out the CLUT texture cache from "TextureShaderCache"

This commit is contained in:
Henrik Rydgård committed 2026-06-11 10:57:30 +02:00
1 parent f034cb45bb
commit d33425d01d
9 files changed
+168 -144

No files matched your search

+2 -4
View File
@@ -413,16 +413,14 @@ bool TextureCacheGLES::GetCurrentTextureDebug(GPUDebugBuffer &buffer, int level,
}
void TextureCacheGLES::DeviceLost() {
textureShaderCache_->DeviceLost();
Clear(false);
TextureCacheCommon::DeviceLost();
draw_ = nullptr;
render_ = nullptr;
}
void TextureCacheGLES::DeviceRestore(Draw::DrawContext *draw) {
draw_ = draw;
TextureCacheCommon::DeviceRestore(draw);
render_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
textureShaderCache_->DeviceRestore(draw);
}
void *TextureCacheGLES::GetNativeTextureView(const TexCacheEntry *entry, bool flat) const {