Index: src/gpu/GrShape.h |
diff --git a/src/gpu/GrShape.h b/src/gpu/GrShape.h |
index 8f3be58702820eb0c4d7161b290a9477a5d640ac..074278cd863eb18391b14bb001352eb009a624a0 100644 |
--- a/src/gpu/GrShape.h |
+++ b/src/gpu/GrShape.h |
@@ -34,6 +34,10 @@ |
*/ |
class GrShape { |
public: |
+ // Keys for paths may be extracted from the path data for small paths. Clients aren't supposed |
+ // to have to worry about this. This value is exposed for unit tests. |
+ static constexpr int kMaxKeyFromDataVerbCnt = 10; |
+ |
GrShape() { this->initType(Type::kEmpty); } |
explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} |