#ifndef FXMESA_H
#define FXMESA_H
#include <glide.h>
#ifdef __cplusplus
extern "C" {
#endif
#define FXMESA_MAJOR_VERSION 6
#define FXMESA_MINOR_VERSION 3
#define FXMESA_NONE 0
#define FXMESA_DOUBLEBUFFER 10
#define FXMESA_ALPHA_SIZE 11
#define FXMESA_DEPTH_SIZE 12
#define FXMESA_STENCIL_SIZE 13
#define FXMESA_ACCUM_SIZE 14
#define FXMESA_COLORDEPTH 20
#define FXMESA_SHARE_CONTEXT 990099
typedef struct tfxMesaContext *fxMesaContext;
#if defined (__BEOS__)
#pragma export on
#endif
GLAPI fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win, GrScreenResolution_t,
GrScreenRefresh_t,
const GLint attribList[]);
GLAPI fxMesaContext GLAPIENTRY fxMesaCreateBestContext(GLuint win,
GLint width, GLint height,
const GLint attribList[]);
GLAPI void GLAPIENTRY fxMesaDestroyContext(fxMesaContext ctx);
GLAPI GLint GLAPIENTRY fxMesaSelectCurrentBoard(int n);
GLAPI void GLAPIENTRY fxMesaMakeCurrent(fxMesaContext ctx);
GLAPI fxMesaContext GLAPIENTRY fxMesaGetCurrentContext(void);
GLAPI void GLAPIENTRY fxMesaSwapBuffers(void);
GLAPI void GLAPIENTRY fxMesaSetNearFar(GLfloat nearVal, GLfloat farVal);
GLAPI void GLAPIENTRY fxMesaUpdateScreenSize(fxMesaContext ctx);
GLAPI void GLAPIENTRY fxCloseHardware(void);
GLAPI void GLAPIENTRY fxGetScreenGeometry (GLint *w, GLint *h);
#if defined (__BEOS__)
#pragma export off
#endif
#ifdef __cplusplus
}
#endif
#endif