| 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 3177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3188 | 3188 |
| 3189 void GLES2Implementation::BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 3189 void GLES2Implementation::BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 3190 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 3190 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 3191 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindTexImage2DCHROMIUM(" | 3191 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindTexImage2DCHROMIUM(" |
| 3192 << GLES2Util::GetStringTextureBindTarget(target) << ", " | 3192 << GLES2Util::GetStringTextureBindTarget(target) << ", " |
| 3193 << imageId << ")"); | 3193 << imageId << ")"); |
| 3194 helper_->BindTexImage2DCHROMIUM(target, imageId); | 3194 helper_->BindTexImage2DCHROMIUM(target, imageId); |
| 3195 CheckGLError(); | 3195 CheckGLError(); |
| 3196 } | 3196 } |
| 3197 | 3197 |
| 3198 void GLES2Implementation::BindTexImage2DWithInternalformatCHROMIUM( | |
| 3199 GLenum target, | |
| 3200 GLenum internalformat, | |
| 3201 GLint imageId) { | |
| 3202 GPU_CLIENT_SINGLE_THREAD_CHECK(); | |
| 3203 GPU_CLIENT_LOG("[" << GetLogPrefix() | |
| 3204 << "] glBindTexImage2DWithInternalformatCHROMIUM(" | |
| 3205 << GLES2Util::GetStringTextureBindTarget(target) << ", " | |
| 3206 << GLES2Util::GetStringEnum(internalformat) << ", " | |
| 3207 << imageId << ")"); | |
| 3208 helper_->BindTexImage2DWithInternalformatCHROMIUM(target, internalformat, | |
| 3209 imageId); | |
| 3210 CheckGLError(); | |
| 3211 } | |
| 3212 | |
| 3213 void GLES2Implementation::ReleaseTexImage2DCHROMIUM(GLenum target, | 3198 void GLES2Implementation::ReleaseTexImage2DCHROMIUM(GLenum target, |
| 3214 GLint imageId) { | 3199 GLint imageId) { |
| 3215 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 3200 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 3216 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glReleaseTexImage2DCHROMIUM(" | 3201 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glReleaseTexImage2DCHROMIUM(" |
| 3217 << GLES2Util::GetStringTextureBindTarget(target) << ", " | 3202 << GLES2Util::GetStringTextureBindTarget(target) << ", " |
| 3218 << imageId << ")"); | 3203 << imageId << ")"); |
| 3219 helper_->ReleaseTexImage2DCHROMIUM(target, imageId); | 3204 helper_->ReleaseTexImage2DCHROMIUM(target, imageId); |
| 3220 CheckGLError(); | 3205 CheckGLError(); |
| 3221 } | 3206 } |
| 3222 | 3207 |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3538 | 3523 |
| 3539 void GLES2Implementation::SetEnableDCLayersCHROMIUM(GLboolean enabled) { | 3524 void GLES2Implementation::SetEnableDCLayersCHROMIUM(GLboolean enabled) { |
| 3540 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 3525 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 3541 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glSetEnableDCLayersCHROMIUM(" | 3526 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glSetEnableDCLayersCHROMIUM(" |
| 3542 << GLES2Util::GetStringBool(enabled) << ")"); | 3527 << GLES2Util::GetStringBool(enabled) << ")"); |
| 3543 helper_->SetEnableDCLayersCHROMIUM(enabled); | 3528 helper_->SetEnableDCLayersCHROMIUM(enabled); |
| 3544 CheckGLError(); | 3529 CheckGLError(); |
| 3545 } | 3530 } |
| 3546 | 3531 |
| 3547 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 3532 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
| OLD | NEW |