aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-08-06 10:54:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-06 10:54:13 -0700
commit51c8d409ad55a72eceb46ec7b65702d6d540aa4f (patch)
tree4b37a2800d5f057c7577988307e724d85c7a79c0 /src/gpu/GrDrawTarget.h
parentb4f9d0ec6cc95ce46f9351fee5adaffcfa729e38 (diff)
Move some work from backend onClear to base class clear
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r--src/gpu/GrDrawTarget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 022c6b3e2d..a38f0e9cb0 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -271,8 +271,7 @@ private:
const GrStencilSettings&,
const PipelineInfo&) = 0;
- virtual void onClear(const SkIRect* rect, GrColor color, bool canIgnoreRect,
- GrRenderTarget* renderTarget) = 0;
+ virtual void onClear(const SkIRect& rect, GrColor color, GrRenderTarget* renderTarget) = 0;
/** The subclass's copy surface implementation. It should assume that any clipping has already
been performed on the rect and point and that the GrGpu supports the copy. */