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

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

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
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.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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 source[max_size] = '\0'; 1522 source[max_size] = '\0';
1523 GPU_CLIENT_LOG("------\n" << source << "\n------"); 1523 GPU_CLIENT_LOG("------\n" << source << "\n------");
1524 } 1524 }
1525 } 1525 }
1526 if (length != NULL) { 1526 if (length != NULL) {
1527 *length = max_size; 1527 *length = max_size;
1528 } 1528 }
1529 } 1529 }
1530 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height); 1530 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height);
1531 1531
1532 void ProduceTextureCHROMIUM(GLenum target, const GLint* mailbox) {
1533 GPU_CLIENT_SINGLE_THREAD_CHECK();
1534 GPU_CLIENT_LOG("[" << this << "] glProduceTextureCHROMIUM(" << GLES2Util::GetS tringTextureTarget(target) << ", " << static_cast<const void*>(mailbox) << ")"); // NOLINT
1535 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]); // NOLINT
1536 helper_->ProduceTextureCHROMIUMImmediate(target, mailbox);
1537 }
1538
1539 void ConsumeTextureCHROMIUM(GLenum target, const GLint* mailbox) {
1540 GPU_CLIENT_SINGLE_THREAD_CHECK();
1541 GPU_CLIENT_LOG("[" << this << "] glConsumeTextureCHROMIUM(" << GLES2Util::GetS tringTextureTarget(target) << ", " << static_cast<const void*>(mailbox) << ")"); // NOLINT
1542 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]); // NOLINT
1543 helper_->ConsumeTextureCHROMIUMImmediate(target, mailbox);
1544 }
1545
1532 void TexImageIOSurface2DCHROMIUM( 1546 void TexImageIOSurface2DCHROMIUM(
1533 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, 1547 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId,
1534 GLuint plane) { 1548 GLuint plane) {
1535 GPU_CLIENT_SINGLE_THREAD_CHECK(); 1549 GPU_CLIENT_SINGLE_THREAD_CHECK();
1536 GPU_CLIENT_LOG("[" << this << "] glTexImageIOSurface2DCHROMIUM(" << GLES2Util: :GetStringTextureBindTarget(target) << ", " << width << ", " << height << ", " < < ioSurfaceId << ", " << plane << ")"); // NOLINT 1550 GPU_CLIENT_LOG("[" << this << "] glTexImageIOSurface2DCHROMIUM(" << GLES2Util: :GetStringTextureBindTarget(target) << ", " << width << ", " << height << ", " < < ioSurfaceId << ", " << plane << ")"); // NOLINT
1537 if (width < 0) { 1551 if (width < 0) {
1538 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: width < 0"); 1552 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: width < 0");
1539 return; 1553 return;
1540 } 1554 }
1541 if (height < 0) { 1555 if (height < 0) {
1542 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: height < 0"); 1556 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: height < 0");
1543 return; 1557 return;
1544 } 1558 }
1545 helper_->TexImageIOSurface2DCHROMIUM( 1559 helper_->TexImageIOSurface2DCHROMIUM(
1546 target, width, height, ioSurfaceId, plane); 1560 target, width, height, ioSurfaceId, plane);
1547 } 1561 }
1548 1562
1549 void DrawArraysInstancedANGLE( 1563 void DrawArraysInstancedANGLE(
1550 GLenum mode, GLint first, GLsizei count, GLsizei primcount); 1564 GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1551 1565
1552 void DrawElementsInstancedANGLE( 1566 void DrawElementsInstancedANGLE(
1553 GLenum mode, GLsizei count, GLenum type, const void* indices, 1567 GLenum mode, GLsizei count, GLenum type, const void* indices,
1554 GLsizei primcount); 1568 GLsizei primcount);
1555 1569
1556 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor); 1570 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor);
1557 1571
1558 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ 1572 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_
1559 1573
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698