mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +00:00
OGL: Implement GPU texture decoding backend
This commit is contained in:
parent
79ba946d70
commit
b01bcb80f4
4 changed files with 193 additions and 6 deletions
|
@ -23,6 +23,12 @@ public:
|
|||
static void DisableStage(unsigned int stage);
|
||||
static void SetStage();
|
||||
|
||||
bool SupportsGPUTextureDecode(TextureFormat format, TlutFormat palette_format) override;
|
||||
void DecodeTextureOnGPU(TCacheEntryBase* entry, u32 dst_level, const u8* data, size_t data_size,
|
||||
TextureFormat format, u32 width, u32 height, u32 aligned_width,
|
||||
u32 aligned_height, u32 row_stride, const u8* palette,
|
||||
TlutFormat palette_format) override;
|
||||
|
||||
private:
|
||||
struct TCacheEntry : TCacheEntryBase
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue