| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
| 6 | 6 |
| 7 // These functions emluate GLES2 over command buffers. | 7 // These functions emluate GLES2 over command buffers. |
| 8 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 8 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 9 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 9 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 10 | 10 |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 } | 493 } |
| 494 void GLES2VertexAttribPointer( | 494 void GLES2VertexAttribPointer( |
| 495 GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, | 495 GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, |
| 496 const void* ptr) { | 496 const void* ptr) { |
| 497 gles2::GetGLContext()->VertexAttribPointer( | 497 gles2::GetGLContext()->VertexAttribPointer( |
| 498 indx, size, type, normalized, stride, ptr); | 498 indx, size, type, normalized, stride, ptr); |
| 499 } | 499 } |
| 500 void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { | 500 void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { |
| 501 gles2::GetGLContext()->Viewport(x, y, width, height); | 501 gles2::GetGLContext()->Viewport(x, y, width, height); |
| 502 } | 502 } |
| 503 void GLES2BlitFramebufferEXT( |
| 504 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, |
| 505 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { |
| 506 gles2::GetGLContext()->BlitFramebufferEXT( |
| 507 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| 508 } |
| 509 void GLES2RenderbufferStorageMultisampleEXT( |
| 510 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, |
| 511 GLsizei height) { |
| 512 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT( |
| 513 target, samples, internalformat, width, height); |
| 514 } |
| 503 void GLES2SwapBuffers() { | 515 void GLES2SwapBuffers() { |
| 504 gles2::GetGLContext()->SwapBuffers(); | 516 gles2::GetGLContext()->SwapBuffers(); |
| 505 } | 517 } |
| 506 GLuint GLES2GetMaxValueInBuffer( | 518 GLuint GLES2GetMaxValueInBuffer( |
| 507 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { | 519 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { |
| 508 return gles2::GetGLContext()->GetMaxValueInBuffer( | 520 return gles2::GetGLContext()->GetMaxValueInBuffer( |
| 509 buffer_id, count, type, offset); | 521 buffer_id, count, type, offset); |
| 510 } | 522 } |
| 511 void GLES2GenSharedIds( | 523 void GLES2GenSharedIds( |
| 512 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { | 524 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 534 GLsizei height, GLenum format, GLenum type, GLenum access) { | 546 GLsizei height, GLenum format, GLenum type, GLenum access) { |
| 535 return gles2::GetGLContext()->MapTexSubImage2D( | 547 return gles2::GetGLContext()->MapTexSubImage2D( |
| 536 target, level, xoffset, yoffset, width, height, format, type, access); | 548 target, level, xoffset, yoffset, width, height, format, type, access); |
| 537 } | 549 } |
| 538 void GLES2UnmapTexSubImage2D(const void* mem) { | 550 void GLES2UnmapTexSubImage2D(const void* mem) { |
| 539 gles2::GetGLContext()->UnmapTexSubImage2D(mem); | 551 gles2::GetGLContext()->UnmapTexSubImage2D(mem); |
| 540 } | 552 } |
| 541 | 553 |
| 542 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 554 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 543 | 555 |
| OLD | NEW |