| Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| index db5d667d6069f29efdd5c93291e0ec8ccebd05d4..d6d07c6639fd07ef66ff39db84d4c309f211826b 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| @@ -778,7 +778,9 @@ void GLES2Implementation::GenFramebuffers(GLsizei n, GLuint* framebuffers) {
|
| return;
|
| }
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| - GetIdHandler(id_namespaces::kFramebuffers)->MakeIds(this, 0, n, framebuffers);
|
| + IdAllocator* id_allocator = GetIdAllocator(id_namespaces::kFramebuffers);
|
| + for (GLsizei ii = 0; ii < n; ++ii)
|
| + framebuffers[ii] = id_allocator->AllocateID();
|
| GenFramebuffersHelper(n, framebuffers);
|
| helper_->GenFramebuffersImmediate(n, framebuffers);
|
| if (share_group_->bind_generates_resource())
|
| @@ -2989,7 +2991,9 @@ void GLES2Implementation::GenVertexArraysOES(GLsizei n, GLuint* arrays) {
|
| return;
|
| }
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| - GetIdHandler(id_namespaces::kVertexArrays)->MakeIds(this, 0, n, arrays);
|
| + IdAllocator* id_allocator = GetIdAllocator(id_namespaces::kVertexArrays);
|
| + for (GLsizei ii = 0; ii < n; ++ii)
|
| + arrays[ii] = id_allocator->AllocateID();
|
| GenVertexArraysOESHelper(n, arrays);
|
| helper_->GenVertexArraysOESImmediate(n, arrays);
|
| if (share_group_->bind_generates_resource())
|
|
|