diff options
author | 2015-01-18 08:14:14 -0800 | |
---|---|---|
committer | 2015-01-18 08:14:14 -0800 | |
commit | 46d36f0e7b709a077c647841eee23bd3efdc4117 (patch) | |
tree | f1af8cebc0e3fbaa0eabc29cfbd781eedffee287 /src/gpu/GrGeometryProcessor.h | |
parent | 75d98fd6f23fc73aad3ce87d6c4b6c41c2d1536e (diff) |
Refactor position computation to enable device space "nudge"
To match raster's handling of BW geometry we want to be able to perform a device space "nudge" on all geometry. This CL sets us up to be able to do that in GrGLVertexBuilder::transformToNormalizedDeviceSpace.
BUG=423834
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/854013002
Diffstat (limited to 'src/gpu/GrGeometryProcessor.h')
-rw-r--r-- | src/gpu/GrGeometryProcessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrGeometryProcessor.h b/src/gpu/GrGeometryProcessor.h index 43b6a7e31a..736c515e88 100644 --- a/src/gpu/GrGeometryProcessor.h +++ b/src/gpu/GrGeometryProcessor.h @@ -220,7 +220,7 @@ protected: private: virtual bool hasExplicitLocalCoords() const = 0; - SkMatrix fViewMatrix; + const SkMatrix fViewMatrix; SkMatrix fLocalMatrix; typedef GrProcessor INHERITED; |