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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 } | 233 } |
234 } | 234 } |
235 | 235 |
236 void ClearStencil(GLint s) { | 236 void ClearStencil(GLint s) { |
237 gles2::cmds::ClearStencil* c = GetCmdSpace<gles2::cmds::ClearStencil>(); | 237 gles2::cmds::ClearStencil* c = GetCmdSpace<gles2::cmds::ClearStencil>(); |
238 if (c) { | 238 if (c) { |
239 c->Init(s); | 239 c->Init(s); |
240 } | 240 } |
241 } | 241 } |
242 | 242 |
| 243 void ClientWaitSync(GLuint sync, |
| 244 GLbitfield flags, |
| 245 GLuint timeout_0, |
| 246 GLuint timeout_1, |
| 247 uint32_t result_shm_id, |
| 248 uint32_t result_shm_offset) { |
| 249 gles2::cmds::ClientWaitSync* c = GetCmdSpace<gles2::cmds::ClientWaitSync>(); |
| 250 if (c) { |
| 251 c->Init(sync, flags, timeout_0, timeout_1, result_shm_id, |
| 252 result_shm_offset); |
| 253 } |
| 254 } |
| 255 |
243 void ColorMask(GLboolean red, | 256 void ColorMask(GLboolean red, |
244 GLboolean green, | 257 GLboolean green, |
245 GLboolean blue, | 258 GLboolean blue, |
246 GLboolean alpha) { | 259 GLboolean alpha) { |
247 gles2::cmds::ColorMask* c = GetCmdSpace<gles2::cmds::ColorMask>(); | 260 gles2::cmds::ColorMask* c = GetCmdSpace<gles2::cmds::ColorMask>(); |
248 if (c) { | 261 if (c) { |
249 c->Init(red, green, blue, alpha); | 262 c->Init(red, green, blue, alpha); |
250 } | 263 } |
251 } | 264 } |
252 | 265 |
(...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1975 } | 1988 } |
1976 } | 1989 } |
1977 | 1990 |
1978 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { | 1991 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { |
1979 gles2::cmds::Viewport* c = GetCmdSpace<gles2::cmds::Viewport>(); | 1992 gles2::cmds::Viewport* c = GetCmdSpace<gles2::cmds::Viewport>(); |
1980 if (c) { | 1993 if (c) { |
1981 c->Init(x, y, width, height); | 1994 c->Init(x, y, width, height); |
1982 } | 1995 } |
1983 } | 1996 } |
1984 | 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 |
1985 void BlitFramebufferCHROMIUM(GLint srcX0, | 2008 void BlitFramebufferCHROMIUM(GLint srcX0, |
1986 GLint srcY0, | 2009 GLint srcY0, |
1987 GLint srcX1, | 2010 GLint srcX1, |
1988 GLint srcY1, | 2011 GLint srcY1, |
1989 GLint dstX0, | 2012 GLint dstX0, |
1990 GLint dstY0, | 2013 GLint dstY0, |
1991 GLint dstX1, | 2014 GLint dstX1, |
1992 GLint dstY1, | 2015 GLint dstY1, |
1993 GLbitfield mask, | 2016 GLbitfield mask, |
1994 GLenum filter) { | 2017 GLenum filter) { |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2617 } | 2640 } |
2618 | 2641 |
2619 void BlendBarrierKHR() { | 2642 void BlendBarrierKHR() { |
2620 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2643 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2621 if (c) { | 2644 if (c) { |
2622 c->Init(); | 2645 c->Init(); |
2623 } | 2646 } |
2624 } | 2647 } |
2625 | 2648 |
2626 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2649 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |