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

Unified Diff: include/gpu/GrXferProcessor.h

Issue 746423007: Draft change to start pulling uniform color into GP (Closed) Base URL: https://skia.googlesource.com/skia.git@no_factories
Patch Set: rebase Created 6 years 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/core/SkTemplates.h ('k') | include/gpu/effects/GrPorterDuffXferProcessor.h » ('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 40629ea08cd84a4d6e85fdbcfa623401c2663823..bab6141f440de9ff7f5a90f4f328a8638f0dbbf0 100644
--- a/include/gpu/GrXferProcessor.h
+++ b/include/gpu/GrXferProcessor.h
@@ -58,13 +58,13 @@ public:
*/
kSkipDraw_OptFlag = 0x1,
/**
- * Clear color stages, remove color vertex attribs, and use input color
+ * GrXferProcessor will ignore color, thus no need to provide
*/
- kClearColorStages_OptFlag = 0x2,
+ kIgnoreColor_OptFlag = 0x2,
/**
- * Clear coverage stages, remove coverage vertex attribs, and use input coverage
+ * GrXferProcessor will ignore coverage, thus no need to provide
*/
- kClearCoverageStages_OptFlag = 0x4,
+ kIgnoreCoverage_OptFlag = 0x4,
/**
* Clear color stages and override input color to that returned by getOptimizations
*/
@@ -94,7 +94,6 @@ public:
bool colorWriteDisabled,
bool doesStencilWrite,
GrColor* overrideColor,
- uint8_t* overrideCoverage,
const GrDrawTargetCaps& caps) = 0;
struct BlendInfo {
« no previous file with comments | « include/core/SkTemplates.h ('k') | include/gpu/effects/GrPorterDuffXferProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698