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

Unified Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 2826043002: Do not share FBOs/VAOs/Transform feedback objects across contexts (Closed)
Patch Set: FBOs/VAOs should not be shared between contexts Created 3 years, 8 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/client/gles2_implementation.h
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
index ca10c1ebd12e5145b8301c92457543f7e05a1898..5b185b437c2a9a1f60870bc91eeec33ace05ecde 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -488,7 +488,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);
@@ -515,13 +514,11 @@ 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);
@@ -809,7 +806,7 @@ 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_[id_namespaces::kNumIdNamespaces];
std::unique_ptr<BufferTracker> buffer_tracker_;

Powered by Google App Engine
This is Rietveld 408576698