diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-11-16 00:13:42 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-11-16 00:13:42 +1300 |
| commit | 18afbe64905f87c58f25f1da75ecc8e7e6f4b07e (patch) | |
| tree | ba5beb146187c96b8030bdfb0a3292dcbe0a0276 /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | 3df344ed38d67759d10c962841fb04389998a1b8 (diff) | |
| parent | 087ba5268a5512e95783ad69bc743a5aeb0bb0b9 (diff) | |
Merge pull request #3210 from degasus/efbcopy
TextureCache: Efb Copy Separation
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 9e7b4a7c71..00db6e46a3 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -101,10 +101,8 @@ public: virtual void Load(unsigned int width, unsigned int height, unsigned int expanded_width, unsigned int level) = 0; - virtual void FromRenderTarget(u8* dst, unsigned int dstFormat, u32 dstStride, - PEControl::PixelFormat srcFormat, const EFBRectangle& srcRect, - bool isIntensity, bool scaleByHalf, unsigned int cbufid, - const float *colmat) = 0; + virtual void FromRenderTarget(u8* dst, PEControl::PixelFormat srcFormat, const EFBRectangle& srcRect, + bool scaleByHalf, unsigned int cbufid, const float *colmat) = 0; bool OverlapsMemoryRange(u32 range_address, u32 range_size) const; @@ -113,8 +111,6 @@ public: u32 NumBlocksY() const; u32 BytesPerRow() const; - void Zero(u8* ptr); - u64 CalculateHash() const; }; @@ -130,6 +126,10 @@ public: virtual TCacheEntryBase* CreateTexture(const TCacheEntryConfig& config) = 0; + virtual void CopyEFB(u8* dst, u32 format, u32 native_width, u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride, + PEControl::PixelFormat srcFormat, const EFBRectangle& srcRect, + bool isIntensity, bool scaleByHalf) = 0; + virtual void CompileShaders() = 0; // currently only implemented by OGL virtual void DeleteShaders() = 0; // currently only implemented by OGL |
