aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrInOrderDrawBuffer.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-02-16 09:35:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-16 09:35:50 -0800
commit54fac8b04a2583590c55d7b1e9339288c7370b28 (patch)
treeb492ba4a45408b9d5e204dac55af3e3a96c1c18a /src/gpu/GrInOrderDrawBuffer.h
parent351ba1b3218c436089805ebe8e72ad39020229f4 (diff)
Minor refactoring
This CL just de-dups some code in GrInOrderDrawBuffer. Review URL: https://codereview.chromium.org/930953003
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r--src/gpu/GrInOrderDrawBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h
index 73d0898149..333150a7ab 100644
--- a/src/gpu/GrInOrderDrawBuffer.h
+++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -53,6 +53,7 @@ public:
void discard(GrRenderTarget*) SK_OVERRIDE;
+protected:
void willReserveVertexAndIndexSpace(int vertexCount,
size_t vertexStride,
int indexCount);