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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_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/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 4f5f8eca935a1175706b53db093ac0abbb9c04a4..60951315cbe9e46acb0ab8158e934b75bab4d8a0 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3185,14 +3185,14 @@ void OverlayPromotionHintCHROMIUM(GLuint texture,
}
}
-void SwapBuffersWithDamageCHROMIUM(GLint x,
- GLint y,
- GLint width,
- GLint height) {
- gles2::cmds::SwapBuffersWithDamageCHROMIUM* c =
- GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>();
+void SwapBuffersWithBoundsCHROMIUMImmediate(GLsizei count, const GLint* rects) {
+ const uint32_t size =
+ gles2::cmds::SwapBuffersWithBoundsCHROMIUMImmediate::ComputeSize(count);
+ gles2::cmds::SwapBuffersWithBoundsCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::SwapBuffersWithBoundsCHROMIUMImmediate>(size);
if (c) {
- c->Init(x, y, width, height);
+ c->Init(count, rects);
}
}
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698