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 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2403 } | 2403 } |
2404 } | 2404 } |
2405 | 2405 |
2406 void UnmapBuffer(GLenum target) { | 2406 void UnmapBuffer(GLenum target) { |
2407 gles2::cmds::UnmapBuffer* c = GetCmdSpace<gles2::cmds::UnmapBuffer>(); | 2407 gles2::cmds::UnmapBuffer* c = GetCmdSpace<gles2::cmds::UnmapBuffer>(); |
2408 if (c) { | 2408 if (c) { |
2409 c->Init(target); | 2409 c->Init(target); |
2410 } | 2410 } |
2411 } | 2411 } |
2412 | 2412 |
2413 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) { | 2413 void ResizeCHROMIUM(GLuint width, |
| 2414 GLuint height, |
| 2415 GLfloat scale_factor, |
| 2416 GLboolean alpha) { |
2414 gles2::cmds::ResizeCHROMIUM* c = GetCmdSpace<gles2::cmds::ResizeCHROMIUM>(); | 2417 gles2::cmds::ResizeCHROMIUM* c = GetCmdSpace<gles2::cmds::ResizeCHROMIUM>(); |
2415 if (c) { | 2418 if (c) { |
2416 c->Init(width, height, scale_factor); | 2419 c->Init(width, height, scale_factor, alpha); |
2417 } | 2420 } |
2418 } | 2421 } |
2419 | 2422 |
2420 void GetRequestableExtensionsCHROMIUM(uint32_t bucket_id) { | 2423 void GetRequestableExtensionsCHROMIUM(uint32_t bucket_id) { |
2421 gles2::cmds::GetRequestableExtensionsCHROMIUM* c = | 2424 gles2::cmds::GetRequestableExtensionsCHROMIUM* c = |
2422 GetCmdSpace<gles2::cmds::GetRequestableExtensionsCHROMIUM>(); | 2425 GetCmdSpace<gles2::cmds::GetRequestableExtensionsCHROMIUM>(); |
2423 if (c) { | 2426 if (c) { |
2424 c->Init(bucket_id); | 2427 c->Init(bucket_id); |
2425 } | 2428 } |
2426 } | 2429 } |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3149 | 3152 |
3150 void ApplyScreenSpaceAntialiasingCHROMIUM() { | 3153 void ApplyScreenSpaceAntialiasingCHROMIUM() { |
3151 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = | 3154 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = |
3152 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); | 3155 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); |
3153 if (c) { | 3156 if (c) { |
3154 c->Init(); | 3157 c->Init(); |
3155 } | 3158 } |
3156 } | 3159 } |
3157 | 3160 |
3158 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3161 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |