aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-15 14:25:50 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-15 14:25:50 +0000
commit858804dfe62c957050080a6fdce9226387ae7b7d (patch)
tree00b7be7d7eb781e7d266f97f71a21b2238526c9f /include
parent1e269b5a08610da13c3aee23809bb45b17e7b663 (diff)
Use AutoMatrix in GrTextContext
Review URL: https://codereview.appspot.com/6691043 git-svn-id: http://skia.googlecode.com/svn/trunk@5952 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrTextContext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/gpu/GrTextContext.h b/include/gpu/GrTextContext.h
index 83d420be46..6b28b79efc 100644
--- a/include/gpu/GrTextContext.h
+++ b/include/gpu/GrTextContext.h
@@ -11,9 +11,9 @@
#ifndef GrTextContext_DEFINED
#define GrTextContext_DEFINED
+#include "GrContext.h"
#include "GrGlyph.h"
#include "GrPaint.h"
-#include "GrMatrix.h"
struct GrGpuTextVertex;
class GrContext;
@@ -50,14 +50,14 @@ private:
kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4,
};
- GrGpuTextVertex* fVertices;
+ GrGpuTextVertex* fVertices;
- int32_t fMaxVertices;
- GrTexture* fCurrTexture;
- int fCurrVertex;
+ int32_t fMaxVertices;
+ GrTexture* fCurrTexture;
+ int fCurrVertex;
- GrIRect fClipRect;
- GrMatrix fOrigViewMatrix; // restore previous viewmatrix
+ GrIRect fClipRect;
+ GrContext::AutoMatrix fAutoMatrix;
};
#endif