FBConfig support for EXT_tfp

This commit is contained in:
David Reveman
2006-04-11 12:21:48 +00:00
parent ea2b711061
commit ba23f699f0
3 changed files with 68 additions and 1 deletions

View File

@@ -137,6 +137,13 @@ typedef struct __GLcontextModesRec {
GLint swapMethod;
GLint screen;
/* EXT_texture_from_pixmap */
GLint bindToTextureRgb;
GLint bindToTextureRgba;
GLint bindToMipmapTexture;
GLint bindToTextureTargets;
GLint yInverted;
} __GLcontextModes;
/* Several fields of __GLcontextModes can take these as values. Since
@@ -166,6 +173,17 @@ typedef struct __GLcontextModesRec {
#define GLX_PIXMAP_BIT 0x00000002
#define GLX_PBUFFER_BIT 0x00000004
#define GLX_Y_INVERTED_EXT 0x6009
#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x600A
#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x600B
#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x600C
#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x600D
#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
/************************************************************************/
/*