mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 06:57:59 -05:00
Rasterizer: Refactor and simplify DrawBatch Interface.
This commit is contained in:
committed by
FernandoS27
parent
d2ea592ddb
commit
7761e44d18
@ -29,10 +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 instasnces of vertex arrays
|
||||
virtual void DrawMultiArrays() = 0;
|
||||
virtual bool DrawMultiBatch(bool is_indexed) = 0;
|
||||
|
||||
/// Clear the current framebuffer
|
||||
virtual void Clear() = 0;
|
||||
@ -72,14 +72,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool AccelerateDrawBatch(bool is_indexed) {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool AccelerateDrawMultiBatch(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) {}
|
||||
|
||||
|
Reference in New Issue
Block a user