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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 727d39a50a133c6092f93dafeaf24bb222cb0328..c1a1114fd8ae250c462fdcdca9bdf3e7ad636be8 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -378,6 +378,21 @@ void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) {
void GLES2Hint(GLenum target, GLenum mode) {
gles2::GetGLContext()->Hint(target, mode);
}
+void GLES2InvalidateFramebuffer(GLenum target,
+ GLsizei count,
+ const GLenum* attachments) {
+ gles2::GetGLContext()->InvalidateFramebuffer(target, count, attachments);
+}
+void GLES2InvalidateSubFramebuffer(GLenum target,
+ GLsizei count,
+ const GLenum* attachments,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height) {
+ gles2::GetGLContext()->InvalidateSubFramebuffer(target, count, attachments, x,
+ y, width, height);
+}
GLboolean GLES2IsBuffer(GLuint buffer) {
return gles2::GetGLContext()->IsBuffer(buffer);
}
@@ -411,6 +426,9 @@ void GLES2PixelStorei(GLenum pname, GLint param) {
void GLES2PolygonOffset(GLfloat factor, GLfloat units) {
gles2::GetGLContext()->PolygonOffset(factor, units);
}
+void GLES2ReadBuffer(GLenum src) {
+ gles2::GetGLContext()->ReadBuffer(src);
+}
void GLES2ReadPixels(GLint x,
GLint y,
GLsizei width,
@@ -1415,6 +1433,14 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glHint),
},
{
+ "glInvalidateFramebuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glInvalidateFramebuffer),
+ },
+ {
+ "glInvalidateSubFramebuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glInvalidateSubFramebuffer),
+ },
+ {
"glIsBuffer",
reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
},
@@ -1459,6 +1485,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
},
{
+ "glReadBuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glReadBuffer),
+ },
+ {
"glReadPixels",
reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
},
« 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