Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* prototypes for the Mesa WGL functions */
  2. /* relocated here so that I could make GLUT get them properly */
  3. #ifndef GL_H
  4. # include <gl/gl.h>
  5. #endif
  6. #ifdef _MSC_VER
  7. # pragma warning( push )
  8. # pragma warning( disable : 4273 ) /* 'function' : inconsistent DLL linkage. dllexport assumed. */
  9. #endif
  10. WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC);
  11. WGLAPI int GLAPIENTRY wglMakeCurrent(HDC,HGLRC);
  12. WGLAPI int GLAPIENTRY wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR *);
  13. WGLAPI int GLAPIENTRY wglSwapBuffers(HDC hdc);
  14. WGLAPI HDC GLAPIENTRY wglGetCurrentDC(void);
  15. WGLAPI HGLRC GLAPIENTRY wglCreateContext(HDC);
  16. WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC,int);
  17. WGLAPI HGLRC GLAPIENTRY wglGetCurrentContext(void);
  18. WGLAPI PROC GLAPIENTRY wglGetProcAddress(const char*);
  19. WGLAPI int GLAPIENTRY wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR *);
  20. WGLAPI int GLAPIENTRY wglCopyContext(HGLRC, HGLRC, unsigned int);
  21. WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC);
  22. WGLAPI int GLAPIENTRY wglDescribeLayerPlane(HDC, int, int, unsigned int,LPLAYERPLANEDESCRIPTOR);
  23. WGLAPI int GLAPIENTRY wglDescribePixelFormat(HDC,int, unsigned int, LPPIXELFORMATDESCRIPTOR);
  24. WGLAPI int GLAPIENTRY wglGetLayerPaletteEntries(HDC, int, int, int,COLORREF *);
  25. WGLAPI int GLAPIENTRY wglGetPixelFormat(HDC hdc);
  26. WGLAPI int GLAPIENTRY wglMakeCurrent(HDC, HGLRC);
  27. WGLAPI int GLAPIENTRY wglRealizeLayerPalette(HDC, int, int);
  28. WGLAPI int GLAPIENTRY wglSetLayerPaletteEntries(HDC, int, int, int,const COLORREF *);
  29. WGLAPI int GLAPIENTRY wglShareLists(HGLRC, HGLRC);
  30. WGLAPI int GLAPIENTRY wglSwapLayerBuffers(HDC, unsigned int);
  31. WGLAPI int GLAPIENTRY wglUseFontBitmapsA(HDC, unsigned long, unsigned long, unsigned long);
  32. WGLAPI int GLAPIENTRY wglUseFontBitmapsW(HDC, unsigned long, unsigned long, unsigned long);
  33. WGLAPI int GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);
  34. WGLAPI int GLAPIENTRY wglUseFontOutlinesW(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);
  35. WGLAPI int GLAPIENTRY SwapBuffers(HDC);
  36. WGLAPI int GLAPIENTRY ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR *);
  37. WGLAPI int GLAPIENTRY DescribePixelFormat(HDC,int,unsigned int,PIXELFORMATDESCRIPTOR *);
  38. WGLAPI int GLAPIENTRY GetPixelFormat(HDC);
  39. WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *);
  40. #ifdef _MSC_VER
  41. # pragma warning( pop )
  42. #endif