aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mock/GrMockGpuCommandBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/mock/GrMockGpuCommandBuffer.h')
-rw-r--r--src/gpu/mock/GrMockGpuCommandBuffer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/mock/GrMockGpuCommandBuffer.h b/src/gpu/mock/GrMockGpuCommandBuffer.h
index 7a94e9a7b4..d3e26fa503 100644
--- a/src/gpu/mock/GrMockGpuCommandBuffer.h
+++ b/src/gpu/mock/GrMockGpuCommandBuffer.h
@@ -50,8 +50,9 @@ public:
void submit() override { fGpu->submitCommandBuffer(this); }
private:
- void onDraw(const GrPrimitiveProcessor&, const GrPipeline&, const GrMesh[],
- const GrPipeline::DynamicState[], int meshCount, const SkRect& bounds) override {
+ void onDraw(const GrPrimitiveProcessor&, const GrPipeline&,
+ const GrPipeline::FixedDynamicState*, const GrPipeline::DynamicStateArrays*,
+ const GrMesh[], int meshCount, const SkRect& bounds) override {
++fNumDraws;
}
void onClear(const GrFixedClip&, GrColor) override {}