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

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

Issue 867123008: Add glGetFragDataLocation 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
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 deb7f84b1afc8c98048bccd94440fa33afe4ca09..26233392005a5dc30a5e8fb97f6cf764dda856ed 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -522,6 +522,12 @@ void GLES2TraceImplementation::GetFloatv(GLenum pname, GLfloat* params) {
gl_->GetFloatv(pname, params);
}
+GLint GLES2TraceImplementation::GetFragDataLocation(GLuint program,
+ const char* name) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataLocation");
+ return gl_->GetFragDataLocation(program, name);
+}
+
void GLES2TraceImplementation::GetFramebufferAttachmentParameteriv(
GLenum target,
GLenum attachment,

Powered by Google App Engine
This is Rietveld 408576698