diff options
author | 2015-08-20 07:22:42 -0700 | |
---|---|---|
committer | 2015-08-20 07:22:42 -0700 | |
commit | 87e4752fc1f7b079a65208e4b3543925a35c3e54 (patch) | |
tree | 0fab6935faf9628a80833164b67b2699dde822d5 /src/gpu/batches/GrTInstanceBatch.h | |
parent | 2f0dbc761a626473c19db7de561c7072b12953c5 (diff) |
Revert "fill rect batch refactor into separate batches"
This reverts commit ae41b3834301444cf27b8aa729b8ad36666bdc08.
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1301203002
Diffstat (limited to 'src/gpu/batches/GrTInstanceBatch.h')
-rw-r--r-- | src/gpu/batches/GrTInstanceBatch.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h index 84d857e99e..420f873d26 100644 --- a/src/gpu/batches/GrTInstanceBatch.h +++ b/src/gpu/batches/GrTInstanceBatch.h @@ -22,8 +22,6 @@ * * const char* Name() * - * void SetBounds(const Geometry& seedGeometry, SkRect* outBounds) - * * bool CanCombine(const Geometry& mine, const Geometry& theirs, * const GrPipelineOptimizations&) * @@ -68,7 +66,7 @@ public: Geometry* geometry() { return &fGeoData[0]; } void init() { const Geometry& geo = fGeoData[0]; - Impl::SetBounds(geo, &fBounds); + this->setBounds(geo.fDevRect); } private: |