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

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698