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

Unified Diff: src/gpu/GrClipMaskManager.h

Issue 1431593006: Fix mixed samples stencil clip (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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/GrClipMaskManager.h
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index 98fd3af351c355c5f0116f11790c635c7e8e11ae..4a91ede6a6a2987fc94144b46cc61e266c218695 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -33,13 +33,18 @@ class SkPath;
*/
class GrAppliedClip : public SkNoncopyable {
public:
- GrAppliedClip() {}
+ GrAppliedClip() : fAdditionalPipelineFlags(0), fBlockedPipelineFlags(0) {}
const GrFragmentProcessor* clipCoverageFragmentProcessor() const { return fClipCoverageFP; }
const GrScissorState& scissorState() const { return fScissorState; }
+ uint32_t additionalPipelineFlags() const { return fAdditionalPipelineFlags; }
+ uint32_t blockedPipelineFlags() const { return fBlockedPipelineFlags; }
Chris Dalton 2015/11/09 18:41:58 This seemed like the right place to override the h
bsalomon 2015/11/09 19:26:46 Are the blocked flags used anywhere?
Chris Dalton 2015/11/09 19:49:36 No, I only added it for philosophical reasons.. Ho
private:
SkAutoTUnref<const GrFragmentProcessor> fClipCoverageFP;
GrScissorState fScissorState;
+ uint32_t fAdditionalPipelineFlags;
+ uint32_t fBlockedPipelineFlags;
+
friend class GrClipMaskManager;
typedef SkNoncopyable INHERITED;
« no previous file with comments | « src/gpu/GrCaps.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | src/gpu/GrPipeline.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698