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.cc to define the | 9 // This file is included by gles2_implementation.cc to define the |
10 // GL api functions. | 10 // GL api functions. |
(...skipping 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1623 GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM", "height < 0"); | 1623 GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM", "height < 0"); |
1624 return; | 1624 return; |
1625 } | 1625 } |
1626 helper_->TexImageIOSurface2DCHROMIUM( | 1626 helper_->TexImageIOSurface2DCHROMIUM( |
1627 target, width, height, ioSurfaceId, plane); | 1627 target, width, height, ioSurfaceId, plane); |
1628 CheckGLError(); | 1628 CheckGLError(); |
1629 } | 1629 } |
1630 | 1630 |
1631 void GLES2Implementation::CopyTextureCHROMIUM( | 1631 void GLES2Implementation::CopyTextureCHROMIUM( |
1632 GLenum target, GLenum source_id, GLenum dest_id, GLint level, | 1632 GLenum target, GLenum source_id, GLenum dest_id, GLint level, |
1633 GLint internalformat) { | 1633 GLint internalformat, GLenum dest_type) { |
1634 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 1634 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
1635 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glCopyTextureCHROMIUM(" << GLES2Uti
l::GetStringEnum(target) << ", " << GLES2Util::GetStringEnum(source_id) << ", "
<< GLES2Util::GetStringEnum(dest_id) << ", " << level << ", " << internalformat
<< ")"); // NOLINT | 1635 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glCopyTextureCHROMIUM(" << GLES2Uti
l::GetStringEnum(target) << ", " << GLES2Util::GetStringEnum(source_id) << ", "
<< GLES2Util::GetStringEnum(dest_id) << ", " << level << ", " << internalformat
<< ", " << GLES2Util::GetStringPixelType(dest_type) << ")"); // NOLINT |
1636 helper_->CopyTextureCHROMIUM( | 1636 helper_->CopyTextureCHROMIUM( |
1637 target, source_id, dest_id, level, internalformat); | 1637 target, source_id, dest_id, level, internalformat, dest_type); |
1638 CheckGLError(); | 1638 CheckGLError(); |
1639 } | 1639 } |
1640 | 1640 |
1641 void GLES2Implementation::ProduceTextureCHROMIUM( | 1641 void GLES2Implementation::ProduceTextureCHROMIUM( |
1642 GLenum target, const GLbyte* mailbox) { | 1642 GLenum target, const GLbyte* mailbox) { |
1643 GPU_CLIENT_SINGLE_THREAD_CHECK(); | 1643 GPU_CLIENT_SINGLE_THREAD_CHECK(); |
1644 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glProduceTextureCHROMIUM(" << GLES2
Util::GetStringTextureBindTarget(target) << ", " << static_cast<const void*>(mai
lbox) << ")"); // NOLINT | 1644 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glProduceTextureCHROMIUM(" << GLES2
Util::GetStringTextureBindTarget(target) << ", " << static_cast<const void*>(mai
lbox) << ")"); // NOLINT |
1645 GPU_CLIENT_LOG("values: " << mailbox[0] << ", " << mailbox[1] << ", " << mailb
ox[2] << ", " << mailbox[3] << ", " << mailbox[4] << ", " << mailbox[5] << ", "
<< mailbox[6] << ", " << mailbox[7] << ", " << mailbox[8] << ", " << mailbox[9]
<< ", " << mailbox[10] << ", " << mailbox[11] << ", " << mailbox[12] << ", " <<
mailbox[13] << ", " << mailbox[14] << ", " << mailbox[15] << ", " << mailbox[16]
<< ", " << mailbox[17] << ", " << mailbox[18] << ", " << mailbox[19] << ", " <<
mailbox[20] << ", " << mailbox[21] << ", " << mailbox[22] << ", " << mailbox[23
] << ", " << mailbox[24] << ", " << mailbox[25] << ", " << mailbox[26] << ", " <
< mailbox[27] << ", " << mailbox[28] << ", " << mailbox[29] << ", " << mailbox[3
0] << ", " << mailbox[31] << ", " << mailbox[32] << ", " << mailbox[33] << ", "
<< mailbox[34] << ", " << mailbox[35] << ", " << mailbox[36] << ", " << mailbox[
37] << ", " << mailbox[38] << ", " << mailbox[39] << ", " << mailbox[40] << ", "
<< mailbox[41] << ", " << mailbox[42] << ", " << mailbox[43] << ", " << mailbox
[44] << ", " << mailbox[45] << ", " << mailbox[46] << ", " << mailbox[47] << ",
" << mailbox[48] << ", " << mailbox[49] << ", " << mailbox[50] << ", " << mailbo
x[51] << ", " << mailbox[52] << ", " << mailbox[53] << ", " << mailbox[54] << ",
" << mailbox[55] << ", " << mailbox[56] << ", " << mailbox[57] << ", " << mailb
ox[58] << ", " << mailbox[59] << ", " << mailbox[60] << ", " << mailbox[61] << "
, " << mailbox[62] << ", " << mailbox[63]); // NOLINT | 1645 GPU_CLIENT_LOG("values: " << mailbox[0] << ", " << mailbox[1] << ", " << mailb
ox[2] << ", " << mailbox[3] << ", " << mailbox[4] << ", " << mailbox[5] << ", "
<< mailbox[6] << ", " << mailbox[7] << ", " << mailbox[8] << ", " << mailbox[9]
<< ", " << mailbox[10] << ", " << mailbox[11] << ", " << mailbox[12] << ", " <<
mailbox[13] << ", " << mailbox[14] << ", " << mailbox[15] << ", " << mailbox[16]
<< ", " << mailbox[17] << ", " << mailbox[18] << ", " << mailbox[19] << ", " <<
mailbox[20] << ", " << mailbox[21] << ", " << mailbox[22] << ", " << mailbox[23
] << ", " << mailbox[24] << ", " << mailbox[25] << ", " << mailbox[26] << ", " <
< mailbox[27] << ", " << mailbox[28] << ", " << mailbox[29] << ", " << mailbox[3
0] << ", " << mailbox[31] << ", " << mailbox[32] << ", " << mailbox[33] << ", "
<< mailbox[34] << ", " << mailbox[35] << ", " << mailbox[36] << ", " << mailbox[
37] << ", " << mailbox[38] << ", " << mailbox[39] << ", " << mailbox[40] << ", "
<< mailbox[41] << ", " << mailbox[42] << ", " << mailbox[43] << ", " << mailbox
[44] << ", " << mailbox[45] << ", " << mailbox[46] << ", " << mailbox[47] << ",
" << mailbox[48] << ", " << mailbox[49] << ", " << mailbox[50] << ", " << mailbo
x[51] << ", " << mailbox[52] << ", " << mailbox[53] << ", " << mailbox[54] << ",
" << mailbox[55] << ", " << mailbox[56] << ", " << mailbox[57] << ", " << mailb
ox[58] << ", " << mailbox[59] << ", " << mailbox[60] << ", " << mailbox[61] << "
, " << mailbox[62] << ", " << mailbox[63]); // NOLINT |
1646 helper_->ProduceTextureCHROMIUMImmediate(target, mailbox); | 1646 helper_->ProduceTextureCHROMIUMImmediate(target, mailbox); |
1647 CheckGLError(); | 1647 CheckGLError(); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 if (count < 0) { | 1714 if (count < 0) { |
1715 SetGLError(GL_INVALID_VALUE, "glDrawBuffersEXT", "count < 0"); | 1715 SetGLError(GL_INVALID_VALUE, "glDrawBuffersEXT", "count < 0"); |
1716 return; | 1716 return; |
1717 } | 1717 } |
1718 helper_->DrawBuffersEXTImmediate(count, bufs); | 1718 helper_->DrawBuffersEXTImmediate(count, bufs); |
1719 CheckGLError(); | 1719 CheckGLError(); |
1720 } | 1720 } |
1721 | 1721 |
1722 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 1722 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
1723 | 1723 |
OLD | NEW |