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

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

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: Rebase, set dependency. Created 3 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 ebf221728a79005016ed9fd604894e50341d141f..2cafc34f16e186c8daf6cb81fa0e79462b7a6f9d 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1722,6 +1722,9 @@ void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
GLint height) {
gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
}
+void GL_APIENTRY GLES2SetSurfaceHandleCHROMIUM(GLint surfaceHandle) {
+ gles2::GetGLContext()->SetSurfaceHandleCHROMIUM(surfaceHandle);
+}
namespace gles2 {
@@ -3030,6 +3033,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
},
{
+ "glSetSurfaceHandleCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glSetSurfaceHandleCHROMIUM),
+ },
+ {
NULL, NULL,
},
};
« 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