| Previous: OpenGL.raw.WGL | OpenGL. raw. _GLX | Next: OpenGL.raw._GLX_ARB |
OpenGL. raw. _GLX
Functions
glXChooseFBConfig(
dpy
,
screen
,
attribList
,
nitems
)
-> <class 'OpenGL.raw._GLX.LP_LP_struct___GLXFBConfigRec'>
glXChooseFBConfig( POINTER(Display)(dpy), c_int(screen), POINTER(c_int)(attribList), POINTER(c_int)(nitems) ) -> POINTER(GLXFBConfig)
glXChooseVisual(
dpy
,
screen
,
attribList
)
-> <class 'OpenGL.raw._GLX.LP_struct_anon_103'>
glXChooseVisual( POINTER(Display)(dpy), c_int(screen), POINTER(c_int)(attribList) ) -> POINTER(XVisualInfo)
glXCopyContext(
dpy
,
src
,
dst
,
mask
)
glXCopyContext( POINTER(Display)(dpy), GLXContext(src), GLXContext(dst), c_ulong(mask) ) -> None
glXCreateContext(
dpy
,
vis
,
shareList
,
direct
)
-> <class 'OpenGL.raw._GLX.LP_struct___GLXcontextRec'>
glXCreateContext( POINTER(Display)(dpy), POINTER(XVisualInfo)(vis), GLXContext(shareList), c_int(direct) ) -> GLXContext
glXCreateGLXPixmap(
dpy
,
visual
,
pixmap
)
-> <class 'ctypes.c_ulong'>
glXCreateGLXPixmap( POINTER(Display)(dpy), POINTER(XVisualInfo)(visual), Pixmap(pixmap) ) -> GLXPixmap
glXCreateNewContext(
dpy
,
config
,
renderType
,
shareList
,
direct
)
-> <class 'OpenGL.raw._GLX.LP_struct___GLXcontextRec'>
glXCreateNewContext( POINTER(Display)(dpy), GLXFBConfig(config), c_int(renderType), GLXContext(shareList), c_int(direct) ) -> GLXContext
glXCreatePbuffer(
dpy
,
config
,
attribList
)
-> <class 'ctypes.c_ulong'>
glXCreatePbuffer( POINTER(Display)(dpy), GLXFBConfig(config), POINTER(c_int)(attribList) ) -> GLXPbuffer
glXCreatePixmap(
dpy
,
config
,
pixmap
,
attribList
)
-> <class 'ctypes.c_ulong'>
glXCreatePixmap( POINTER(Display)(dpy), GLXFBConfig(config), Pixmap(pixmap), POINTER(c_int)(attribList) ) -> GLXPixmap
glXCreateWindow(
dpy
,
config
,
win
,
attribList
)
-> <class 'ctypes.c_ulong'>
glXCreateWindow( POINTER(Display)(dpy), GLXFBConfig(config), Window(win), POINTER(c_int)(attribList) ) -> GLXWindow
glXDestroyGLXPixmap(
dpy
,
pixmap
)
glXDestroyGLXPixmap( POINTER(Display)(dpy), GLXPixmap(pixmap) ) -> None
glXDestroyPbuffer(
dpy
,
pbuf
)
glXDestroyPbuffer( POINTER(Display)(dpy), GLXPbuffer(pbuf) ) -> None
glXDestroyPixmap(
dpy
,
pixmap
)
glXDestroyPixmap( POINTER(Display)(dpy), GLXPixmap(pixmap) ) -> None
glXDestroyWindow(
dpy
,
window
)
glXDestroyWindow( POINTER(Display)(dpy), GLXWindow(window) ) -> None
glXGetClientString(
dpy
,
name
)
-> <class 'ctypes.c_char_p'>
glXGetClientString( POINTER(Display)(dpy), c_int(name) ) -> c_char_p
glXGetConfig(
dpy
,
visual
,
attrib
,
value
)
-> <class 'ctypes.c_int'>
glXGetConfig( POINTER(Display)(dpy), POINTER(XVisualInfo)(visual), c_int(attrib), POINTER(c_int)(value) ) -> c_int
glXGetCurrentContext(
)
-> <class 'OpenGL.raw._GLX.LP_struct___GLXcontextRec'>
glXGetCurrentContext( ) -> GLXContext
glXGetCurrentDisplay(
)
-> <class 'OpenGL.raw._GLX.LP_struct__XDisplay'>
glXGetCurrentDisplay( ) -> POINTER(Display)
glXGetCurrentReadDrawable(
)
-> <class 'ctypes.c_ulong'>
glXGetCurrentReadDrawable( ) -> GLXDrawable
glXGetFBConfigAttrib(
dpy
,
config
,
attribute
,
value
)
-> <class 'ctypes.c_int'>
glXGetFBConfigAttrib( POINTER(Display)(dpy), GLXFBConfig(config), c_int(attribute), POINTER(c_int)(value) ) -> c_int
glXGetFBConfigs(
dpy
,
screen
,
nelements
)
-> <class 'OpenGL.raw._GLX.LP_LP_struct___GLXFBConfigRec'>
glXGetFBConfigs( POINTER(Display)(dpy), c_int(screen), POINTER(c_int)(nelements) ) -> POINTER(GLXFBConfig)
glXGetProcAddress(
procname
)
-> <class 'OpenGL.raw._GLX.LP_CFunctionType'>
glXGetProcAddress( POINTER(GLubyte)(procname) ) -> POINTER(CFUNCTYPE(None))
glXGetSelectedEvent(
dpy
,
drawable
,
mask
)
glXGetSelectedEvent( POINTER(Display)(dpy), GLXDrawable(drawable), POINTER(c_ulong)(mask) ) -> None
glXGetVisualFromFBConfig(
dpy
,
config
)
-> <class 'OpenGL.raw._GLX.LP_struct_anon_103'>
glXGetVisualFromFBConfig( POINTER(Display)(dpy), GLXFBConfig(config) ) -> POINTER(XVisualInfo)
glXIsDirect(
dpy
,
ctx
)
-> <class 'ctypes.c_int'>
glXIsDirect( POINTER(Display)(dpy), GLXContext(ctx) ) -> c_int
glXMakeContextCurrent(
dpy
,
draw
,
read
,
ctx
)
-> <class 'ctypes.c_int'>
glXMakeContextCurrent( POINTER(Display)(dpy), GLXDrawable(draw), GLXDrawable(read), GLXContext(ctx) ) -> c_int
glXMakeCurrent(
dpy
,
drawable
,
ctx
)
-> <class 'ctypes.c_int'>
glXMakeCurrent( POINTER(Display)(dpy), GLXDrawable(drawable), GLXContext(ctx) ) -> c_int
glXQueryContext(
dpy
,
ctx
,
attribute
,
value
)
-> <class 'ctypes.c_int'>
glXQueryContext( POINTER(Display)(dpy), GLXContext(ctx), c_int(attribute), POINTER(c_int)(value) ) -> c_int
glXQueryDrawable(
dpy
,
draw
,
attribute
,
value
)
glXQueryDrawable( POINTER(Display)(dpy), GLXDrawable(draw), c_int(attribute), POINTER(c_uint)(value) ) -> None
glXQueryExtension(
dpy
,
errorb
,
event
)
-> <class 'ctypes.c_int'>
glXQueryExtension( POINTER(Display)(dpy), POINTER(c_int)(errorb), POINTER(c_int)(event) ) -> c_int
glXQueryExtensionsString(
dpy
,
screen
)
-> <class 'ctypes.c_char_p'>
glXQueryExtensionsString( POINTER(Display)(dpy), c_int(screen) ) -> c_char_p
glXQueryServerString(
dpy
,
screen
,
name
)
-> <class 'ctypes.c_char_p'>
glXQueryServerString( POINTER(Display)(dpy), c_int(screen), c_int(name) ) -> c_char_p
glXQueryVersion(
dpy
,
maj
,
min
)
-> <class 'ctypes.c_int'>
glXQueryVersion( POINTER(Display)(dpy), POINTER(c_int)(maj), POINTER(c_int)(min) ) -> c_int
glXSelectEvent(
dpy
,
drawable
,
mask
)
glXSelectEvent( POINTER(Display)(dpy), GLXDrawable(drawable), c_ulong(mask) ) -> None
glXSwapBuffers(
dpy
,
drawable
)
glXSwapBuffers( POINTER(Display)(dpy), GLXDrawable(drawable) ) -> None
glXUseXFont(
font
,
first
,
count
,
list
)
glXUseXFont( Font(font), c_int(first), c_int(count), c_int(list) ) -> None
Classes
class struct__XDisplay(
Structure
):
_opaque_struct
Structure/Union member
class struct_anon_112(
Structure
):
display
Structure/Union member
drawable
Structure/Union member
event_type
Structure/Union member
msc
Structure/Union member
sbc
Structure/Union member
send_event
Structure/Union member
serial
Structure/Union member
type
Structure/Union member
ust
Structure/Union member
class LP_struct___GLXcontextRec(
_Pointer
):
class struct___GLXEvent(
Union
):
glxbufferswapcomplete
Structure/Union member
glxpbufferclobber
Structure/Union member
pad
Structure/Union member
class LP_struct___GLXFBConfigRec(
_Pointer
):
class struct_anon_111(
Structure
):
aux_buffer
Structure/Union member
buffer_mask
Structure/Union member
count
Structure/Union member
display
Structure/Union member
draw_type
Structure/Union member
drawable
Structure/Union member
event_type
Structure/Union member
height
Structure/Union member
send_event
Structure/Union member
serial
Structure/Union member
width
Structure/Union member
x
Structure/Union member
y
Structure/Union member
class struct_anon_18(
Structure
):
bits_per_rgb
Structure/Union member
blue_mask
Structure/Union member
class
Structure/Union member
ext_data
Structure/Union member
green_mask
Structure/Union member
map_entries
Structure/Union member
red_mask
Structure/Union member
visualid
Structure/Union member
class struct__XExtData(
Structure
):
free_private
Structure/Union member
next
Structure/Union member
number
Structure/Union member
private_data
Structure/Union member
class struct_anon_103(
Structure
):
bits_per_rgb
Structure/Union member
blue_mask
Structure/Union member
class
Structure/Union member
colormap_size
Structure/Union member
depth
Structure/Union member
green_mask
Structure/Union member
red_mask
Structure/Union member
screen
Structure/Union member
visual
Structure/Union member
visualid
Structure/Union member
class struct___GLXFBConfigRec(
Structure
):
_opaque_struct
Structure/Union member
class struct___GLXcontextRec(
Structure
):
_opaque_struct
Structure/Union member
Constants
GLX_ACCUM_ALPHA_SIZE (0x11)
GLX_ACCUM_BLUE_SIZE (0x10)
GLX_ACCUM_BUFFER_BIT (0x80)
GLX_ACCUM_GREEN_SIZE (0xF)
GLX_ACCUM_RED_SIZE (0xE)
GLX_ALPHA_SIZE (0xB)
GLX_ARB_get_proc_address (0x1)
GLX_ARB_render_texture (0x1)
GLX_AUX_BUFFERS (0x7)
GLX_AUX_BUFFERS_BIT (0x10)
GLX_BACK_LEFT_BUFFER_BIT (0x4)
GLX_BACK_RIGHT_BUFFER_BIT (0x8)
GLX_BAD_ATTRIBUTE (0x2)
GLX_BAD_CONTEXT (0x5)
GLX_BAD_ENUM (0x7)
GLX_BAD_SCREEN (0x1)
GLX_BAD_VALUE (0x6)
GLX_BAD_VISUAL (0x4)
GLX_BLUE_SIZE (0xA)
GLX_BUFFER_SIZE (0x2)
GLX_BufferSwapComplete (0x1)
GLX_COLOR_INDEX_BIT (0x2)
GLX_COLOR_INDEX_TYPE (0x8015)
GLX_CONFIG_CAVEAT (0x20)
GLX_DAMAGED (0x8020)
GLX_DEPTH_BUFFER_BIT (0x20)
GLX_DEPTH_SIZE (0xC)
GLX_DIRECT_COLOR (0x8003)
GLX_DONT_CARE (0xFFFFFFFF)
GLX_DOUBLEBUFFER (0x5)
GLX_DRAWABLE_TYPE (0x8010)
GLX_EVENT_MASK (0x801F)
GLX_EXTENSIONS (0x3)
GLX_FBCONFIG_ID (0x8013)
GLX_FRONT_LEFT_BUFFER_BIT (0x1)
GLX_FRONT_RIGHT_BUFFER_BIT (0x2)
GLX_GRAY_SCALE (0x8006)
GLX_GREEN_SIZE (0x9)
GLX_HEIGHT (0x801E)
GLX_LARGEST_PBUFFER (0x801C)
GLX_LEVEL (0x3)
GLX_MAX_PBUFFER_HEIGHT (0x8017)
GLX_MAX_PBUFFER_PIXELS (0x8018)
GLX_MAX_PBUFFER_WIDTH (0x8016)
GLX_MESA_swap_control (0x1)
GLX_MESA_swap_frame_usage (0x1)
GLX_NONE (0x8000)
GLX_NON_CONFORMANT_CONFIG (0x800D)
GLX_NO_EXTENSION (0x3)
GLX_PBUFFER (0x8023)
GLX_PBUFFER_BIT (0x4)
GLX_PBUFFER_CLOBBER_MASK (0x8000000)
GLX_PBUFFER_HEIGHT (0x8040)
GLX_PBUFFER_WIDTH (0x8041)
GLX_PIXMAP_BIT (0x2)
GLX_PRESERVED_CONTENTS (0x801B)
GLX_PSEUDO_COLOR (0x8004)
GLX_PbufferClobber (0x0)
GLX_RED_SIZE (0x8)
GLX_RENDER_TYPE (0x8011)
GLX_RGBA (0x4)
GLX_RGBA_BIT (0x1)
GLX_RGBA_TYPE (0x8014)
GLX_SAMPLES (0x186A1)
GLX_SAMPLE_BUFFERS (0x186A0)
GLX_SAVED (0x8021)
GLX_SCREEN (0x800C)
GLX_SLOW_CONFIG (0x8001)
GLX_STATIC_COLOR (0x8005)
GLX_STATIC_GRAY (0x8007)
GLX_STENCIL_BUFFER_BIT (0x40)
GLX_STENCIL_SIZE (0xD)
GLX_STEREO (0x6)
GLX_TRANSPARENT_ALPHA_VALUE (0x28)
GLX_TRANSPARENT_BLUE_VALUE (0x27)
GLX_TRANSPARENT_GREEN_VALUE (0x26)
GLX_TRANSPARENT_INDEX (0x8009)
GLX_TRANSPARENT_INDEX_VALUE (0x24)
GLX_TRANSPARENT_RED_VALUE (0x25)
GLX_TRANSPARENT_RGB (0x8008)
GLX_TRANSPARENT_TYPE (0x23)
GLX_TRUE_COLOR (0x8002)
GLX_USE_GL (0x1)
GLX_VENDOR (0x1)
GLX_VERSION (0x2)
GLX_VERSION_1_1 (0x1)
GLX_VERSION_1_2 (0x1)
GLX_VERSION_1_3 (0x1)
GLX_VERSION_1_4 (0x1)
GLX_VISUAL_ID (0x800B)
GLX_WIDTH (0x801D)
GLX_WINDOW (0x8022)
GLX_WINDOW_BIT (0x1)
GLX_X_RENDERABLE (0x8012)
GLX_X_VISUAL_TYPE (0x22)
| Previous: OpenGL.raw.WGL | OpenGL. raw. _GLX | Next: OpenGL.raw._GLX_ARB |