TextureCache: Implement deferred/batched EFB copies

This commit is contained in:
Stenzek 2018-11-03 00:17:00 +10:00
commit 8e2c063d62
29 changed files with 314 additions and 141 deletions

View file

@ -10,7 +10,7 @@
namespace TextureEncoder
{
void Encode(u8* dst, const EFBCopyParams& params, u32 native_width, u32 bytes_per_row,
u32 num_blocks_y, u32 memory_stride, const EFBRectangle& src_rect, bool scale_by_half,
float y_scale, float gamma);
void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride, const EFBRectangle& src_rect,
bool scale_by_half, float y_scale, float gamma);
}