diff options
| author | 2016-09-27 18:09:53 +0800 | |
|---|---|---|
| committer | 2016-09-29 10:01:34 +0800 | |
| commit | d2419570b9fcc27e91369b97853fcf65c4fc47dd (patch) | |
| tree | 66238e18077ebc1bce05ae36d279619226929619 /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #2099 from citra-emu/fix-clang-format (diff) | |
| download | yuzu-d2419570b9fcc27e91369b97853fcf65c4fc47dd.tar.gz yuzu-d2419570b9fcc27e91369b97853fcf65c4fc47dd.tar.xz yuzu-d2419570b9fcc27e91369b97853fcf65c4fc47dd.zip | |
rasterizer: separate TextureCopy from DisplayTransfer
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 71df233b5..8ef7e74c7 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -42,11 +42,16 @@ public: | |||
| 42 | /// and invalidated | 42 | /// and invalidated |
| 43 | virtual void FlushAndInvalidateRegion(PAddr addr, u32 size) = 0; | 43 | virtual void FlushAndInvalidateRegion(PAddr addr, u32 size) = 0; |
| 44 | 44 | ||
| 45 | /// Attempt to use a faster method to perform a display transfer | 45 | /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0 |
| 46 | virtual bool AccelerateDisplayTransfer(const GPU::Regs::DisplayTransferConfig& config) { | 46 | virtual bool AccelerateDisplayTransfer(const GPU::Regs::DisplayTransferConfig& config) { |
| 47 | return false; | 47 | return false; |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 1 | ||
| 51 | virtual bool AccelerateTextureCopy(const GPU::Regs::DisplayTransferConfig& config) { | ||
| 52 | return false; | ||
| 53 | } | ||
| 54 | |||
| 50 | /// Attempt to use a faster method to fill a region | 55 | /// Attempt to use a faster method to fill a region |
| 51 | virtual bool AccelerateFill(const GPU::Regs::MemoryFillConfig& config) { | 56 | virtual bool AccelerateFill(const GPU::Regs::MemoryFillConfig& config) { |
| 52 | return false; | 57 | return false; |