| 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 3486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3497 << plane_z_order << ", " << GLES2Util::GetStringEnum(plane_transform) | 3497 << plane_z_order << ", " << GLES2Util::GetStringEnum(plane_transform) |
| 3498 << ", " << overlay_texture_id << ", " << bounds_x << ", " << bounds_y | 3498 << ", " << overlay_texture_id << ", " << bounds_x << ", " << bounds_y |
| 3499 << ", " << bounds_width << ", " << bounds_height << ", " << uv_x | 3499 << ", " << bounds_width << ", " << bounds_height << ", " << uv_x |
| 3500 << ", " << uv_y << ", " << uv_width << ", " << uv_height << ")"); | 3500 << ", " << uv_y << ", " << uv_width << ", " << uv_height << ")"); |
| 3501 helper_->ScheduleOverlayPlaneCHROMIUM( | 3501 helper_->ScheduleOverlayPlaneCHROMIUM( |
| 3502 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 3502 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
| 3503 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 3503 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
| 3504 CheckGLError(); | 3504 CheckGLError(); |
| 3505 } | 3505 } |
| 3506 | 3506 |
| 3507 void GLES2Implementation::ScheduleSolidColorOverlayPlaneCHROMIUM( |
| 3508 GLint plane_z_order, |
| 3509 GLint bounds_x, |
| 3510 GLint bounds_y, |
| 3511 GLint bounds_width, |
| 3512 GLint bounds_height, |
| 3513 GLclampf red, |
| 3514 GLclampf green, |
| 3515 GLclampf blue, |
| 3516 GLclampf alpha) { |
| 3517 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 3518 GPU_CLIENT_LOG( |
| 3519 "[" << GetLogPrefix() << "] glScheduleSolidColorOverlayPlaneCHROMIUM(" |
| 3520 << plane_z_order << ", " << bounds_x << ", " << bounds_y << ", " |
| 3521 << bounds_width << ", " << bounds_height << ", " << red << ", " |
| 3522 << green << ", " << blue << ", " << alpha << ")"); |
| 3523 helper_->ScheduleSolidColorOverlayPlaneCHROMIUM( |
| 3524 plane_z_order, bounds_x, bounds_y, bounds_width, bounds_height, red, |
| 3525 green, blue, alpha); |
| 3526 CheckGLError(); |
| 3527 } |
| 3528 |
| 3507 void GLES2Implementation::FlushDriverCachesCHROMIUM() { | 3529 void GLES2Implementation::FlushDriverCachesCHROMIUM() { |
| 3508 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 3530 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 3509 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM(" | 3531 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM(" |
| 3510 << ")"); | 3532 << ")"); |
| 3511 helper_->FlushDriverCachesCHROMIUM(); | 3533 helper_->FlushDriverCachesCHROMIUM(); |
| 3512 CheckGLError(); | 3534 CheckGLError(); |
| 3513 } | 3535 } |
| 3514 | 3536 |
| 3515 void GLES2Implementation::MatrixLoadfCHROMIUM(GLenum matrixMode, | 3537 void GLES2Implementation::MatrixLoadfCHROMIUM(GLenum matrixMode, |
| 3516 const GLfloat* m) { | 3538 const GLfloat* m) { |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3661 void GLES2Implementation::ApplyScreenSpaceAntialiasingCHROMIUM() { | 3683 void GLES2Implementation::ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 3662 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 3684 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 3663 GPU_CLIENT_LOG("[" << GetLogPrefix() | 3685 GPU_CLIENT_LOG("[" << GetLogPrefix() |
| 3664 << "] glApplyScreenSpaceAntialiasingCHROMIUM(" | 3686 << "] glApplyScreenSpaceAntialiasingCHROMIUM(" |
| 3665 << ")"); | 3687 << ")"); |
| 3666 helper_->ApplyScreenSpaceAntialiasingCHROMIUM(); | 3688 helper_->ApplyScreenSpaceAntialiasingCHROMIUM(); |
| 3667 CheckGLError(); | 3689 CheckGLError(); |
| 3668 } | 3690 } |
| 3669 | 3691 |
| 3670 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 3692 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
| OLD | NEW |