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 // This file is included by gles2_implementation.h to declare the | 9 // This file is included by gles2_implementation.h to declare the |
10 // GL api functions. | 10 // GL api functions. |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 | 491 |
492 virtual void ProduceTextureCHROMIUM( | 492 virtual void ProduceTextureCHROMIUM( |
493 GLenum target, const GLbyte* mailbox) OVERRIDE; | 493 GLenum target, const GLbyte* mailbox) OVERRIDE; |
494 | 494 |
495 virtual void ConsumeTextureCHROMIUM( | 495 virtual void ConsumeTextureCHROMIUM( |
496 GLenum target, const GLbyte* mailbox) OVERRIDE; | 496 GLenum target, const GLbyte* mailbox) OVERRIDE; |
497 | 497 |
498 virtual void BindUniformLocationCHROMIUM( | 498 virtual void BindUniformLocationCHROMIUM( |
499 GLuint program, GLint location, const char* name) OVERRIDE; | 499 GLuint program, GLint location, const char* name) OVERRIDE; |
500 | 500 |
| 501 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 502 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 503 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindTexImage2DCHROMIUM(" << GLES2
Util::GetStringTextureBindTarget(target) << ", " << imageId << ")"); // NOLINT |
| 504 helper_->BindTexImage2DCHROMIUM(target, imageId); |
| 505 } |
| 506 |
| 507 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 508 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
| 509 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glReleaseTexImage2DCHROMIUM(" << GL
ES2Util::GetStringTextureBindTarget(target) << ", " << imageId << ")"); // NOLI
NT |
| 510 helper_->ReleaseTexImage2DCHROMIUM(target, imageId); |
| 511 } |
| 512 |
501 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 513 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
502 | 514 |
OLD | NEW |