Index: src/gpu/gl/GrGLGpuCommandBuffer.h |
diff --git a/src/gpu/gl/GrGLGpuCommandBuffer.h b/src/gpu/gl/GrGLGpuCommandBuffer.h |
index c5f0eea4ff3ff6f9de2e9c46e1ad2b70d23aef15..4ad2b13ada24cda168347770c6539f8a93a8ccb8 100644 |
--- a/src/gpu/gl/GrGLGpuCommandBuffer.h |
+++ b/src/gpu/gl/GrGLGpuCommandBuffer.h |
@@ -39,12 +39,14 @@ private: |
fGpu->draw(pipeline, primProc, mesh, meshCount); |
} |
- void onClear(GrRenderTarget* rt, const SkIRect& rect, GrColor color) override { |
- fGpu->clear(rect, color, rt); |
+ void onClear(GrRenderTarget* rt, const GrFixedClip& clip, GrColor color) override { |
+ fGpu->clear(clip, color, rt); |
} |
- void onClearStencilClip(GrRenderTarget* rt, const SkIRect& rect, bool insideClip) override { |
- fGpu->clearStencilClip(rect, insideClip, rt); |
+ void onClearStencilClip(GrRenderTarget* rt, |
+ const GrFixedClip& clip, |
+ bool insideStencilMask) override { |
+ fGpu->clearStencilClip(clip, insideStencilMask, rt); |
} |
GrGLGpu* fGpu; |