diff options
author | 2015-08-03 11:35:28 -0700 | |
---|---|---|
committer | 2015-08-03 11:35:29 -0700 | |
commit | df0c55785033c191d2d509c22662861588e4acd8 (patch) | |
tree | 511d1c06cedea6809bfd59eea879fe74a6bf85bf /src/gpu/GrDefaultGeoProcFactory.h | |
parent | f23190078b7139d63a639a8acfc21ddce183fd0a (diff) |
Use new API everywhere for GrDefaultGeoProcFactory
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/801823b3d825d96baadeb9077c5ed1a8ada05cf2
Review URL: https://codereview.chromium.org/1261083003
Diffstat (limited to 'src/gpu/GrDefaultGeoProcFactory.h')
-rw-r--r-- | src/gpu/GrDefaultGeoProcFactory.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h index bdefd4a920..cd886a20e2 100644 --- a/src/gpu/GrDefaultGeoProcFactory.h +++ b/src/gpu/GrDefaultGeoProcFactory.h @@ -127,7 +127,7 @@ namespace GrDefaultGeoProcFactory { const GrGeometryProcessor* Create(const Color&, const Coverage&, const LocalCoords&, - const SkMatrix& viewMatrix = SkMatrix::I()); + const SkMatrix& viewMatrix); /* * Use this factory to create a GrGeometryProcessor that expects a device space vertex position @@ -139,15 +139,6 @@ namespace GrDefaultGeoProcFactory { 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); } }; |