diff options
author | SmileTheory <SmileTheory@gmail.com> | 2016-01-18 04:46:01 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:53:16 +0100 |
commit | 970b21fbcd3d42e641807ac0c5e9a29dc21095e9 (patch) | |
tree | f4d14a3d23053e64563a35799885ec44cc52b4b0 /src/renderercommon/qgl.h | |
parent | 14aa11b0de9c1a93b06cc5a8c6819b52268f4a54 (diff) |
OpenGL2: Direct state access, part 1: Texture binds
Diffstat (limited to 'src/renderercommon/qgl.h')
-rw-r--r-- | src/renderercommon/qgl.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/renderercommon/qgl.h b/src/renderercommon/qgl.h index cc0dd6a7..232a1869 100644 --- a/src/renderercommon/qgl.h +++ b/src/renderercommon/qgl.h @@ -987,6 +987,23 @@ extern GLboolean (APIENTRY * qglIsVertexArrayARB)(GLuint array); #define GL_VERTEX_ARRAY_BINDING_ARB 0x85B5 #endif +// GL_EXT_direct_state_access +extern GLvoid(APIENTRY * qglBindMultiTexture)(GLenum texunit, GLenum target, GLuint texture); +extern GLvoid(APIENTRY * qglTextureParameterf)(GLuint texture, GLenum target, GLenum pname, GLfloat param); +extern GLvoid(APIENTRY * qglTextureParameteri)(GLuint texture, GLenum target, GLenum pname, GLint param); +extern GLvoid(APIENTRY * qglTextureImage2D)(GLuint texture, GLenum target, GLint level, GLint internalformat, + GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +extern GLvoid(APIENTRY * qglTextureSubImage2D)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, + GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); +extern GLvoid(APIENTRY * qglCopyTextureImage2D)(GLuint texture, GLenum target, GLint level, GLenum internalformat, + GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +extern GLvoid(APIENTRY * qglCompressedTextureImage2D)(GLuint texture, GLenum target, GLint level, GLenum internalformat, + GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +extern GLvoid(APIENTRY * qglCompressedTextureSubImage2D)(GLuint texture, GLenum target, GLint level, + GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, + GLsizei imageSize, const GLvoid *data); +extern GLvoid(APIENTRY * qglGenerateTextureMipmap)(GLuint texture, GLenum target); + #if defined(WIN32) // WGL_ARB_create_context |