Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1117)

Unified Diff: gpu/command_buffer/service/vertex_array_manager.h

Issue 1714883002: command_buffer_gles2: Implement EGL default Display as a global object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command_buffer_gles2-multiple-contexts
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5649da1f1fdfe5ce2b2e0701743dff099e3e44c0..2c5268819e8e5ae26f510b8e47273253e96b5d3a 100644
--- a/gpu/command_buffer/service/vertex_array_manager.h
+++ b/gpu/command_buffer/service/vertex_array_manager.h
@@ -56,7 +56,10 @@ class GPU_EXPORT VertexArrayManager {
// Info for each vertex array in the system.
typedef base::hash_map<GLuint, scoped_refptr<VertexAttribManager> >
VertexAttribManagerMap;
- VertexAttribManagerMap vertex_attrib_managers_;
+ VertexAttribManagerMap client_vertex_attrib_managers_;
+
+ // Vertex attrib managers for emulation purposes, not visible to clients.
+ std::vector<scoped_refptr<VertexAttribManager>> other_vertex_attrib_managers_;
// Counts the number of VertexArrayInfo allocated with 'this' as its manager.
// Allows to check no VertexArrayInfo will outlive this.

Powered by Google App Engine
This is Rietveld 408576698