diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2019-09-22 15:13:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 15:13:02 +0200 |
commit | 9d69206cd00982e02f90845c98d7d6c9887645c3 (patch) | |
tree | 51ec8f19f2e91f49a1f77baaffecd4cb7677e911 /src/video_core/rasterizer_interface.h | |
parent | Merge pull request #2891 from FearlessTobi/rod-tex (diff) | |
parent | Maxwell3D: Corrections and refactors to MME instance refactor (diff) | |
download | yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar.gz yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar.bz2 yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar.lz yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar.xz yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar.zst yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.zip |
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 6b3f2d50a..5b0eca9e2 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h @@ -29,7 +29,10 @@ public: virtual ~RasterizerInterface() {} /// Draw the current batch of vertex arrays - virtual void DrawArrays() = 0; + virtual bool DrawBatch(bool is_indexed) = 0; + + /// Draw the current batch of multiple instances of vertex arrays + virtual bool DrawMultiBatch(bool is_indexed) = 0; /// Clear the current framebuffer virtual void Clear() = 0; @@ -69,10 +72,6 @@ public: return false; } - virtual bool AccelerateDrawBatch(bool is_indexed) { - return false; - } - /// Increase/decrease the number of object in pages touching the specified region virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {} |