summaryrefslogtreecommitdiffstats
path: root/chromium/gpu/command_buffer/service/vertex_array_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/service/vertex_array_manager.h')
-rw-r--r--chromium/gpu/command_buffer/service/vertex_array_manager.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/chromium/gpu/command_buffer/service/vertex_array_manager.h b/chromium/gpu/command_buffer/service/vertex_array_manager.h
index 4fc567c7b79..97ecc1a5353 100644
--- a/chromium/gpu/command_buffer/service/vertex_array_manager.h
+++ b/chromium/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);