Chromium Code Reviews| Index: src/gpu/gl/GrGLVertexArray.h |
| diff --git a/src/gpu/gl/GrGLVertexArray.h b/src/gpu/gl/GrGLVertexArray.h |
| index a8feb73087583796ed4d71b200754925059f3327..3d874103a7444f28db463f74b4f517a5ecc933ff 100644 |
| --- a/src/gpu/gl/GrGLVertexArray.h |
| +++ b/src/gpu/gl/GrGLVertexArray.h |
| @@ -67,15 +67,16 @@ 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, |
| GrGLsizei stride, |
| GrGLvoid* offset); |
| + |
|
egdaniel
2015/05/13 19:04:42
extra \n?
bsalomon
2015/05/15 17:56:31
Done.
|
| /** |
| * This function disables vertex attribs not present in the mask. It is assumed that the |
| * GrGLAttribArrayState is tracking the state of the currently bound vertex array object. |
| @@ -147,7 +148,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); |