diff options
Diffstat (limited to 'CNativeCode/wgltool.h')
-rwxr-xr-x | CNativeCode/wgltool.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/CNativeCode/wgltool.h b/CNativeCode/wgltool.h index cb64425..b44e366 100755 --- a/CNativeCode/wgltool.h +++ b/CNativeCode/wgltool.h @@ -13,13 +13,13 @@ #define _WGLTOOL_H - #include "gltool.h"
+ #include "gltool.h" - #include "glcaps.h"
+ #include "glcaps.h" - #include <windows.h>
+ #include <windows.h> #include <wingdi.h> -
+ #include "wgl-disp-var.h" /** @@ -28,43 +28,43 @@ */ LIBAPI void LIBAPIENTRY fetch_WGL_FUNCS (const char * libGLName, - const char * libGLUName, int force); - -
- LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities(
- PIXELFORMATDESCRIPTOR *pfd,
- GLCapabilities *glCaps,
- int offScreenRenderer,
- HDC hdc);
-
- // Set Pixel Format function - forward declaration
- LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
- int offScreenRenderer, int verbose);
-
- LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC);
-
- LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps,
- HGLRC shareWith, int offScreenRenderer,
- int width, int height, HBITMAP *pix,
- int verbose);
-
- LIBAPI int LIBAPIENTRY PixelFormatDescriptorFromDc( HDC Dc,
- PIXELFORMATDESCRIPTOR *Pfd );
-
- const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc);
-
- const char * LIBAPIENTRY GetTextualPixelFormatByPFD(
- PIXELFORMATDESCRIPTOR *ppfd, int format);
-
- LIBAPI void LIBAPIENTRY setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap,
- int width, int height);
-
- LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap,
- HBITMAP *hBitmap);
-
- LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC);
-
- LIBAPI int LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat,
- GLCapabilities *glCaps );
+ const char * libGLUName, int force, int reload); + + + LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities( + PIXELFORMATDESCRIPTOR *pfd, + GLCapabilities *glCaps, + int offScreenRenderer, + HDC hdc); + + // Set Pixel Format function - forward declaration + LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps, + int offScreenRenderer, int verbose); + + LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC); + + LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps, + HGLRC shareWith, int offScreenRenderer, + int width, int height, HBITMAP *pix, + int verbose); + + LIBAPI int LIBAPIENTRY PixelFormatDescriptorFromDc( HDC Dc, + PIXELFORMATDESCRIPTOR *Pfd ); + + const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc); + + const char * LIBAPIENTRY GetTextualPixelFormatByPFD( + PIXELFORMATDESCRIPTOR *ppfd, int format); + + LIBAPI void LIBAPIENTRY setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap, + int width, int height); + + LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap, + HBITMAP *hBitmap); + + LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC); + + LIBAPI int LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat, + GLCapabilities *glCaps ); #endif |