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

Unified Diff: src/gpu/GrDrawState.h

Issue 715873002: Add isUnblended query to GrDrawState. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Updates Created 6 years, 1 month 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 | src/gpu/GrDrawState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawState.h
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 15df975d73c4470d5c1e0b83a85ae77c96e4fe9a..118162970756dd0d8aa3ef844e30a6daca5473ee 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -159,6 +159,12 @@ public:
*/
bool hasSolidCoverage() const;
+ /**
+ * This function returns false if the render target destination pixel values will not be read
bsalomon 2014/11/11 21:08:38 "true if the destination pixel values will be read
+ * for blending during draw.
+ */
+ bool willBlendWithDst() const;
+
/// @}
///////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | src/gpu/GrDrawState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698