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/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 3a9813b..4d652f6 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -13,7 +13,7 @@
#include "GrDrawState.h"
#include "GrIndexBuffer.h"
-#include "GrMatrix.h"
+#include "SkMatrix.h"
#include "GrRefCnt.h"
#include "GrTemplates.h"
@@ -476,9 +476,9 @@
* srcMatrices are desired.
*/
virtual void drawRect(const GrRect& rect,
- const GrMatrix* matrix,
+ const SkMatrix* matrix,
const GrRect* srcRects[],
- const GrMatrix* srcMatrices[]);
+ const SkMatrix* srcMatrices[]);
/**
* This call is used to draw multiple instances of some geometry with a
@@ -518,7 +518,7 @@
* matrices.
*/
void drawSimpleRect(const GrRect& rect,
- const GrMatrix* matrix) {
+ const SkMatrix* matrix) {
drawRect(rect, matrix, NULL, NULL);
}
@@ -992,9 +992,9 @@
static GrVertexLayout GetRectVertexLayout(const GrRect* srcRects[]);
static void SetRectVertices(const GrRect& rect,
- const GrMatrix* matrix,
+ const SkMatrix* matrix,
const GrRect* srcRects[],
- const GrMatrix* srcMatrices[],
+ const SkMatrix* srcMatrices[],
GrColor color,
GrVertexLayout layout,
void* vertices);