aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLVertexArray.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-05-18 06:26:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-18 06:26:15 -0700
commit5df6fee929823f50c55cc50f7c882a309c1b1de9 (patch)
tree1c5f6de7d6d3f2978db4a9b9d5365700891f6765 /src/gpu/gl/GrGLVertexArray.h
parent5b5ddd73b4baf22752924bf20d097e96236c36f8 (diff)
Move copy-surface-as-draw fallback to GrGLGpu.
Diffstat (limited to 'src/gpu/gl/GrGLVertexArray.h')
-rw-r--r--src/gpu/gl/GrGLVertexArray.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLVertexArray.h b/src/gpu/gl/GrGLVertexArray.h
index a8feb73087..afb23c5d20 100644
--- a/src/gpu/gl/GrGLVertexArray.h
+++ b/src/gpu/gl/GrGLVertexArray.h
@@ -67,9 +67,9 @@ public:
* assumed that the GrGLAttribArrayState is tracking the state of the currently bound vertex
* array object.
*/
- void set(const GrGLGpu*,
- int index,
- GrGLVertexBuffer*,
+ void set(GrGLGpu*,
+ int attribIndex,
+ GrGLuint vertexBufferID,
GrGLint size,
GrGLenum type,
GrGLboolean normalized,
@@ -147,7 +147,7 @@ public:
* This is a version of the above function that also binds an index buffer to the vertex
* array object.
*/
- GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, const GrGLIndexBuffer*);
+ GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, GrGLuint indexBufferID);
void notifyIndexBufferDelete(GrGLuint bufferID);