diff options
author | bsalomon <bsalomon@google.com> | 2015-08-18 06:05:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-18 06:05:14 -0700 |
commit | e46f9feb44780a6269c6dcfe993f4215427fd98e (patch) | |
tree | 8aad4e37b1fffdf3d49d509c01ad5b672db12d4f /src/gpu/batches/GrDrawAtlasBatch.h | |
parent | cf9c4759039c1d6dc5834d653fb36e465e3166d1 (diff) |
Privatize GrBatch subclass overrides
Review URL: https://codereview.chromium.org/1301663002
Diffstat (limited to 'src/gpu/batches/GrDrawAtlasBatch.h')
-rw-r--r-- | src/gpu/batches/GrDrawAtlasBatch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/batches/GrDrawAtlasBatch.h b/src/gpu/batches/GrDrawAtlasBatch.h index c7ee9f3e37..e7dd9bfbd0 100644 --- a/src/gpu/batches/GrDrawAtlasBatch.h +++ b/src/gpu/batches/GrDrawAtlasBatch.h @@ -40,17 +40,17 @@ public: void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override { out->setKnownSingleComponent(0xff); } - - void initBatchTracker(const GrPipelineOptimizations&) override; - + SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; } - + private: void onPrepareDraws(Target*) override; + void initBatchTracker(const GrPipelineOptimizations&) override; + GrDrawAtlasBatch(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount, const SkRSXform* xforms, const SkRect* rects, const SkColor* colors); - + GrColor color() const { return fColor; } bool colorIgnored() const { return fColorIgnored; } const SkMatrix& viewMatrix() const { return fViewMatrix; } |