| 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 // These functions emulate GLES2 over command buffers. | 9 // These functions emulate GLES2 over command buffers. |
| 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { | 514 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { |
| 515 gles2::GetGLContext()->BlitFramebufferEXT( | 515 gles2::GetGLContext()->BlitFramebufferEXT( |
| 516 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); | 516 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| 517 } | 517 } |
| 518 void GLES2RenderbufferStorageMultisampleEXT( | 518 void GLES2RenderbufferStorageMultisampleEXT( |
| 519 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, | 519 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, |
| 520 GLsizei height) { | 520 GLsizei height) { |
| 521 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT( | 521 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT( |
| 522 target, samples, internalformat, width, height); | 522 target, samples, internalformat, width, height); |
| 523 } | 523 } |
| 524 void GLES2FramebufferTexture2DMultisampleEXT( |
| 525 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, |
| 526 GLint level, GLsizei samples) { |
| 527 gles2::GetGLContext()->FramebufferTexture2DMultisampleEXT( |
| 528 target, attachment, textarget, texture, level, samples); |
| 529 } |
| 524 void GLES2TexStorage2DEXT( | 530 void GLES2TexStorage2DEXT( |
| 525 GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, | 531 GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, |
| 526 GLsizei height) { | 532 GLsizei height) { |
| 527 gles2::GetGLContext()->TexStorage2DEXT( | 533 gles2::GetGLContext()->TexStorage2DEXT( |
| 528 target, levels, internalFormat, width, height); | 534 target, levels, internalFormat, width, height); |
| 529 } | 535 } |
| 530 void GLES2GenQueriesEXT(GLsizei n, GLuint* queries) { | 536 void GLES2GenQueriesEXT(GLsizei n, GLuint* queries) { |
| 531 gles2::GetGLContext()->GenQueriesEXT(n, queries); | 537 gles2::GetGLContext()->GenQueriesEXT(n, queries); |
| 532 } | 538 } |
| 533 void GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) { | 539 void GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) { |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 { "glVertexAttrib4f", reinterpret_cast<GLES2FunctionPointer>( | 985 { "glVertexAttrib4f", reinterpret_cast<GLES2FunctionPointer>( |
| 980 glVertexAttrib4f), }, | 986 glVertexAttrib4f), }, |
| 981 { "glVertexAttrib4fv", reinterpret_cast<GLES2FunctionPointer>( | 987 { "glVertexAttrib4fv", reinterpret_cast<GLES2FunctionPointer>( |
| 982 glVertexAttrib4fv), }, | 988 glVertexAttrib4fv), }, |
| 983 { "glVertexAttribPointer", reinterpret_cast<GLES2FunctionPointer>( | 989 { "glVertexAttribPointer", reinterpret_cast<GLES2FunctionPointer>( |
| 984 glVertexAttribPointer), }, | 990 glVertexAttribPointer), }, |
| 985 { "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), }, | 991 { "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), }, |
| 986 { "glBlitFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( | 992 { "glBlitFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 987 glBlitFramebufferEXT), }, | 993 glBlitFramebufferEXT), }, |
| 988 { "glRenderbufferStorageMultisampleEXT", reinterpret_cast<GLES2FunctionPointer
>(glRenderbufferStorageMultisampleEXT), }, // NOLINT | 994 { "glRenderbufferStorageMultisampleEXT", reinterpret_cast<GLES2FunctionPointer
>(glRenderbufferStorageMultisampleEXT), }, // NOLINT |
| 995 { "glFramebufferTexture2DMultisampleEXT", reinterpret_cast<GLES2FunctionPointe
r>(glFramebufferTexture2DMultisampleEXT), }, // NOLINT |
| 989 { "glTexStorage2DEXT", reinterpret_cast<GLES2FunctionPointer>( | 996 { "glTexStorage2DEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 990 glTexStorage2DEXT), }, | 997 glTexStorage2DEXT), }, |
| 991 { "glGenQueriesEXT", reinterpret_cast<GLES2FunctionPointer>( | 998 { "glGenQueriesEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 992 glGenQueriesEXT), }, | 999 glGenQueriesEXT), }, |
| 993 { "glDeleteQueriesEXT", reinterpret_cast<GLES2FunctionPointer>( | 1000 { "glDeleteQueriesEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 994 glDeleteQueriesEXT), }, | 1001 glDeleteQueriesEXT), }, |
| 995 { "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), }, | 1002 { "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), }, |
| 996 { "glBeginQueryEXT", reinterpret_cast<GLES2FunctionPointer>( | 1003 { "glBeginQueryEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 997 glBeginQueryEXT), }, | 1004 glBeginQueryEXT), }, |
| 998 { "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), }, | 1005 { "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), }, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1113 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1107 glWaitSyncPointCHROMIUM), }, | 1114 glWaitSyncPointCHROMIUM), }, |
| 1108 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( | 1115 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 1109 glDrawBuffersEXT), }, | 1116 glDrawBuffersEXT), }, |
| 1110 { NULL, NULL, }, | 1117 { NULL, NULL, }, |
| 1111 }; | 1118 }; |
| 1112 | 1119 |
| 1113 } // namespace gles2 | 1120 } // namespace gles2 |
| 1114 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1121 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 1115 | 1122 |
| OLD | NEW |