Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: src/gpu/gl/GrGpuGL.h

Issue 683673002: clear stencil clip on draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@aa_rect_takes_gpu
Patch Set: feedback inc Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/gl/GrGpuGL.h
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
index dc0d076a2d2284d3adeb021dd59bf8714a2601f4..b65a89502ded87a38d50f2da723b52892f9ffb9c 100644
--- a/src/gpu/gl/GrGpuGL.h
+++ b/src/gpu/gl/GrGpuGL.h
@@ -128,6 +128,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,
@@ -146,10 +150,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
@@ -222,7 +224,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);
« src/gpu/GrGpu.h ('K') | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698