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 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |