OpenGL.GLX.EXT.texture_from_pixmap

OpenGL extension EXT.texture_from_pixmap
This module customises the behaviour of the OpenGL.raw.GLX.EXT.texture_from_pixmap to provide a more Python-friendly API
Overview (from the spec)
This extension allows a color buffer to be used for both rendering and texturing.
Only color buffers of pixmaps can be used for texturing by this extension but other types of drawables can be supported by future extensions layered on top of this extension.
The functionality of this extension is similar to WGL_ARB_render_texture. However, the purpose of this extension is not to provide "render to texture" like functionality but rather the ability to bind an existing X drawable to a texture. Though, there is nothing that prohibits it from being used for "render to texture".
  • Windows are problematic as they can change size and therefore are not supported by this extension.
  • Only a color buffer of a GLX pixmap created using an FBConfig with attribute GLX_BIND_TO_TEXTURE_RGB_EXT or GLX_BIND_TO_TEXTURE_RGBA_EXT set to TRUE can be bound as a texture.
  • The texture internal format is determined when the color buffer is associated with the texture, guaranteeing that the color buffer format is equivalent to the texture internal format.
  • A client can create a complete set of mipmap images if EXT_framebuffer_object is supported.
The official definition of this extension is available here: http://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt

Functions

Constants

GLX_AUX0_EXT (8418)
GLX_AUX1_EXT (8419)
GLX_AUX2_EXT (8420)
GLX_AUX3_EXT (8421)
GLX_AUX4_EXT (8422)
GLX_AUX5_EXT (8423)
GLX_AUX6_EXT (8424)
GLX_AUX7_EXT (8425)
GLX_AUX8_EXT (8426)
GLX_AUX9_EXT (8427)
GLX_BACK_EXT (8416)
GLX_BACK_LEFT_EXT (8416)
GLX_BACK_RIGHT_EXT (8417)
GLX_BIND_TO_MIPMAP_TEXTURE_EXT (8402)
GLX_BIND_TO_TEXTURE_RGB_EXT (8400)
GLX_BIND_TO_TEXTURE_RGBA_EXT (8401)
GLX_BIND_TO_TEXTURE_TARGETS_EXT (8403)
GLX_FRONT_EXT (8414)
GLX_FRONT_LEFT_EXT (8414)
GLX_FRONT_RIGHT_EXT (8415)
GLX_MIPMAP_TEXTURE_EXT (8407)
GLX_TEXTURE_1D_BIT_EXT (1)
GLX_TEXTURE_1D_EXT (8411)
GLX_TEXTURE_2D_BIT_EXT (2)
GLX_TEXTURE_2D_EXT (8412)
GLX_TEXTURE_FORMAT_EXT (8405)
GLX_TEXTURE_FORMAT_NONE_EXT (8408)
GLX_TEXTURE_FORMAT_RGB_EXT (8409)
GLX_TEXTURE_FORMAT_RGBA_EXT (8410)
GLX_TEXTURE_RECTANGLE_BIT_EXT (4)
GLX_TEXTURE_RECTANGLE_EXT (8413)
GLX_TEXTURE_TARGET_EXT (8406)
GLX_Y_INVERTED_EXT (8404)