Index: gpu/command_buffer/client/gles2_implementation.h |
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h |
index af72fa0ba5bf6aeabd393b9d2bce8f5090e5a3bb..a31c2a1e2faddf9a169c489eefcafa4c62530738 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.h |
+++ b/gpu/command_buffer/client/gles2_implementation.h |
@@ -285,6 +285,8 @@ class GLES2_IMPL_EXPORT GLES2Implementation |
friend class VertexArrayObjectManager; |
friend class QueryTracker; |
+ using IdNamespaces = id_namespaces::IdNamespaces; |
+ |
// Used to track whether an extension is available |
enum ExtensionStatus { |
kAvailableExtensionStatus, |
@@ -489,7 +491,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation |
void BindBufferBaseStub(GLenum target, GLuint index, GLuint buffer); |
void BindBufferRangeStub(GLenum target, GLuint index, GLuint buffer, |
GLintptr offset, GLsizeiptr size); |
- void BindFramebufferStub(GLenum target, GLuint framebuffer); |
void BindRenderbufferStub(GLenum target, GLuint renderbuffer); |
void BindTextureStub(GLenum target, GLuint texture); |
@@ -516,16 +517,12 @@ class GLES2_IMPL_EXPORT GLES2Implementation |
void DeleteSyncHelper(GLsync sync); |
void DeleteBuffersStub(GLsizei n, const GLuint* buffers); |
- void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers); |
void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers); |
void DeleteTexturesStub(GLsizei n, const GLuint* textures); |
void DeletePathsCHROMIUMStub(GLuint first_client_id, GLsizei range); |
void DeleteProgramStub(GLsizei n, const GLuint* programs); |
void DeleteShaderStub(GLsizei n, const GLuint* shaders); |
- void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays); |
void DeleteSamplersStub(GLsizei n, const GLuint* samplers); |
- void DeleteTransformFeedbacksStub( |
- GLsizei n, const GLuint* transformfeedbacks); |
void DeleteSyncStub(GLsizei n, const GLuint* syncs); |
void BufferDataHelper( |
@@ -810,7 +807,8 @@ class GLES2_IMPL_EXPORT GLES2Implementation |
ShareGroupContextData share_group_context_data_; |
std::unique_ptr<QueryTracker> query_tracker_; |
- std::unique_ptr<IdAllocator> query_id_allocator_; |
+ std::unique_ptr<IdAllocator> |
+ id_allocators_[static_cast<int>(IdNamespaces::kNumIdNamespaces)]; |
std::unique_ptr<BufferTracker> buffer_tracker_; |