Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.h

Issue 13613006: Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase the patch and solve the merge conflict issue Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698