diff options
| author | Stenzek <stenzek@gmail.com> | 2017-04-04 22:52:48 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-04-04 22:57:23 +1000 |
| commit | 97dc773a3eecba886f9a99a6aa2bb460cf73ef20 (patch) | |
| tree | 889f13d7d16a850a7fb2de77c536a4345fb8694a /Source/Core/VideoBackends/D3D12/TextureEncoder.h | |
| parent | 90acceaf4166652d6457eb4cc0d9fd8f9a0d5626 (diff) | |
D3D: Drop redundant interface TextureEncoder
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/TextureEncoder.h')
| -rw-r--r-- | Source/Core/VideoBackends/D3D12/TextureEncoder.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Source/Core/VideoBackends/D3D12/TextureEncoder.h b/Source/Core/VideoBackends/D3D12/TextureEncoder.h deleted file mode 100644 index 198bb9c6b8..0000000000 --- a/Source/Core/VideoBackends/D3D12/TextureEncoder.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2011 Dolphin Emulator Project -// Licensed under GPLv2+ -// Refer to the license.txt file included. - -#pragma once - -#include "Common/CommonTypes.h" -#include "VideoCommon/VideoCommon.h" - -namespace DX12 -{ -// Maximum number of bytes that can occur in a texture block-row generated by -// the encoder -static constexpr unsigned int MAX_BYTES_PER_BLOCK_ROW = (EFB_WIDTH / 4) * 64; -// The maximum amount of data that the texture encoder can generate in one call -static constexpr unsigned int MAX_BYTES_PER_ENCODE = MAX_BYTES_PER_BLOCK_ROW * (EFB_HEIGHT / 4); - -class TextureEncoder -{ -public: - virtual ~TextureEncoder() {} - virtual void Init() = 0; - virtual void Shutdown() = 0; - // Returns size in bytes of encoded block of memory - virtual void Encode(u8* dst, u32 format, u32 native_width, u32 bytes_per_row, u32 num_blocks_y, - u32 memory_stride, bool is_depth_copy, const EFBRectangle& src_rect, - bool is_intensity, bool scale_by_half) = 0; -}; -} |
