| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
#ifndef __TR_DSA_H__ |
| 22 |
#define __TR_DSA_H__ |
| 23 |
|
| 24 |
#include "../renderercommon/qgl.h" |
| 25 |
|
| 26 |
void GL_BindNullTextures(void); |
| 27 |
int GL_BindMultiTexture(GLenum texunit, GLenum target, GLuint texture); |
| 28 |
|
| 29 |
GLvoid APIENTRY GLDSA_BindMultiTextureEXT(GLenum texunit, GLenum target, GLuint texture); |
| 30 |
GLvoid APIENTRY GLDSA_TextureParameterfEXT(GLuint texture, GLenum target, GLenum pname, GLfloat param); |
| 31 |
GLvoid APIENTRY GLDSA_TextureParameteriEXT(GLuint texture, GLenum target, GLenum pname, GLint param); |
| 32 |
GLvoid APIENTRY GLDSA_TextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLint internalformat, |
| 33 |
GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
| 34 |
GLvoid APIENTRY GLDSA_TextureSubImage2DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, |
| 35 |
GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
| 36 |
GLvoid APIENTRY GLDSA_CopyTextureSubImage2DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, |
| 37 |
GLint x, GLint y, GLsizei width, GLsizei height); |
| 38 |
GLvoid APIENTRY GLDSA_CompressedTextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLenum internalformat, |
| 39 |
GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
| 40 |
GLvoid APIENTRY GLDSA_CompressedTextureSubImage2DEXT(GLuint texture, GLenum target, GLint level, |
| 41 |
GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, |
| 42 |
GLsizei imageSize, const GLvoid *data); |
| 43 |
|
| 44 |
GLvoid APIENTRY GLDSA_GenerateTextureMipmapEXT(GLuint texture, GLenum target); |
| 45 |
|
| 46 |
void GL_BindNullProgram(void); |
| 47 |
int GL_UseProgram(GLuint program); |
| 48 |
|
| 49 |
GLvoid APIENTRY GLDSA_ProgramUniform1iEXT(GLuint program, GLint location, GLint v0); |
| 50 |
GLvoid APIENTRY GLDSA_ProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0); |
| 51 |
GLvoid APIENTRY GLDSA_ProgramUniform2fEXT(GLuint program, GLint location, |
| 52 |
GLfloat v0, GLfloat v1); |
| 53 |
GLvoid APIENTRY GLDSA_ProgramUniform3fEXT(GLuint program, GLint location, |
| 54 |
GLfloat v0, GLfloat v1, GLfloat v2); |
| 55 |
GLvoid APIENTRY GLDSA_ProgramUniform4fEXT(GLuint program, GLint location, |
| 56 |
GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
| 57 |
GLvoid APIENTRY GLDSA_ProgramUniform1fvEXT(GLuint program, GLint location, |
| 58 |
GLsizei count, const GLfloat *value); |
| 59 |
GLvoid APIENTRY GLDSA_ProgramUniformMatrix4fvEXT(GLuint program, GLint location, |
| 60 |
GLsizei count, GLboolean transpose, |
| 61 |
const GLfloat *value); |
| 62 |
|
| 63 |
void GL_BindNullFramebuffers(void); |
| 64 |
void GL_BindFramebuffer(GLenum target, GLuint framebuffer); |
| 65 |
void GL_BindRenderbuffer(GLuint renderbuffer); |
| 66 |
|
| 67 |
GLvoid APIENTRY GLDSA_NamedRenderbufferStorageEXT(GLuint renderbuffer, |
| 68 |
GLenum internalformat, GLsizei width, GLsizei height); |
| 69 |
|
| 70 |
GLvoid APIENTRY GLDSA_NamedRenderbufferStorageMultisampleEXT(GLuint renderbuffer, |
| 71 |
GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 72 |
|
| 73 |
GLenum APIENTRY GLDSA_CheckNamedFramebufferStatusEXT(GLuint framebuffer, GLenum target); |
| 74 |
GLvoid APIENTRY GLDSA_NamedFramebufferTexture2DEXT(GLuint framebuffer, |
| 75 |
GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
| 76 |
GLvoid APIENTRY GLDSA_NamedFramebufferRenderbufferEXT(GLuint framebuffer, |
| 77 |
GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
| 78 |
|
| 79 |
|
| 80 |
#endif |