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 cd3bd7fd26eaf04fdaaa499bcc37eb54b3274147..0158cf64ea64e82d80983719b084e86cd4b38dcf 100644 |
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h |
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h |
@@ -347,6 +347,9 @@ GLenum GLES2GetError() { |
void GLES2GetFloatv(GLenum pname, GLfloat* params) { |
gles2::GetGLContext()->GetFloatv(pname, params); |
} |
+GLint GLES2GetFragDataLocation(GLuint program, const char* name) { |
+ return gles2::GetGLContext()->GetFragDataLocation(program, name); |
+} |
void GLES2GetFramebufferAttachmentParameteriv(GLenum target, |
GLenum attachment, |
GLenum pname, |
@@ -1537,6 +1540,10 @@ extern const NameToFunc g_gles2_function_table[] = { |
reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), |
}, |
{ |
+ "glGetFragDataLocation", |
+ reinterpret_cast<GLES2FunctionPointer>(glGetFragDataLocation), |
+ }, |
+ { |
"glGetFramebufferAttachmentParameteriv", |
reinterpret_cast<GLES2FunctionPointer>( |
glGetFramebufferAttachmentParameteriv), |