| 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);
|
| }
|
| }
|
|
|
|
|