diff options
| author | 2019-09-22 23:13:02 +1000 | |
|---|---|---|
| committer | 2019-09-22 23:13:02 +1000 | |
| 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.gz yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.tar.xz yuzu-9d69206cd00982e02f90845c98d7d6c9887645c3.zip | |
Merge pull request #2870 from FernandoS27/multi-draw
Implement a MME Draw commands Inliner and correct host instance drawing
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: | |||
| 29 | virtual ~RasterizerInterface() {} | 29 | virtual ~RasterizerInterface() {} |
| 30 | 30 | ||
| 31 | /// Draw the current batch of vertex arrays | 31 | /// Draw the current batch of vertex arrays |
| 32 | virtual void DrawArrays() = 0; | 32 | virtual bool DrawBatch(bool is_indexed) = 0; |
| 33 | |||
| 34 | /// Draw the current batch of multiple instances of vertex arrays | ||
| 35 | virtual bool DrawMultiBatch(bool is_indexed) = 0; | ||
| 33 | 36 | ||
| 34 | /// Clear the current framebuffer | 37 | /// Clear the current framebuffer |
| 35 | virtual void Clear() = 0; | 38 | virtual void Clear() = 0; |
| @@ -69,10 +72,6 @@ public: | |||
| 69 | return false; | 72 | return false; |
| 70 | } | 73 | } |
| 71 | 74 | ||
| 72 | virtual bool AccelerateDrawBatch(bool is_indexed) { | ||
| 73 | return false; | ||
| 74 | } | ||
| 75 | |||
| 76 | /// Increase/decrease the number of object in pages touching the specified region | 75 | /// Increase/decrease the number of object in pages touching the specified region |
| 77 | virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {} | 76 | virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {} |
| 78 | 77 | ||