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

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

Issue 763383002: GPU: Flush in glBind* to avoid being executed after future glDelete* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address a review issue Created 6 years 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4fcfea8c433957c8a23b3a4fcdcba93f22fe29e9..bdb26157472bef29d6db72671fec893517897993 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -432,13 +432,19 @@ class GLES2_IMPL_EXPORT GLES2Implementation
bool IsProgramReservedId(GLuint id) { return false; }
bool IsValuebufferReservedId(GLuint id) { return false; }
- bool BindBufferHelper(GLenum target, GLuint texture);
- bool BindFramebufferHelper(GLenum target, GLuint texture);
- bool BindRenderbufferHelper(GLenum target, GLuint texture);
- bool BindTextureHelper(GLenum target, GLuint texture);
- bool BindVertexArrayOESHelper(GLuint array);
- bool BindValuebufferCHROMIUMHelper(GLenum target, GLuint valuebuffer);
- bool UseProgramHelper(GLuint program);
+ void BindBufferHelper(GLenum target, GLuint buffer);
+ void BindFramebufferHelper(GLenum target, GLuint framebuffer);
+ void BindRenderbufferHelper(GLenum target, GLuint renderbuffer);
+ void BindTextureHelper(GLenum target, GLuint texture);
+ void BindVertexArrayOESHelper(GLuint array);
+ void BindValuebufferCHROMIUMHelper(GLenum target, GLuint valuebuffer);
+ void UseProgramHelper(GLuint program);
+
+ void BindBufferStub(GLenum target, GLuint buffer);
+ void BindFramebufferStub(GLenum target, GLuint framebuffer);
+ void BindRenderbufferStub(GLenum target, GLuint renderbuffer);
+ void BindTextureStub(GLenum target, GLuint texture);
+ void BindValuebufferCHROMIUMStub(GLenum target, GLuint valuebuffer);
void GenBuffersHelper(GLsizei n, const GLuint* buffers);
void GenFramebuffersHelper(GLsizei n, const GLuint* framebuffers);
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698