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

Unified Diff: include/gpu/GrPaint.h

Issue 814933002: Add an InvariantOutput for the XPF. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | include/gpu/GrXferProcessor.h » ('j') | src/gpu/effects/GrPorterDuffXferProcessor.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrPaint.h
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h
index 17bb11811f597b928d762bfa57d089de371d7166..6862d9dc5556e9e423d475e2581be6539df99e94 100644
--- a/include/gpu/GrPaint.h
+++ b/include/gpu/GrPaint.h
@@ -142,15 +142,6 @@ public:
}
/**
- * Determines whether the drawing with this paint is opaque with respect to both color blending
- * and fractional coverage. It does not consider whether AA has been enabled on the paint or
- * not. Depending upon whether multisampling or coverage-based AA is in use, AA may make the
- * result only apply to the interior of primitives.
- *
- */
- bool isOpaque() const;
-
- /**
* Returns true if isOpaque would return true and the paint represents a solid constant color
* draw. If the result is true, constantColor will be updated to contain the constant color.
*/
@@ -193,11 +184,6 @@ public:
}
private:
- /**
- * Helper for isOpaque and isOpaqueAndConstantColor.
- */
- bool getOpaqueAndKnownColor(GrColor* solidColor, uint32_t* solidColorKnownComponents) const;
-
friend class GrContext; // To access above two functions
friend class GrStencilAndCoverTextContext; // To access above two functions
« no previous file with comments | « no previous file | include/gpu/GrXferProcessor.h » ('j') | src/gpu/effects/GrPorterDuffXferProcessor.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698