summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-09-15 11:48:54 -0400
committerGravatar FernandoS272019-09-19 11:41:27 -0400
commitba02d564f8a0b0167b96f247b6ad9d2bde05b6c8 (patch)
tree015edafb7deacabf4fea3c547534bb00ed60781f /src/video_core/rasterizer_interface.h
parentMerge pull request #2784 from ReinUsesLisp/smem (diff)
downloadyuzu-ba02d564f8a0b0167b96f247b6ad9d2bde05b6c8.tar.gz
yuzu-ba02d564f8a0b0167b96f247b6ad9d2bde05b6c8.tar.xz
yuzu-ba02d564f8a0b0167b96f247b6ad9d2bde05b6c8.zip
Video Core: initial Implementation of InstanceDraw Packaging
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 6b3f2d50a..a37b84b8c 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -31,6 +31,9 @@ public:
31 /// Draw the current batch of vertex arrays 31 /// Draw the current batch of vertex arrays
32 virtual void DrawArrays() = 0; 32 virtual void DrawArrays() = 0;
33 33
34 /// Draw the current batch of vertex arrays
35 virtual void DrawMultiArrays() = 0;
36
34 /// Clear the current framebuffer 37 /// Clear the current framebuffer
35 virtual void Clear() = 0; 38 virtual void Clear() = 0;
36 39
@@ -73,6 +76,10 @@ public:
73 return false; 76 return false;
74 } 77 }
75 78
79 virtual bool AccelerateDrawMultiBatch(bool is_indexed) {
80 return false;
81 }
82
76 /// Increase/decrease the number of object in pages touching the specified region 83 /// Increase/decrease the number of object in pages touching the specified region
77 virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {} 84 virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {}
78 85