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

Unified Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_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_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index 2d08ece5315e12a129b4b7fe71a0ae953c5c474a..256d969fda0fe638a2014a8f6b9e9e11833817e6 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -2497,4 +2497,9 @@ void GLES2TraceImplementation::SwapBuffersWithDamageCHROMIUM(GLint x,
gl_->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
}
+void GLES2TraceImplementation::SetSurfaceHandleCHROMIUM(GLint surfaceHandle) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SetSurfaceHandleCHROMIUM");
+ gl_->SetSurfaceHandleCHROMIUM(surfaceHandle);
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698