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

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

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: bajones #16, #19: Use struct for state, fix BUILD deps Created 4 years, 1 month 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_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 934fe97620c497c8503d85086922ab2e5690f234..7059251b7095ce6927ee14d6fbc2fbf8da5d5487 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1715,6 +1715,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 {
@@ -3019,6 +3022,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
},
{
+ "glSetSurfaceHandleCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glSetSurfaceHandleCHROMIUM),
+ },
+ {
NULL, NULL,
},
};

Powered by Google App Engine
This is Rietveld 408576698