Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index 248298e01a1325772df631f94b7b646e4b2f174e..2471a8d676da1c3618bd3aea3bca4c153ef186ba 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -62,6 +62,7 @@ public: |
bool pathRenderingSupport() const { return fPathRenderingSupport; } |
bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; } |
bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport; } |
+ bool integerSupport() const { return fIntegerSupport; } |
/** |
* Get the precision info for a variable of type kFloat_GrSLType, kVec2f_GrSLType, etc in a |
@@ -109,6 +110,7 @@ protected: |
bool fPathRenderingSupport : 1; |
bool fDstReadInShaderSupport : 1; |
bool fDualSourceBlendingSupport : 1; |
+ bool fIntegerSupport : 1; |
bool fShaderPrecisionVaries; |
PrecisionInfo fFloatPrecisions[kGrShaderTypeCount][kGrSLPrecisionCount]; |