Index: src/gpu/GrDefaultGeoProcFactory.h |
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h |
index cd886a20e246ae5059246a42e41ed48a6afed5de..bdefd4a920de446148afcbecaa57e8c77f17bd6c 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.h |
+++ b/src/gpu/GrDefaultGeoProcFactory.h |
@@ -127,7 +127,7 @@ |
const GrGeometryProcessor* Create(const Color&, |
const Coverage&, |
const LocalCoords&, |
- const SkMatrix& viewMatrix); |
+ const SkMatrix& viewMatrix = SkMatrix::I()); |
/* |
* Use this factory to create a GrGeometryProcessor that expects a device space vertex position |
@@ -139,6 +139,15 @@ |
const LocalCoords&, |
const SkMatrix& viewMatrix); |
+ // TODO deprecate this |
+ const GrGeometryProcessor* Create(uint32_t gpTypeFlags, |
+ GrColor, |
+ bool localCoordsWillBeRead, |
+ bool coverageWillBeIgnored, |
+ const SkMatrix& viewMatrix = SkMatrix::I(), |
+ const SkMatrix& localMatrix = SkMatrix::I(), |
+ uint8_t coverage = 0xff); |
+ |
inline size_t DefaultVertexStride() { return sizeof(PositionAttr); } |
}; |