comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/opengl/win32/native.d @ 0:6dd524f61e62

add dwt win and basic java stuff
author Frank Benoit <benoit@tionex.de>
date Mon, 02 Mar 2009 14:44:16 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6dd524f61e62
1 module org.eclipse.swt.internal.opengl.win32.native;
2
3 private import org.eclipse.swt.internal.win32.WINTYPES;
4
5 extern (Windows):
6
7 int ChoosePixelFormat( HDC, PIXELFORMATDESCRIPTOR* );
8 int DescribePixelFormat( HDC, int, UINT, PIXELFORMATDESCRIPTOR* );
9 int GetPixelFormat( HDC );
10 BOOL SetPixelFormat( HDC, int, PIXELFORMATDESCRIPTOR* );
11 BOOL SwapBuffers( HDC );
12
13 BOOL wglCopyContext(HGLRC, HGLRC, UINT);
14 HGLRC wglCreateContext(HDC);
15 HGLRC wglCreateLayerContext(HDC, int);
16 BOOL wglDeleteContext(HGLRC);
17 BOOL wglDescribeLayerPlane(HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR);
18 HGLRC wglGetCurrentContext();
19 HDC wglGetCurrentDC();
20 int wglGetLayerPaletteEntries(HDC, int, int, int, COLORREF*);
21 FARPROC wglGetProcAddress(LPCSTR);
22 BOOL wglMakeCurrent(HDC, HGLRC);
23 BOOL wglRealizeLayerPalette(HDC, int, BOOL);
24 int wglSetLayerPaletteEntries(HDC, int, int, int, COLORREF*);
25 BOOL wglShareLists(HGLRC, HGLRC);
26 BOOL wglSwapLayerBuffers(HDC, UINT);