drop GLcore
This commit is contained in:
@@ -181,77 +181,4 @@ typedef struct __GLcontextModesRec {
|
||||
#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
|
||||
#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
|
||||
|
||||
|
||||
/************************************************************************/
|
||||
|
||||
#ifdef _NEED_GL_CORE_IF
|
||||
|
||||
/**
|
||||
* The GLcore interface (a subset of the XMesa interface)
|
||||
*/
|
||||
#define __GL_CORE "GL_Core"
|
||||
|
||||
typedef struct __GLcoreModuleRec {
|
||||
/*
|
||||
* XMesaVisual
|
||||
*/
|
||||
XMesaVisual (*XMesaCreateVisual)( ScreenPtr display,
|
||||
VisualPtr visinfo,
|
||||
GLboolean rgb_flag,
|
||||
GLboolean alpha_flag,
|
||||
GLboolean db_flag,
|
||||
GLboolean stereo_flag,
|
||||
GLboolean ximage_flag,
|
||||
GLint depth_size,
|
||||
GLint stencil_size,
|
||||
GLint accum_red_size,
|
||||
GLint accum_green_size,
|
||||
GLint accum_blue_size,
|
||||
GLint accum_alpha_size,
|
||||
GLint num_samples,
|
||||
GLint level,
|
||||
GLint visualCaveat );
|
||||
|
||||
void (*XMesaDestroyVisual)( XMesaVisual v );
|
||||
|
||||
/*
|
||||
* XMesaBuffer
|
||||
*/
|
||||
XMesaBuffer (*XMesaCreateWindowBuffer)( XMesaVisual v,
|
||||
WindowPtr w );
|
||||
|
||||
XMesaBuffer (*XMesaCreatePixmapBuffer)( XMesaVisual v,
|
||||
PixmapPtr p,
|
||||
ColormapPtr cmap );
|
||||
|
||||
void (*XMesaDestroyBuffer)( XMesaBuffer b );
|
||||
|
||||
void (*XMesaSwapBuffers)( XMesaBuffer b );
|
||||
|
||||
void (*XMesaResizeBuffers)( XMesaBuffer b );
|
||||
|
||||
/*
|
||||
* XMesaContext
|
||||
*/
|
||||
XMesaContext (*XMesaCreateContext)( XMesaVisual v,
|
||||
XMesaContext share_list );
|
||||
|
||||
void (*XMesaDestroyContext)( XMesaContext c );
|
||||
|
||||
GLboolean (*XMesaCopyContext)( XMesaContext src,
|
||||
XMesaContext dst,
|
||||
GLuint mask );
|
||||
|
||||
GLboolean (*XMesaMakeCurrent2)( XMesaContext c,
|
||||
XMesaBuffer drawBuffer,
|
||||
XMesaBuffer readBuffer );
|
||||
|
||||
GLboolean (*XMesaForceCurrent)( XMesaContext c );
|
||||
|
||||
GLboolean (*XMesaLoseCurrent)( XMesaContext c );
|
||||
|
||||
} __GLcoreModule;
|
||||
|
||||
#endif /* _NEED_GL_CORE_IF */
|
||||
|
||||
#endif /* __gl_core_h_ */
|
||||
|
Reference in New Issue
Block a user