diff options
author | 2015-05-18 06:26:15 -0700 | |
---|---|---|
committer | 2015-05-18 06:26:15 -0700 | |
commit | 5df6fee929823f50c55cc50f7c882a309c1b1de9 (patch) | |
tree | 1c5f6de7d6d3f2978db4a9b9d5365700891f6765 /src/gpu/gl/GrGLVertexArray.h | |
parent | 5b5ddd73b4baf22752924bf20d097e96236c36f8 (diff) |
Move copy-surface-as-draw fallback to GrGLGpu.
Review URL: https://codereview.chromium.org/1144433002
Diffstat (limited to 'src/gpu/gl/GrGLVertexArray.h')
-rw-r--r-- | src/gpu/gl/GrGLVertexArray.h | 8 |
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); |