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/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index 2f943ae..b2f7963 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -75,9 +75,9 @@
}
void GrInOrderDrawBuffer::drawRect(const GrRect& rect,
- const GrMatrix* matrix,
+ const SkMatrix* matrix,
const GrRect* srcRects[],
- const GrMatrix* srcMatrices[]) {
+ const SkMatrix* srcMatrices[]) {
GrAssert(!(NULL == fQuadIndexBuffer && fCurrQuad));
GrAssert(!(fDraws.empty() && fCurrQuad));
@@ -126,7 +126,7 @@
GrPrintf("Failed to get space for vertices!\n");
return;
}
- GrMatrix combinedMatrix = drawState->getViewMatrix();
+ SkMatrix combinedMatrix = drawState->getViewMatrix();
// We go to device space so that matrix changes allow us to concat
// rect draws. When the caller has provided explicit source rects
// then we don't want to modify the stages' matrices. Otherwise