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

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

Issue 2673473002: Rename SwapBuffersWithDamage to SwapBuffersWithBounds (Closed)
Patch Set: fix windows compile warning Created 3 years, 10 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 e9d0e761a2115346de3cf217e34ad1badd202fcd..1cca38374e0e7df4154823ddfad42aeafe43a8db 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1724,11 +1724,9 @@ void GL_APIENTRY GLES2OverlayPromotionHintCHROMIUM(GLuint texture,
gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint,
display_x, display_y);
}
-void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
- GLint y,
- GLint width,
- GLint height) {
- gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
+void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count,
+ const GLint* rects) {
+ gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects);
}
namespace gles2 {
@@ -3034,8 +3032,8 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM),
},
{
- "glSwapBuffersWithDamageCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
+ "glSwapBuffersWithBoundsCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM),
},
{
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