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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 } | 1567 } |
1568 } | 1568 } |
1569 | 1569 |
1570 void EndQueryEXT(GLenum target, GLuint submit_count) { | 1570 void EndQueryEXT(GLenum target, GLuint submit_count) { |
1571 gles2::EndQueryEXT* c = GetCmdSpace<gles2::EndQueryEXT>(); | 1571 gles2::EndQueryEXT* c = GetCmdSpace<gles2::EndQueryEXT>(); |
1572 if (c) { | 1572 if (c) { |
1573 c->Init(target, submit_count); | 1573 c->Init(target, submit_count); |
1574 } | 1574 } |
1575 } | 1575 } |
1576 | 1576 |
| 1577 void InsertEventMarkerEXT(GLuint bucket_id) { |
| 1578 gles2::InsertEventMarkerEXT* c = |
| 1579 GetCmdSpace<gles2::InsertEventMarkerEXT>(); |
| 1580 if (c) { |
| 1581 c->Init(bucket_id); |
| 1582 } |
| 1583 } |
| 1584 |
| 1585 void PushGroupMarkerEXT(GLuint bucket_id) { |
| 1586 gles2::PushGroupMarkerEXT* c = GetCmdSpace<gles2::PushGroupMarkerEXT>(); |
| 1587 if (c) { |
| 1588 c->Init(bucket_id); |
| 1589 } |
| 1590 } |
| 1591 |
| 1592 void PopGroupMarkerEXT() { |
| 1593 gles2::PopGroupMarkerEXT* c = GetCmdSpace<gles2::PopGroupMarkerEXT>(); |
| 1594 if (c) { |
| 1595 c->Init(); |
| 1596 } |
| 1597 } |
| 1598 |
1577 void SwapBuffers() { | 1599 void SwapBuffers() { |
1578 gles2::SwapBuffers* c = GetCmdSpace<gles2::SwapBuffers>(); | 1600 gles2::SwapBuffers* c = GetCmdSpace<gles2::SwapBuffers>(); |
1579 if (c) { | 1601 if (c) { |
1580 c->Init(); | 1602 c->Init(); |
1581 } | 1603 } |
1582 } | 1604 } |
1583 | 1605 |
1584 void GetMaxValueInBufferCHROMIUM( | 1606 void GetMaxValueInBufferCHROMIUM( |
1585 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset, | 1607 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset, |
1586 uint32 result_shm_id, uint32 result_shm_offset) { | 1608 uint32 result_shm_id, uint32 result_shm_offset) { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1823 GLuint program, GLint location, uint32 name_bucket_id) { | 1845 GLuint program, GLint location, uint32 name_bucket_id) { |
1824 gles2::BindUniformLocationCHROMIUMBucket* c = | 1846 gles2::BindUniformLocationCHROMIUMBucket* c = |
1825 GetCmdSpace<gles2::BindUniformLocationCHROMIUMBucket>(); | 1847 GetCmdSpace<gles2::BindUniformLocationCHROMIUMBucket>(); |
1826 if (c) { | 1848 if (c) { |
1827 c->Init(program, location, name_bucket_id); | 1849 c->Init(program, location, name_bucket_id); |
1828 } | 1850 } |
1829 } | 1851 } |
1830 | 1852 |
1831 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1853 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
1832 | 1854 |
OLD | NEW |