aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDefaultGeoProcFactory.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-03 11:35:28 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-03 11:35:29 -0700
commitdf0c55785033c191d2d509c22662861588e4acd8 (patch)
tree511d1c06cedea6809bfd59eea879fe74a6bf85bf /src/gpu/GrDefaultGeoProcFactory.h
parentf23190078b7139d63a639a8acfc21ddce183fd0a (diff)
Use new API everywhere for GrDefaultGeoProcFactory
Diffstat (limited to 'src/gpu/GrDefaultGeoProcFactory.h')
-rw-r--r--src/gpu/GrDefaultGeoProcFactory.h11
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); }
};