aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrInOrderDrawBuffer.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-05-07 09:51:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-07 09:51:43 -0700
commite40d39725908d99d255496025411e5c9ca32663e (patch)
treeaf07d303a6b64b3da185829c7ef6895cdbf83464 /src/gpu/GrInOrderDrawBuffer.h
parent0acd0d33fd69b6603fa22f88fa45c96aa0907d4d (diff)
Isolate GrBufferAllocPools inside GrBatchTarget
This CL refactors the location of the GrBufferAllocPools so they reside entirely inside the GrBatchTarget. This is in preparation for making them use scratch resources. Review URL: https://codereview.chromium.org/1131553002
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r--src/gpu/GrInOrderDrawBuffer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h
index 37d89735c0..182ba80511 100644
--- a/src/gpu/GrInOrderDrawBuffer.h
+++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -29,14 +29,8 @@ public:
* Creates a GrInOrderDrawBuffer
*
* @param context the context object that owns this draw buffer.
- * @param vertexPool pool where vertices for queued draws will be saved when
- * the vertex source is either reserved or array.
- * @param indexPool pool where indices for queued draws will be saved when
- * the index source is either reserved or array.
*/
- GrInOrderDrawBuffer(GrContext* context,
- GrVertexBufferAllocPool* vertexPool,
- GrIndexBufferAllocPool* indexPool);
+ GrInOrderDrawBuffer(GrContext* context);
~GrInOrderDrawBuffer() override;