diff options
author | joshualitt <joshualitt@chromium.org> | 2015-07-16 08:12:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 08:12:45 -0700 |
commit | dbe1e6f0c32bd07b7669b1b1ac3c7f58c9b8d773 (patch) | |
tree | 7911e79e520c673044bcc16bab0d5a60cb48cc71 /gm | |
parent | 3e5f55542cbd23f1ad448cac3d29e8551204552c (diff) |
Give GrBatch a pointer to GrPipeline
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/1170a12839218f7a23c93487bf95fd83aae0201f
Review URL: https://codereview.chromium.org/1237283007
Diffstat (limited to 'gm')
-rw-r--r-- | gm/beziereffects.cpp | 2 | ||||
-rw-r--r-- | gm/convexpolyeffect.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp index 5e00608fa7..6e586196f4 100644 --- a/gm/beziereffects.cpp +++ b/gm/beziereffects.cpp @@ -46,6 +46,7 @@ private: BezierCubicOrConicTestBatch(const GrGeometryProcessor* gp, const Geometry& geo, const SkScalar klmEqs[9], SkScalar sign) : INHERITED(gp, geo.fBounds) { + this->initClassID<BezierCubicOrConicTestBatch>(); for (int i = 0; i < 9; i++) { fKlmEqs[i] = klmEqs[i]; } @@ -447,6 +448,7 @@ private: : INHERITED(gp, geo.fBounds) , fGeometry(geo) , fDevToUV(devToUV) { + this->initClassID<BezierQuadTestBatch>(); } struct Vertex { diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp index 2c77bceb0a..9891f87215 100644 --- a/gm/convexpolyeffect.cpp +++ b/gm/convexpolyeffect.cpp @@ -43,6 +43,7 @@ private: ConvexPolyTestBatch(const GrGeometryProcessor* gp, const Geometry& geo) : INHERITED(gp, geo.fBounds) , fGeometry(geo) { + this->initClassID<ConvexPolyTestBatch>(); } Geometry* geoData(int index) override { |