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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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 77b8a87abf0d4c11d49a4077e35775849d6ffd3b..df6e014063c005dfd06ccd331fe73416a50d324a 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/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698