aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrTInstanceBatch.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-19 06:54:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-19 06:54:08 -0700
commitae41b3834301444cf27b8aa729b8ad36666bdc08 (patch)
tree9e516e7aa00b8f3ad554eb367729754233d62172 /src/gpu/batches/GrTInstanceBatch.h
parent6458b6f0a8e8b1e16ec1640d17fe28ab05c8a95b (diff)
fill rect batch refactor into separate batches
Diffstat (limited to 'src/gpu/batches/GrTInstanceBatch.h')
-rw-r--r--src/gpu/batches/GrTInstanceBatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h
index 420f873d26..84d857e99e 100644
--- a/src/gpu/batches/GrTInstanceBatch.h
+++ b/src/gpu/batches/GrTInstanceBatch.h
@@ -22,6 +22,8 @@
*
* const char* Name()
*
+ * void SetBounds(const Geometry& seedGeometry, SkRect* outBounds)
+ *
* bool CanCombine(const Geometry& mine, const Geometry& theirs,
* const GrPipelineOptimizations&)
*
@@ -66,7 +68,7 @@ public:
Geometry* geometry() { return &fGeoData[0]; }
void init() {
const Geometry& geo = fGeoData[0];
- this->setBounds(geo.fDevRect);
+ Impl::SetBounds(geo, &fBounds);
}
private: