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

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

Issue 850793004: Update from https://crrev.com/311346 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index c28385d5ba4694a5aaf1bc018a737298439e2a54..9264881d8e817858ae16829f2095453a20951a4a 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -27,6 +27,13 @@ void GLES2BindBuffer(GLenum target, GLuint buffer) {
void GLES2BindBufferBase(GLenum target, GLuint index, GLuint buffer) {
gles2::GetGLContext()->BindBufferBase(target, index, buffer);
}
+void GLES2BindBufferRange(GLenum target,
+ GLuint index,
+ GLuint buffer,
+ GLintptr offset,
+ GLsizeiptr size) {
+ gles2::GetGLContext()->BindBufferRange(target, index, buffer, offset, size);
+}
void GLES2BindFramebuffer(GLenum target, GLuint framebuffer) {
gles2::GetGLContext()->BindFramebuffer(target, framebuffer);
}
@@ -1210,6 +1217,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glBindBufferBase),
},
{
+ "glBindBufferRange",
+ reinterpret_cast<GLES2FunctionPointer>(glBindBufferRange),
+ },
+ {
"glBindFramebuffer",
reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
},
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698