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 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 GLuint offset, | 1542 GLuint offset, |
1543 uint32_t result_shm_id, | 1543 uint32_t result_shm_id, |
1544 uint32_t result_shm_offset) { | 1544 uint32_t result_shm_offset) { |
1545 gles2::cmds::GetMaxValueInBufferCHROMIUM* c = | 1545 gles2::cmds::GetMaxValueInBufferCHROMIUM* c = |
1546 GetCmdSpace<gles2::cmds::GetMaxValueInBufferCHROMIUM>(); | 1546 GetCmdSpace<gles2::cmds::GetMaxValueInBufferCHROMIUM>(); |
1547 if (c) { | 1547 if (c) { |
1548 c->Init(buffer_id, count, type, offset, result_shm_id, result_shm_offset); | 1548 c->Init(buffer_id, count, type, offset, result_shm_id, result_shm_offset); |
1549 } | 1549 } |
1550 } | 1550 } |
1551 | 1551 |
1552 void GenSharedIdsCHROMIUM(GLuint namespace_id, | |
1553 GLuint id_offset, | |
1554 GLsizei n, | |
1555 uint32_t ids_shm_id, | |
1556 uint32_t ids_shm_offset) { | |
1557 gles2::cmds::GenSharedIdsCHROMIUM* c = | |
1558 GetCmdSpace<gles2::cmds::GenSharedIdsCHROMIUM>(); | |
1559 if (c) { | |
1560 c->Init(namespace_id, id_offset, n, ids_shm_id, ids_shm_offset); | |
1561 } | |
1562 } | |
1563 | |
1564 void DeleteSharedIdsCHROMIUM(GLuint namespace_id, | |
1565 GLsizei n, | |
1566 uint32_t ids_shm_id, | |
1567 uint32_t ids_shm_offset) { | |
1568 gles2::cmds::DeleteSharedIdsCHROMIUM* c = | |
1569 GetCmdSpace<gles2::cmds::DeleteSharedIdsCHROMIUM>(); | |
1570 if (c) { | |
1571 c->Init(namespace_id, n, ids_shm_id, ids_shm_offset); | |
1572 } | |
1573 } | |
1574 | |
1575 void RegisterSharedIdsCHROMIUM(GLuint namespace_id, | |
1576 GLsizei n, | |
1577 uint32_t ids_shm_id, | |
1578 uint32_t ids_shm_offset) { | |
1579 gles2::cmds::RegisterSharedIdsCHROMIUM* c = | |
1580 GetCmdSpace<gles2::cmds::RegisterSharedIdsCHROMIUM>(); | |
1581 if (c) { | |
1582 c->Init(namespace_id, n, ids_shm_id, ids_shm_offset); | |
1583 } | |
1584 } | |
1585 | |
1586 void EnableFeatureCHROMIUM(GLuint bucket_id, | 1552 void EnableFeatureCHROMIUM(GLuint bucket_id, |
1587 uint32_t result_shm_id, | 1553 uint32_t result_shm_id, |
1588 uint32_t result_shm_offset) { | 1554 uint32_t result_shm_offset) { |
1589 gles2::cmds::EnableFeatureCHROMIUM* c = | 1555 gles2::cmds::EnableFeatureCHROMIUM* c = |
1590 GetCmdSpace<gles2::cmds::EnableFeatureCHROMIUM>(); | 1556 GetCmdSpace<gles2::cmds::EnableFeatureCHROMIUM>(); |
1591 if (c) { | 1557 if (c) { |
1592 c->Init(bucket_id, result_shm_id, result_shm_offset); | 1558 c->Init(bucket_id, result_shm_id, result_shm_offset); |
1593 } | 1559 } |
1594 } | 1560 } |
1595 | 1561 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1957 | 1923 |
1958 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1924 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1959 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = | 1925 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = |
1960 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); | 1926 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); |
1961 if (c) { | 1927 if (c) { |
1962 c->Init(matrixMode); | 1928 c->Init(matrixMode); |
1963 } | 1929 } |
1964 } | 1930 } |
1965 | 1931 |
1966 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1932 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |