diff options
author | Brian Paul <[email protected]> | 2006-05-05 18:19:54 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-05-05 18:19:54 +0000 |
commit | efbf170cfbb0ad8ad8a480a0be581b0908b53138 (patch) | |
tree | 3c4ad994998ad219d343f5f43ac117dc93e8ce9b | |
parent | 9b20b68af16af6bd630e9a5ed5b56fdf837fa29f (diff) |
updated GLX_EXT_texture_from_pixmap tokens (Dave Reveman)
-rw-r--r-- | include/GL/glx.h | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h index 165d105b882..c70a29497cf 100644 --- a/include/GL/glx.h +++ b/include/GL/glx.h @@ -423,7 +423,44 @@ typedef int (*PFNGLXGETSWAPINTERVALMESAPROC)(void); #ifndef GLX_EXT_texture_from_pixmap #define GLX_EXT_texture_from_pixmap 1 -/* XXX need enums/tokens! */ +#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 +#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 +#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 +#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 +#define GLX_Y_INVERTED_EXT 0x20D4 + +#define GLX_TEXTURE_FORMAT_EXT 0x20D5 +#define GLX_TEXTURE_TARGET_EXT 0x20D6 +#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 + +#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 +#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 +#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA + +#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 +#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 +#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 + +#define GLX_TEXTURE_1D_EXT 0x20DB +#define GLX_TEXTURE_2D_EXT 0x20DC +#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD + +#define GLX_FRONT_LEFT_EXT 0x20DE +#define GLX_FRONT_RIGHT_EXT 0x20DF +#define GLX_BACK_LEFT_EXT 0x20E0 +#define GLX_BACK_RIGHT_EXT 0x20E1 +#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT +#define GLX_BACK_EXT GLX_BACK_LEFT_EXT +#define GLX_AUX0_EXT 0x20E2 +#define GLX_AUX1_EXT 0x20E3 +#define GLX_AUX2_EXT 0x20E4 +#define GLX_AUX3_EXT 0x20E5 +#define GLX_AUX4_EXT 0x20E6 +#define GLX_AUX5_EXT 0x20E7 +#define GLX_AUX6_EXT 0x20E8 +#define GLX_AUX7_EXT 0x20E9 +#define GLX_AUX8_EXT 0x20EA +#define GLX_AUX9_EXT 0x20EB extern void glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list); extern void glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer); |