aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDefaultGeoProcFactory.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-03 09:03:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-03 09:03:33 -0700
commit801823b3d825d96baadeb9077c5ed1a8ada05cf2 (patch)
tree697bc526d939f239bf0298b9da1ef06f037be28d /src/gpu/GrDefaultGeoProcFactory.h
parent849a620c45e8be8a74fdb5be463d80fabb876f85 (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); }
};