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

Unified Diff: src/gpu/GrDrawContextPriv.h

Issue 1962243002: Separate user and raw stencil settings (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawContextPriv.h
diff --git a/src/gpu/GrDrawContextPriv.h b/src/gpu/GrDrawContextPriv.h
index 4482e35672da1f488c6bcc7749572b4efc00bdad..973315b17286acadb8675b51b6800062b1f1d077 100644
--- a/src/gpu/GrDrawContextPriv.h
+++ b/src/gpu/GrDrawContextPriv.h
@@ -10,7 +10,7 @@
#include "GrDrawContext.h"
-class GrStencilSettings;
+struct GrUserStencilSettings;
/** Class that adds methods to GrDrawContext that are only intended for use internal to Skia.
This class is purely a privileged window into GrDrawContext. It should never have additional
@@ -18,7 +18,7 @@ class GrStencilSettings;
class GrDrawContextPriv {
public:
bool drawAndStencilRect(const SkIRect* scissorRect,
- const GrStencilSettings&,
+ const GrUserStencilSettings*,
SkRegion::Op op,
bool invert,
bool doAA,
@@ -26,7 +26,7 @@ public:
const SkRect&);
bool drawAndStencilPath(const SkIRect* scissorRect,
- const GrStencilSettings&,
+ const GrUserStencilSettings*,
SkRegion::Op op,
bool invert,
bool doAA,
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698