Added some tests for timer functions.
[wine] / dlls / opengl32 / wgl.h
1 /* Window-specific OpenGL functions implementation.
2  *
3  * Copyright (c) 2000 Lionel Ulmer
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #ifndef __DLLS_OPENGL32_WGL_H
21 #define __DLLS_OPENGL32_WGL_H
22
23 #include "wingdi.h"
24
25 HGLRC WINAPI wglCreateContext(HDC hdc) ;
26 HGLRC WINAPI wglCreateLayerContext(HDC hdc,
27                                    int iLayerPlane) ;
28 BOOL WINAPI wglCopyContext(HGLRC hglrcSrc,
29                            HGLRC hglrcDst,
30                            UINT mask) ;
31 BOOL WINAPI wglDeleteContext(HGLRC hglrc) ;
32 BOOL WINAPI wglDescribeLayerPlane(HDC hdc,
33                                   int iPixelFormat,
34                                   int iLayerPlane,
35                                   UINT nBytes,
36                                   LPLAYERPLANEDESCRIPTOR plpd) ;
37 HGLRC WINAPI wglGetCurrentContext(void) ;
38 HDC WINAPI wglGetCurrentDC(void) ;
39 int WINAPI wglGetLayerPaletteEntries(HDC hdc,
40                                      int iLayerPlane,
41                                      int iStart,
42                                      int cEntries,
43                                      const COLORREF *pcr) ;
44 void * WINAPI wglGetProcAddress(LPCSTR  lpszProc) ;
45 BOOL WINAPI wglMakeCurrent(HDC hdc,
46                            HGLRC hglrc) ;
47 BOOL WINAPI wglRealizeLayerPalette(HDC hdc,
48                                    int iLayerPlane,
49                                    BOOL bRealize) ;
50 int WINAPI wglSetLayerPaletteEntries(HDC hdc,
51                                      int iLayerPlane,
52                                      int iStart,
53                                      int cEntries,
54                                      const COLORREF *pcr) ;
55 BOOL WINAPI wglShareLists(HGLRC hglrc1,
56                           HGLRC hglrc2) ;
57 BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
58                                 UINT fuPlanes);
59 BOOL WINAPI wglUseFontBitmaps(HDC hdc,
60                               DWORD first,
61                               DWORD count,
62                               DWORD listBase) ;
63 BOOL WINAPI wglUseFontOutlines(HDC hdc,
64                                DWORD first,
65                                DWORD count,
66                                DWORD listBase,
67                                FLOAT deviation,
68                                FLOAT extrusion,
69                                int format,
70                                LPGLYPHMETRICSFLOAT lpgmf) ;
71 const char * WINAPI wglGetExtensionsStringARB(HDC hdc) ;
72
73 #endif /* __DLLS_OPENGL32_WGL_H */