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

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

Issue 10124016: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removing dangling error checking code. 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 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 return; 1539 return;
1540 } 1540 }
1541 if (height < 0) { 1541 if (height < 0) {
1542 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: height < 0"); 1542 SetGLError(GL_INVALID_VALUE, "glTexImageIOSurface2DCHROMIUM: height < 0");
1543 return; 1543 return;
1544 } 1544 }
1545 helper_->TexImageIOSurface2DCHROMIUM( 1545 helper_->TexImageIOSurface2DCHROMIUM(
1546 target, width, height, ioSurfaceId, plane); 1546 target, width, height, ioSurfaceId, plane);
1547 } 1547 }
1548 1548
1549 void CopyTextureCHROMIUM(
1550 GLenum target, GLenum source_id, GLenum dest_id, GLint level) {
1551 GPU_CLIENT_SINGLE_THREAD_CHECK();
1552 GPU_CLIENT_LOG("[" << this << "] glCopyTextureCHROMIUM(" << GLES2Util::GetStri ngEnum(target) << ", " << GLES2Util::GetStringEnum(source_id) << ", " << GLES2Ut il::GetStringEnum(dest_id) << ", " << level << ")"); // NOLINT
1553 helper_->CopyTextureCHROMIUM(target, source_id, dest_id, level);
1554 }
1555
1549 void DrawArraysInstancedANGLE( 1556 void DrawArraysInstancedANGLE(
1550 GLenum mode, GLint first, GLsizei count, GLsizei primcount); 1557 GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1551 1558
1552 void DrawElementsInstancedANGLE( 1559 void DrawElementsInstancedANGLE(
1553 GLenum mode, GLsizei count, GLenum type, const void* indices, 1560 GLenum mode, GLsizei count, GLenum type, const void* indices,
1554 GLsizei primcount); 1561 GLsizei primcount);
1555 1562
1556 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor); 1563 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor);
1557 1564
1558 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ 1565 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_
1559 1566
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | gpu/command_buffer/client/gles2_implementation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698