OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 1977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1988 } | 1988 } |
1989 } | 1989 } |
1990 | 1990 |
1991 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { | 1991 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { |
1992 gles2::cmds::Viewport* c = GetCmdSpace<gles2::cmds::Viewport>(); | 1992 gles2::cmds::Viewport* c = GetCmdSpace<gles2::cmds::Viewport>(); |
1993 if (c) { | 1993 if (c) { |
1994 c->Init(x, y, width, height); | 1994 c->Init(x, y, width, height); |
1995 } | 1995 } |
1996 } | 1996 } |
1997 | 1997 |
| 1998 void WaitSync(GLuint sync, |
| 1999 GLbitfield flags, |
| 2000 GLuint timeout_0, |
| 2001 GLuint timeout_1) { |
| 2002 gles2::cmds::WaitSync* c = GetCmdSpace<gles2::cmds::WaitSync>(); |
| 2003 if (c) { |
| 2004 c->Init(sync, flags, timeout_0, timeout_1); |
| 2005 } |
| 2006 } |
| 2007 |
1998 void BlitFramebufferCHROMIUM(GLint srcX0, | 2008 void BlitFramebufferCHROMIUM(GLint srcX0, |
1999 GLint srcY0, | 2009 GLint srcY0, |
2000 GLint srcX1, | 2010 GLint srcX1, |
2001 GLint srcY1, | 2011 GLint srcY1, |
2002 GLint dstX0, | 2012 GLint dstX0, |
2003 GLint dstY0, | 2013 GLint dstY0, |
2004 GLint dstX1, | 2014 GLint dstX1, |
2005 GLint dstY1, | 2015 GLint dstY1, |
2006 GLbitfield mask, | 2016 GLbitfield mask, |
2007 GLenum filter) { | 2017 GLenum filter) { |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 } | 2640 } |
2631 | 2641 |
2632 void BlendBarrierKHR() { | 2642 void BlendBarrierKHR() { |
2633 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2643 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2634 if (c) { | 2644 if (c) { |
2635 c->Init(); | 2645 c->Init(); |
2636 } | 2646 } |
2637 } | 2647 } |
2638 | 2648 |
2639 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2649 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |