aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGpuGL.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-10-29 08:48:18 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-29 08:48:19 -0700
commit6db519c42471aaaa8a8e1a3ece314014481ab832 (patch)
treebd84bcbd97726ab60a4ecd2f205249f857a014b2 /src/gpu/gl/GrGpuGL.h
parentcd048d18e0b81338c1a04b9749a00444597df394 (diff)
clear stencil clip on draw target
TBR= BUG=skia: Review URL: https://codereview.chromium.org/683673002
Diffstat (limited to 'src/gpu/gl/GrGpuGL.h')
-rw-r--r--src/gpu/gl/GrGpuGL.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
index 46d970069b..568ce96f31 100644
--- a/src/gpu/gl/GrGpuGL.h
+++ b/src/gpu/gl/GrGpuGL.h
@@ -135,6 +135,10 @@ private:
virtual void onClear(GrRenderTarget*, const SkIRect* rect, GrColor color,
bool canIgnoreRect) SK_OVERRIDE;
+ virtual void onClearStencilClip(GrRenderTarget*,
+ const SkIRect& rect,
+ bool insideClip) SK_OVERRIDE;
+
virtual bool onReadPixels(GrRenderTarget* target,
int left, int top,
int width, int height,
@@ -153,10 +157,8 @@ private:
virtual void clearStencil(GrRenderTarget*) SK_OVERRIDE;
- virtual void clearStencilClip(GrRenderTarget*, const SkIRect& rect,
- bool insideClip) SK_OVERRIDE;
virtual bool flushGraphicsState(DrawType,
- const ScissorState&,
+ const GrClipMaskManager::ScissorState&,
const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
// GrDrawTarget overrides
@@ -227,7 +229,7 @@ private:
// flushes the scissor. see the note on flushBoundTextureAndParams about
// flushing the scissor after that function is called.
- void flushScissor(const ScissorState&,
+ void flushScissor(const GrClipMaskManager::ScissorState&,
const GrGLIRect& rtViewport,
GrSurfaceOrigin rtOrigin);