| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
| 8 | 8 |
| 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| (...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, | 1509 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, |
| 1510 GLsizei height) { | 1510 GLsizei height) { |
| 1511 gles2::RenderbufferStorageMultisampleEXT* c = | 1511 gles2::RenderbufferStorageMultisampleEXT* c = |
| 1512 GetCmdSpace<gles2::RenderbufferStorageMultisampleEXT>(); | 1512 GetCmdSpace<gles2::RenderbufferStorageMultisampleEXT>(); |
| 1513 if (c) { | 1513 if (c) { |
| 1514 c->Init(target, samples, internalformat, width, height); | 1514 c->Init(target, samples, internalformat, width, height); |
| 1515 } | 1515 } |
| 1516 } | 1516 } |
| 1517 | 1517 |
| 1518 void TexStorage2DEXT( | 1518 void TexStorage2DEXT( |
| 1519 GLenum target, GLsizei levels, GLint internalFormat, GLsizei width, | 1519 GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, |
| 1520 GLsizei height) { | 1520 GLsizei height) { |
| 1521 gles2::TexStorage2DEXT* c = GetCmdSpace<gles2::TexStorage2DEXT>(); | 1521 gles2::TexStorage2DEXT* c = GetCmdSpace<gles2::TexStorage2DEXT>(); |
| 1522 if (c) { | 1522 if (c) { |
| 1523 c->Init(target, levels, internalFormat, width, height); | 1523 c->Init(target, levels, internalFormat, width, height); |
| 1524 } | 1524 } |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 void SwapBuffers() { | 1527 void SwapBuffers() { |
| 1528 gles2::SwapBuffers* c = GetCmdSpace<gles2::SwapBuffers>(); | 1528 gles2::SwapBuffers* c = GetCmdSpace<gles2::SwapBuffers>(); |
| 1529 if (c) { | 1529 if (c) { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 GLuint plane) { | 1662 GLuint plane) { |
| 1663 gles2::TexImageIOSurface2DCHROMIUM* c = | 1663 gles2::TexImageIOSurface2DCHROMIUM* c = |
| 1664 GetCmdSpace<gles2::TexImageIOSurface2DCHROMIUM>(); | 1664 GetCmdSpace<gles2::TexImageIOSurface2DCHROMIUM>(); |
| 1665 if (c) { | 1665 if (c) { |
| 1666 c->Init(target, width, height, ioSurfaceId, plane); | 1666 c->Init(target, width, height, ioSurfaceId, plane); |
| 1667 } | 1667 } |
| 1668 } | 1668 } |
| 1669 | 1669 |
| 1670 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1670 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| 1671 | 1671 |
| OLD | NEW |