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

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

Issue 878793002: Add CopyTexSubImage3D to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 0158cf64ea64e82d80983719b084e86cd4b38dcf..383452736099fe4650baf8e677161e5c7e3b4a9b 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -181,6 +181,18 @@ void GLES2CopyTexSubImage2D(GLenum target,
gles2::GetGLContext()->CopyTexSubImage2D(target, level, xoffset, yoffset, x,
y, width, height);
}
+void GLES2CopyTexSubImage3D(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height) {
+ gles2::GetGLContext()->CopyTexSubImage3D(target, level, xoffset, yoffset,
+ zoffset, x, y, width, height);
+}
GLuint GLES2CreateProgram() {
return gles2::GetGLContext()->CreateProgram();
}
@@ -1364,6 +1376,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
},
{
+ "glCopyTexSubImage3D",
+ reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage3D),
+ },
+ {
"glCreateProgram",
reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
},
« 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