diff options
author | 2014-12-18 12:44:55 -0800 | |
---|---|---|
committer | 2014-12-18 12:44:55 -0800 | |
commit | 9e4ecdc9f86724dcce23dc7546e2f295b901407b (patch) | |
tree | 9b3178883194b538f6f7371b8b432ca9a5d71514 /include/gpu/GrPaint.h | |
parent | caf7e9313b52f78b53ff7d478f9cc41a1f6a85ff (diff) |
Add an InvariantOutput for the XPF.
The Invariant output holds information about final post blended color and other
general information like will it blend with dst. Having this new struct allowed
me to also remove some functions that were previously querying subsets of the
invariant output.
BUG=skia:
Review URL: https://codereview.chromium.org/814933002
Diffstat (limited to 'include/gpu/GrPaint.h')
-rw-r--r-- | include/gpu/GrPaint.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h index 17bb11811f..6862d9dc55 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 |