Index: src/gpu/GrDefaultGeoProcFactory.h |
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h |
index f13ff85904463bbb66ca55e638dedd26ffbdf95b..b7db74d845f375940e606e732635bda1f2e8ad27 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.h |
+++ b/src/gpu/GrDefaultGeoProcFactory.h |
@@ -83,7 +83,15 @@ public: |
static const GrGeometryProcessor* Create(GrColor, |
uint32_t gpTypeFlags = 0, |
bool opaqueVertexColors = false, |
- uint8_t coverage = 0xff); |
+ uint8_t coverage = 0xff, |
+ const SkMatrix& localMatrix = SkMatrix::I()); |
+ |
+ static const GrGeometryProcessor* Create(GrColor color, |
+ uint32_t gpTypeFlags, |
+ const SkMatrix& localMatrix) { |
+ return Create(color, gpTypeFlags, false, 0xff, localMatrix); |
+ } |
+ |
static size_t DefaultVertexStride() { return sizeof(PositionAttr); } |
}; |