diff options
author | joshualitt <joshualitt@chromium.org> | 2015-05-15 07:56:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-15 07:56:07 -0700 |
commit | e3ababe44315452cd33b96a18ce316ede09ff3c3 (patch) | |
tree | e7ba40200bc0ab12d3ad1bb2f013904599399638 /src/gpu/effects/GrBitmapTextGeoProc.h | |
parent | c77f6af7c3ca08c94b882ccb2fbd61e6bae7ea42 (diff) |
remove localmatrix from GrGeometryProcessor base class
BUG=skia:
Review URL: https://codereview.chromium.org/1131513005
Diffstat (limited to 'src/gpu/effects/GrBitmapTextGeoProc.h')
-rw-r--r-- | src/gpu/effects/GrBitmapTextGeoProc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.h b/src/gpu/effects/GrBitmapTextGeoProc.h index dc4e1a8567..837dcb6fe5 100644 --- a/src/gpu/effects/GrBitmapTextGeoProc.h +++ b/src/gpu/effects/GrBitmapTextGeoProc.h @@ -36,6 +36,7 @@ public: const Attribute* inTextureCoords() const { return fInTextureCoords; } GrMaskFormat maskFormat() const { return fMaskFormat; } GrColor color() const { return fColor; } + const SkMatrix& localMatrix() const { return fLocalMatrix; } virtual void getGLProcessorKey(const GrBatchTracker& bt, const GrGLSLCaps& caps, @@ -51,6 +52,7 @@ private: GrMaskFormat format, const SkMatrix& localMatrix); GrColor fColor; + SkMatrix fLocalMatrix; GrTextureAccess fTextureAccess; const Attribute* fInPosition; const Attribute* fInColor; |