Index: gpu/command_buffer/service/vertex_array_manager.h |
diff --git a/gpu/command_buffer/service/vertex_array_manager.h b/gpu/command_buffer/service/vertex_array_manager.h |
index 4fc567c7b7941f59eb7c5a57dc999d95faba9e8e..97ecc1a5353a90fcd301c405dd82e2f916f56789 100644 |
--- a/gpu/command_buffer/service/vertex_array_manager.h |
+++ b/gpu/command_buffer/service/vertex_array_manager.h |
@@ -28,9 +28,13 @@ class GPU_EXPORT VertexArrayManager { |
// Must call before destruction. |
void Destroy(bool have_context); |
- // Creates a VertexArrayInfo for the given vertex array. |
- void CreateVertexAttribManager(GLuint client_id, GLuint service_id, |
- uint32 num_vertex_attribs); |
+ // Creates a VertexAttribManager and if client_visible, |
+ // maps it to the client_id. |
+ scoped_refptr<VertexAttribManager> CreateVertexAttribManager( |
+ GLuint client_id, |
+ GLuint service_id, |
+ uint32 num_vertex_attribs, |
+ bool client_visible); |
// Gets the vertex attrib manager for the given vertex array. |
VertexAttribManager* GetVertexAttribManager(GLuint client_id); |