From e46f9feb44780a6269c6dcfe993f4215427fd98e Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 18 Aug 2015 06:05:14 -0700 Subject: Privatize GrBatch subclass overrides Review URL: https://codereview.chromium.org/1301663002 --- src/gpu/batches/GrDrawAtlasBatch.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gpu/batches/GrDrawAtlasBatch.h') 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; } -- cgit v1.2.3