diff options
author | 2015-08-06 10:54:13 -0700 | |
---|---|---|
committer | 2015-08-06 10:54:13 -0700 | |
commit | 51c8d409ad55a72eceb46ec7b65702d6d540aa4f (patch) | |
tree | 4b37a2800d5f057c7577988307e724d85c7a79c0 /src/gpu/gl/GrGLGpu.h | |
parent | b4f9d0ec6cc95ce46f9351fee5adaffcfa729e38 (diff) |
Move some work from backend onClear to base class clear
BUG=skia:
Review URL: https://codereview.chromium.org/1275543005
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index eb9795ca16..d247a685fd 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -132,8 +132,7 @@ private: bool attachStencilAttachmentToRenderTarget(GrStencilAttachment* sb, GrRenderTarget* rt) override; - void onClear(GrRenderTarget*, const SkIRect* rect, GrColor color, - bool canIgnoreRect) override; + void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override; void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override; |