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

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

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Update GLSurfaceAdapter Created 4 years, 3 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/client/context_support.h ('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 03dcdb4d00dbb999256118d0abec5841a93af56d..a3e11c64805ec86969daeebd2ca819b8cd57c7a6 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1698,6 +1698,12 @@ GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location,
gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM(
location, transpose, transform);
}
+void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
+ GLint y,
+ GLint width,
+ GLint height) {
+ gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
+}
namespace gles2 {
@@ -2990,6 +2996,10 @@ extern const NameToFunc g_gles2_function_table[] = {
glUniformMatrix4fvStreamTextureMatrixCHROMIUM),
},
{
+ "glSwapBuffersWithDamageCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
+ },
+ {
NULL, NULL,
},
};
« no previous file with comments | « gpu/command_buffer/client/context_support.h ('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