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

Unified Diff: include/gpu/GrXferProcessor.h

Issue 927623002: Determine whether we can tweakAlphaForCoverage during Pipeline/XP creation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: review nit Created 5 years, 10 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 | « include/gpu/GrInvariantOutput.h ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrXferProcessor.h
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h
index f7487975e53906bdbdd5afa692a44e3b728b992a..312e769224fcea43d3f5afcd5bd2f65322786dff 100644
--- a/include/gpu/GrXferProcessor.h
+++ b/include/gpu/GrXferProcessor.h
@@ -73,6 +73,10 @@ public:
* Set CoverageDrawing_StateBit
*/
kSetCoverageDrawing_OptFlag = 0x10,
+ /**
+ * Can tweak alpha for coverage. Currently this flag should only be used by a batch
+ */
+ kCanTweakAlphaForCoverage_OptFlag = 0x20,
};
GR_DECL_BITFIELD_OPS_FRIENDS(OptFlags);
« no previous file with comments | « include/gpu/GrInvariantOutput.h ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698