| 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 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1770 | 1770 |
| 1771 void EnableFeatureCHROMIUM( | 1771 void EnableFeatureCHROMIUM( |
| 1772 GLuint bucket_id, uint32 result_shm_id, uint32 result_shm_offset) { | 1772 GLuint bucket_id, uint32 result_shm_id, uint32 result_shm_offset) { |
| 1773 gles2::cmds::EnableFeatureCHROMIUM* c = | 1773 gles2::cmds::EnableFeatureCHROMIUM* c = |
| 1774 GetCmdSpace<gles2::cmds::EnableFeatureCHROMIUM>(); | 1774 GetCmdSpace<gles2::cmds::EnableFeatureCHROMIUM>(); |
| 1775 if (c) { | 1775 if (c) { |
| 1776 c->Init(bucket_id, result_shm_id, result_shm_offset); | 1776 c->Init(bucket_id, result_shm_id, result_shm_offset); |
| 1777 } | 1777 } |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 void ResizeCHROMIUM(GLuint width, GLuint height) { | 1780 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) { |
| 1781 gles2::cmds::ResizeCHROMIUM* c = | 1781 gles2::cmds::ResizeCHROMIUM* c = |
| 1782 GetCmdSpace<gles2::cmds::ResizeCHROMIUM>(); | 1782 GetCmdSpace<gles2::cmds::ResizeCHROMIUM>(); |
| 1783 if (c) { | 1783 if (c) { |
| 1784 c->Init(width, height); | 1784 c->Init(width, height, scale_factor); |
| 1785 } | 1785 } |
| 1786 } | 1786 } |
| 1787 | 1787 |
| 1788 void GetRequestableExtensionsCHROMIUM(uint32 bucket_id) { | 1788 void GetRequestableExtensionsCHROMIUM(uint32 bucket_id) { |
| 1789 gles2::cmds::GetRequestableExtensionsCHROMIUM* c = | 1789 gles2::cmds::GetRequestableExtensionsCHROMIUM* c = |
| 1790 GetCmdSpace<gles2::cmds::GetRequestableExtensionsCHROMIUM>(); | 1790 GetCmdSpace<gles2::cmds::GetRequestableExtensionsCHROMIUM>(); |
| 1791 if (c) { | 1791 if (c) { |
| 1792 c->Init(bucket_id); | 1792 c->Init(bucket_id); |
| 1793 } | 1793 } |
| 1794 } | 1794 } |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2095 gles2::cmds::DrawBuffersEXTImmediate* c = | 2095 gles2::cmds::DrawBuffersEXTImmediate* c = |
| 2096 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>( | 2096 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>( |
| 2097 size); | 2097 size); |
| 2098 if (c) { | 2098 if (c) { |
| 2099 c->Init(count, bufs); | 2099 c->Init(count, bufs); |
| 2100 } | 2100 } |
| 2101 } | 2101 } |
| 2102 | 2102 |
| 2103 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2103 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| 2104 | 2104 |
| OLD | NEW |