From ba23f699f03e45a7519cb41cc853deba686ff8d9 Mon Sep 17 00:00:00 2001 From: David Reveman Date: Tue, 11 Apr 2006 12:21:48 +0000 Subject: FBConfig support for EXT_tfp --- include/GL/internal/glcore.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include/GL') diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h index 48748d91e8..b2224b753e 100644 --- a/include/GL/internal/glcore.h +++ b/include/GL/internal/glcore.h @@ -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 + + /************************************************************************/ /* -- cgit v1.2.3