Replace GrMatrix with SkMatrix.
Review URL: https://codereview.appspot.com/6814067
git-svn-id: http://skia.googlecode.com/svn/trunk@6247 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 5fd2462..cd3f774 100644
--- a/src/gpu/GrAAHairLinePathRenderer.cpp
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -352,8 +352,8 @@
result->fY = SkScalarMul(result->fY, wInv);
}
-void bloat_quad(const SkPoint qpts[3], const GrMatrix* toDevice,
- const GrMatrix* toSrc, Vertex verts[kVertsPerQuad]) {
+void bloat_quad(const SkPoint qpts[3], const SkMatrix* toDevice,
+ const SkMatrix* toSrc, Vertex verts[kVertsPerQuad]) {
GrAssert(!toDevice == !toSrc);
// original quad is specified by tri a,b,c
SkPoint a = qpts[0];
@@ -430,8 +430,8 @@
void add_quads(const SkPoint p[3],
int subdiv,
- const GrMatrix* toDevice,
- const GrMatrix* toSrc,
+ const SkMatrix* toDevice,
+ const SkMatrix* toSrc,
Vertex** vert) {
GrAssert(subdiv >= 0);
if (subdiv) {
@@ -502,7 +502,7 @@
&devClipBounds);
GrVertexLayout layout = GrDrawTarget::kEdge_VertexLayoutBit;
- GrMatrix viewM = drawState.getViewMatrix();
+ SkMatrix viewM = drawState.getViewMatrix();
PREALLOC_PTARRAY(128) lines;
PREALLOC_PTARRAY(128) quads;
@@ -521,9 +521,9 @@
Vertex* verts = reinterpret_cast<Vertex*>(arg->vertices());
- const GrMatrix* toDevice = NULL;
- const GrMatrix* toSrc = NULL;
- GrMatrix ivm;
+ const SkMatrix* toDevice = NULL;
+ const SkMatrix* toSrc = NULL;
+ SkMatrix ivm;
if (viewM.hasPerspective()) {
if (viewM.invert(&ivm)) {