mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-01 00:38:34 +00:00
VideoCommon: Move abstract texture creation function to Renderer
This commit is contained in:
parent
5860c97144
commit
49a9c33bd7
24 changed files with 49 additions and 36 deletions
|
@ -33,11 +33,6 @@ static const size_t MAX_COPY_BUFFERS = 32;
|
|||
static ID3D11Buffer* s_efbcopycbuf[MAX_COPY_BUFFERS] = {0};
|
||||
static std::unique_ptr<PSTextureEncoder> g_encoder;
|
||||
|
||||
std::unique_ptr<AbstractTexture> TextureCache::CreateTexture(const TextureConfig& config)
|
||||
{
|
||||
return std::make_unique<DXTexture>(config);
|
||||
}
|
||||
|
||||
void TextureCache::CopyEFB(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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue