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

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

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 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 0e2e7e72c0fbdc3f64a8e663446a48f5668609c3..81a3660bc20b72c7431b5446a1c30ae5af0ae4d6 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -1887,12 +1887,21 @@ void GLES2TraceImplementation::GetUniformsES3CHROMIUM(GLuint program,
gl_->GetUniformsES3CHROMIUM(program, bufsize, size, info);
}
-GLuint GLES2TraceImplementation::CreateStreamTextureCHROMIUM(GLuint texture) {
+GLint GLES2TraceImplementation::CreateStreamTextureCHROMIUM(GLuint texture) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu",
"GLES2Trace::CreateStreamTextureCHROMIUM");
return gl_->CreateStreamTextureCHROMIUM(texture);
}
+void GLES2TraceImplementation::SetStreamTextureSizeCHROMIUM(GLuint texture,
+ GLint stream_id,
+ GLsizei width,
+ GLsizei height) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu",
+ "GLES2Trace::SetStreamTextureSizeCHROMIUM");
+ gl_->SetStreamTextureSizeCHROMIUM(texture, stream_id, width, height);
+}
+
GLuint GLES2TraceImplementation::CreateImageCHROMIUM(ClientBuffer buffer,
GLsizei width,
GLsizei height,

Powered by Google App Engine
This is Rietveld 408576698