diff options
author | bsalomon <bsalomon@google.com> | 2015-08-13 13:34:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-13 13:34:48 -0700 |
commit | abd30f54b7ff1704a8930c4307ea242d09425d02 (patch) | |
tree | 08eb5fdaa2fbe55f2e763a1d3c05054896919b68 /src/gpu/GrBufferedDrawTarget.h | |
parent | 8f34372f7e97482e5e61ab298b7edaa008ba2f4c (diff) |
Introduce GrBatch subclasses GrDrawBatch and GrVertexBatch to prepare for non-drawing batches
Review URL: https://codereview.chromium.org/1293583002
Diffstat (limited to 'src/gpu/GrBufferedDrawTarget.h')
-rw-r--r-- | src/gpu/GrBufferedDrawTarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrBufferedDrawTarget.h b/src/gpu/GrBufferedDrawTarget.h index cc5e0e33fe..bb7fd89a2c 100644 --- a/src/gpu/GrBufferedDrawTarget.h +++ b/src/gpu/GrBufferedDrawTarget.h @@ -78,7 +78,7 @@ private: void onFlush() override; // overrides from GrDrawTarget - void onDrawBatch(GrBatch*) override; + void onDrawBatch(GrDrawBatch*) override; void onStencilPath(const GrPipelineBuilder&, const GrPathProcessor*, const GrPath*, @@ -109,7 +109,7 @@ private: StateForPathDraw* SK_WARN_UNUSED_RESULT createStateForPathDraw( const GrPrimitiveProcessor*, - const GrDrawTarget::PipelineInfo&, + const PipelineInfo&, GrPipelineOptimizations* opts); // TODO: Use a single allocator for commands and records |