stw_wgl.c revision 0e471ac45771393ea74178eb98f41b904168cf64
1/**************************************************************************
2 *
3 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
4 * All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
13 *
14 * The above copyright notice and this permission notice (including the
15 * next paragraph) shall be included in all copies or substantial portions
16 * of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
22 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 *
26 **************************************************************************/
27
28#include <windows.h>
29
30#include "pipe/p_debug.h"
31
32WINGDIAPI BOOL APIENTRY
33wglUseFontBitmapsA(
34   HDC hdc,
35   DWORD first,
36   DWORD count,
37   DWORD listBase )
38{
39   (void) hdc;
40   (void) first;
41   (void) count;
42   (void) listBase;
43
44   assert( 0 );
45
46   return FALSE;
47}
48
49WINGDIAPI BOOL APIENTRY
50wglShareLists(
51   HGLRC hglrc1,
52   HGLRC hglrc2 )
53{
54   (void) hglrc1;
55   (void) hglrc2;
56
57   assert( 0 );
58
59   return FALSE;
60}
61
62WINGDIAPI BOOL APIENTRY
63wglUseFontBitmapsW(
64   HDC hdc,
65   DWORD first,
66   DWORD count,
67   DWORD listBase )
68{
69   (void) hdc;
70   (void) first;
71   (void) count;
72   (void) listBase;
73
74   assert( 0 );
75
76   return FALSE;
77}
78
79WINGDIAPI BOOL APIENTRY
80wglUseFontOutlinesA(
81   HDC hdc,
82   DWORD first,
83   DWORD count,
84   DWORD listBase,
85   FLOAT deviation,
86   FLOAT extrusion,
87   int format,
88   LPGLYPHMETRICSFLOAT lpgmf )
89{
90   (void) hdc;
91   (void) first;
92   (void) count;
93   (void) listBase;
94   (void) deviation;
95   (void) extrusion;
96   (void) format;
97   (void) lpgmf;
98
99   assert( 0 );
100
101   return FALSE;
102}
103
104WINGDIAPI BOOL APIENTRY
105wglUseFontOutlinesW(
106   HDC hdc,
107   DWORD first,
108   DWORD count,
109   DWORD listBase,
110   FLOAT deviation,
111   FLOAT extrusion,
112   int format,
113   LPGLYPHMETRICSFLOAT lpgmf )
114{
115   (void) hdc;
116   (void) first;
117   (void) count;
118   (void) listBase;
119   (void) deviation;
120   (void) extrusion;
121   (void) format;
122   (void) lpgmf;
123
124   assert( 0 );
125
126   return FALSE;
127}
128
129WINGDIAPI BOOL APIENTRY
130wglDescribeLayerPlane(
131   HDC hdc,
132   int iPixelFormat,
133   int iLayerPlane,
134   UINT nBytes,
135   LPLAYERPLANEDESCRIPTOR plpd )
136{
137   (void) hdc;
138   (void) iPixelFormat;
139   (void) iLayerPlane;
140   (void) nBytes;
141   (void) plpd;
142
143   assert( 0 );
144
145   return FALSE;
146}
147
148WINGDIAPI int APIENTRY
149wglSetLayerPaletteEntries(
150   HDC hdc,
151   int iLayerPlane,
152   int iStart,
153   int cEntries,
154   CONST COLORREF *pcr )
155{
156   (void) hdc;
157   (void) iLayerPlane;
158   (void) iStart;
159   (void) cEntries;
160   (void) pcr;
161
162   assert( 0 );
163
164   return 0;
165}
166
167WINGDIAPI int APIENTRY
168wglGetLayerPaletteEntries(
169   HDC hdc,
170   int iLayerPlane,
171   int iStart,
172   int cEntries,
173   COLORREF *pcr )
174{
175   (void) hdc;
176   (void) iLayerPlane;
177   (void) iStart;
178   (void) cEntries;
179   (void) pcr;
180
181   assert( 0 );
182
183   return 0;
184}
185
186WINGDIAPI BOOL APIENTRY
187wglRealizeLayerPalette(
188   HDC hdc,
189   int iLayerPlane,
190   BOOL bRealize )
191{
192   (void) hdc;
193   (void) iLayerPlane;
194   (void) bRealize;
195
196   assert( 0 );
197
198   return FALSE;
199}
200