Simplify GrDrawBatch uploads and token uage.
authorbsalomon <bsalomon@google.com>
Fri, 1 Apr 2016 13:06:20 +0000 (06:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 1 Apr 2016 13:06:20 +0000 (06:06 -0700)
commit342bfc25de5b0452b1551bf9db4bf45eac7718b2
tree5d54f2ecb1ec17f7848500df30c4f6d40c5b9ae8
parent38d68bc31d69ea9793d925dd3c7d4337330b2b7b
Simplify GrDrawBatch uploads and token uage.

GrVertexBatch subclasses no longer need "initDraw".

Simplifies GrTestBatch

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1835283002

Review URL: https://codereview.chromium.org/1835283002
32 files changed:
gm/beziereffects.cpp
gm/convexpolyeffect.cpp
src/gpu/GrBatchAtlas.cpp
src/gpu/GrBatchAtlas.h
src/gpu/GrBatchFlushState.cpp
src/gpu/GrBatchFlushState.h
src/gpu/GrDefaultGeoProcFactory.h
src/gpu/GrDrawingManager.cpp
src/gpu/GrOvalRenderer.cpp
src/gpu/batches/GrAAConvexPathRenderer.cpp
src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
src/gpu/batches/GrAAHairLinePathRenderer.cpp
src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp
src/gpu/batches/GrAAStrokeRectBatch.cpp
src/gpu/batches/GrAtlasTextBatch.cpp
src/gpu/batches/GrAtlasTextBatch.h
src/gpu/batches/GrDefaultPathRenderer.cpp
src/gpu/batches/GrDrawAtlasBatch.cpp
src/gpu/batches/GrDrawBatch.h
src/gpu/batches/GrDrawVerticesBatch.cpp
src/gpu/batches/GrNinePatch.cpp
src/gpu/batches/GrNonAAStrokeRectBatch.cpp
src/gpu/batches/GrPLSPathRenderer.cpp
src/gpu/batches/GrTInstanceBatch.h
src/gpu/batches/GrTessellatingPathRenderer.cpp
src/gpu/batches/GrTestBatch.h
src/gpu/batches/GrVertexBatch.cpp
src/gpu/batches/GrVertexBatch.h
src/gpu/effects/GrDashingEffect.cpp
src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp
src/gpu/text/GrBatchFontCache.h
tests/PrimitiveProcessorTest.cpp