diff options
author | joshualitt <joshualitt@google.com> | 2015-09-17 11:43:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-17 11:43:02 -0700 |
commit | a7008403dcd03302e88e2df546d8427afe9e0e80 (patch) | |
tree | 5bce1f3fd012c399e17401605e3d9f5dcba53169 /src/gpu/batches/GrDrawAtlasBatch.h | |
parent | 4078d529e9e199eea13456db7bf3a63a104ab5b9 (diff) |
Revert of add a ClassID function to GrBatch (patchset #5 id:80001 of https://codereview.chromium.org/1352813003/ )
Reason for revert:
breaks mac bot
Original issue's description:
> add a ClassID function to GrBatch
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/4078d529e9e199eea13456db7bf3a63a104ab5b9
TBR=robertphillips@google.com,bsalomon@google.com,joshualitt@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1345393003
Diffstat (limited to 'src/gpu/batches/GrDrawAtlasBatch.h')
-rw-r--r-- | src/gpu/batches/GrDrawAtlasBatch.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/batches/GrDrawAtlasBatch.h b/src/gpu/batches/GrDrawAtlasBatch.h index de128f211d..9a864c01c9 100644 --- a/src/gpu/batches/GrDrawAtlasBatch.h +++ b/src/gpu/batches/GrDrawAtlasBatch.h @@ -14,13 +14,11 @@ class GrDrawAtlasBatch : public GrVertexBatch { public: - DEFINE_BATCH_CLASS_ID - struct Geometry { GrColor fColor; SkTArray<uint8_t, true> fVerts; }; - + static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount, const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) { @@ -68,8 +66,6 @@ private: bool fColorIgnored; bool fCoverageIgnored; bool fHasColors; - - typedef GrVertexBatch INHERITED; }; #endif |