aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawState.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r--src/gpu/GrDrawState.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index baa92afd59..5c76aed6a3 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -159,6 +159,12 @@ public:
*/
bool hasSolidCoverage() const;
+ /**
+ * This function returns true if the render target destination pixel values will be read for
+ * blending during draw.
+ */
+ bool willBlendWithDst() const;
+
/// @}
///////////////////////////////////////////////////////////////////////////