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

Unified Diff: src/gpu/GrPaint.cpp

Issue 787233003: Add XP to handle the cases where we disable color write. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update 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 | « src/gpu/GrOptDrawState.cpp ('k') | src/gpu/GrPathRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPaint.cpp
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp
index 19977963309b94fa8c666a8b7c1b550882ef147b..da6408c9c58105afa9d1771d234032afe9ec597d 100644
--- a/src/gpu/GrPaint.cpp
+++ b/src/gpu/GrPaint.cpp
@@ -41,7 +41,7 @@ bool GrPaint::isOpaqueAndConstantColor(GrColor* color) const {
kRGBA_GrColorComponentFlags, false);
GrXPFactory::InvariantOutput output;
- fXPFactory->getInvariantOutput(colorProcInfo, coverageProcInfo, true, &output);
+ fXPFactory->getInvariantOutput(colorProcInfo, coverageProcInfo, &output);
if (kRGBA_GrColorComponentFlags == output.fBlendedColorFlags &&
0xFF == GrColorUnpackA(output.fBlendedColor)) {
« no previous file with comments | « src/gpu/GrOptDrawState.cpp ('k') | src/gpu/GrPathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698