~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/include/wine/wgl.h

Version: ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~ [ wine-1.0-rc5 ] ~ [ wine-1.0-rc4 ] ~ [ wine-1.0-rc3 ] ~ [ wine-1.0-rc2 ] ~ [ wine-1.0-rc1 ] ~ [ wine-0.9.61 ] ~ [ wine-0.9.60 ] ~ [ wine-0.9.59 ] ~ [ wine-0.9.58 ] ~ [ wine-0.9.57 ] ~ [ wine-0.9.56 ] ~ [ wine-0.9.55 ] ~ [ wine-0.9.54 ] ~ [ wine-0.9.53 ] ~ [ wine-0.9.52 ] ~ [ wine-0.9.51 ] ~ [ wine-0.9.50 ] ~ [ wine-0.9.49 ] ~ [ wine-0.9.48 ] ~ [ wine-0.9.47 ] ~ [ wine-0.9.46 ] ~ [ wine-0.9.45 ] ~ [ wine-0.9.44 ] ~ [ wine-0.9.43 ] ~ [ wine-0.9.42 ] ~ [ wine-0.9.41 ] ~ [ wine-0.9.40 ] ~ [ wine-0.9.39 ] ~ [ wine-0.9.38 ] ~ [ wine-0.9.37 ] ~ [ wine-0.9.36 ] ~ [ wine-0.9.35 ] ~ [ wine-0.9.34 ] ~ [ wine-0.9.33 ] ~ [ wine-0.9.32 ] ~ [ wine-0.9.31 ] ~ [ wine-0.9.30 ] ~ [ wine-0.9.29 ] ~ [ wine-0.9.28 ] ~ [ wine-0.9.27 ] ~ [ wine-0.9.26 ] ~ [ wine-0.9.25 ] ~ [ wine-0.9.24 ] ~ [ wine-0.9.23 ] ~ [ wine-0.9.22 ] ~ [ wine-0.9.21 ] ~ [ wine-0.9.20 ] ~ [ wine-0.9.19 ] ~ [ wine-0.9.18 ] ~ [ wine-0.9.17 ] ~ [ wine-0.9.16 ] ~ [ wine-0.9.15 ] ~ [ wine-0.9.14 ] ~ [ wine-0.9.13 ] ~ [ wine-0.9.12 ] ~ [ wine-0.9.11 ] ~ [ wine-0.9.10 ] ~ [ wine-0.9.9 ] ~ [ wine-0.9.8 ] ~ [ wine-0.9.7 ] ~ [ wine-0.9.6 ] ~ [ wine-0.9.5 ] ~ [ wine-0.9.4 ] ~ [ wine-0.9.3 ] ~ [ wine-0.9.2 ] ~ [ wine-0.9.1 ] ~ [ wine-0.9 ] ~ [ wine20050930 ] ~ [ wine20050830 ] ~ [ wine20050725 ] ~ [ wine20050628 ] ~ [ wine20050524 ] ~ [ wine20050419 ] ~ [ wine20050310 ] ~ [ wine20050211 ] ~ [ wine20050111 ] ~ [ wine20041201 ] ~ [ wine20041019 ] ~ [ wine20040914 ] ~ [ wine20040813 ] ~ [ wine20040716 ] ~ [ wine20040615 ] ~ [ wine20040505 ] ~ [ wine20040408 ] ~ [ wine20040309 ] ~ [ wine20040213 ] ~ [ wine20040121 ] ~ [ wine20031212 ] ~ [ wine20031118 ] ~ [ wine20031016 ] ~ [ wine20030911 ] ~ [ wine20030813 ] ~ [ wine20030709 ] ~ [ wine20030618 ] ~ [ wine20030508 ] ~ [ wine20030408 ] ~ [ wine20030318 ] ~ [ wine20030219 ] ~ [ wine20030115 ] ~ [ wine20021219 ] ~ [ wine20021125 ] ~ [ wine20021031 ] ~ [ wine20021007 ] ~ [ wine20020904 ] ~ [ wine20020804 ] ~ [ wine20020710 ] ~ [ wine20020605 ] ~ [ wine20020509 ] ~ [ wine20020411 ] ~ [ wine20020310 ] ~ [ wine20020228 ] ~ [ wine20011226 ] ~ [ wine20011108 ] ~ [ wine20011004 ] ~ [ wine20010824 ] ~ [ wine20010731 ] ~ [ wine20010629 ] ~ [ wine20010510 ] ~ [ wine20010418 ] ~ [ wine20010326 ] ~ [ wine20010305 ] ~ [ wine20010216 ] ~ [ wine20010112 ] ~ [ wine20001222 ] ~ [ wine20001202 ] ~ [ wine20001026 ] ~ [ wine20001002 ] ~ [ wine20000909 ] ~ [ wine20000821 ] ~ [ wine20000801 ] ~ [ wine20000716 ] ~ [ wine20000326 ] ~ [ wine20000227 ] ~ [ wine20000130 ] ~ [ wine20000109 ] ~

  1 /*
  2  * Wine WGL extension + ATI GLX extension defines
  3  *
  4  * Copyright (c) 2004 Lionel Ulmer
  5  * Copyright (c) 2005 Alex Woods
  6  * Copyright (c) 2005 Raphael Junqueira
  7  *
  8  * This library is free software; you can redistribute it and/or
  9  * modify it under the terms of the GNU Lesser General Public
 10  * License as published by the Free Software Foundation; either
 11  * version 2.1 of the License, or (at your option) any later version.
 12  *
 13  * This library is distributed in the hope that it will be useful,
 14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 16  * Lesser General Public License for more details.
 17  *
 18  * You should have received a copy of the GNU Lesser General Public
 19  * License along with this library; if not, write to the Free Software
 20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 21  */
 22 
 23 /* For compatibility with old Mesa headers */
 24 #ifndef GLX_SAMPLE_BUFFERS_ARB
 25 # define GLX_SAMPLE_BUFFERS_ARB             100000
 26 #endif
 27 #ifndef GLX_SAMPLES_ARB
 28 # define GLX_SAMPLES_ARB                    100001
 29 #endif
 30 #ifndef GL_TEXTURE_CUBE_MAP
 31 # define GL_TEXTURE_CUBE_MAP 0x8513
 32 #endif
 33 
 34 #define HPBUFFERARB void *
 35 
 36 #define WGL_NUMBER_PIXEL_FORMATS_ARB            0x2000
 37 #define WGL_DRAW_TO_WINDOW_ARB                  0x2001
 38 #define WGL_DRAW_TO_BITMAP_ARB                  0x2002
 39 #define WGL_ACCELERATION_ARB                    0x2003
 40 #define WGL_NEED_PALETTE_ARB                    0x2004
 41 #define WGL_NEED_SYSTEM_PALETTE_ARB             0x2005
 42 #define WGL_SWAP_LAYER_BUFFERS_ARB              0x2006
 43 #define WGL_SWAP_METHOD_ARB                     0x2007
 44 #define WGL_NUMBER_OVERLAYS_ARB                 0x2008
 45 #define WGL_NUMBER_UNDERLAYS_ARB                0x2009
 46 #define WGL_TRANSPARENT_ARB                     0x200A
 47 #define WGL_TRANSPARENT_RED_VALUE_ARB           0x2037
 48 #define WGL_TRANSPARENT_GREEN_VALUE_ARB         0x2038
 49 #define WGL_TRANSPARENT_BLUE_VALUE_ARB          0x2039
 50 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB         0x203A
 51 #define WGL_TRANSPARENT_INDEX_VALUE_ARB         0x203B
 52 #define WGL_SHARE_DEPTH_ARB                     0x200C
 53 #define WGL_SHARE_STENCIL_ARB                   0x200D
 54 #define WGL_SHARE_ACCUM_ARB                     0x200E
 55 #define WGL_SUPPORT_GDI_ARB                     0x200F
 56 #define WGL_SUPPORT_OPENGL_ARB                  0x2010
 57 #define WGL_DOUBLE_BUFFER_ARB                   0x2011
 58 #define WGL_STEREO_ARB                          0x2012
 59 #define WGL_PIXEL_TYPE_ARB                      0x2013
 60 #define WGL_COLOR_BITS_ARB                      0x2014
 61 #define WGL_RED_BITS_ARB                        0x2015
 62 #define WGL_RED_SHIFT_ARB                       0x2016
 63 #define WGL_GREEN_BITS_ARB                      0x2017
 64 #define WGL_GREEN_SHIFT_ARB                     0x2018
 65 #define WGL_BLUE_BITS_ARB                       0x2019
 66 #define WGL_BLUE_SHIFT_ARB                      0x201A
 67 #define WGL_ALPHA_BITS_ARB                      0x201B
 68 #define WGL_ALPHA_SHIFT_ARB                     0x201C
 69 #define WGL_ACCUM_BITS_ARB                      0x201D
 70 #define WGL_ACCUM_RED_BITS_ARB                  0x201E
 71 #define WGL_ACCUM_GREEN_BITS_ARB                0x201F
 72 #define WGL_ACCUM_BLUE_BITS_ARB                 0x2020
 73 #define WGL_ACCUM_ALPHA_BITS_ARB                0x2021
 74 #define WGL_DEPTH_BITS_ARB                      0x2022
 75 #define WGL_STENCIL_BITS_ARB                    0x2023
 76 #define WGL_AUX_BUFFERS_ARB                     0x2024
 77 
 78 #define WGL_NO_ACCELERATION_ARB                 0x2025
 79 #define WGL_GENERIC_ACCELERATION_ARB            0x2026
 80 #define WGL_FULL_ACCELERATION_ARB               0x2027
 81 
 82 #define WGL_PBUFFER_WIDTH_ARB                   0x2034
 83 #define WGL_PBUFFER_HEIGHT_ARB                  0x2035
 84 #define WGL_PBUFFER_LOST_ARB                    0x2036
 85 #define WGL_DRAW_TO_PBUFFER_ARB                 0x202D
 86 #define WGL_MAX_PBUFFER_PIXELS_ARB              0x202E
 87 #define WGL_MAX_PBUFFER_WIDTH_ARB               0x202F
 88 #define WGL_MAX_PBUFFER_HEIGHT_ARB              0x2030
 89 #define WGL_PBUFFER_LARGEST_ARB                 0x2033
 90 
 91 #define WGL_TYPE_RGBA_ARB                       0x202B
 92 #define WGL_TYPE_COLORINDEX_ARB                 0x202C
 93 
 94 #define WGL_SAMPLE_BUFFERS_ARB                  0x2041
 95 #define WGL_SAMPLES_ARB                         0x2042
 96 
 97 /**
 98  * WGL_render_texture 
 99  */
100 /** GetPixelFormat/ChoosePixelFormat */
101 #define WGL_BIND_TO_TEXTURE_RGB_ARB             0x2070
102 #define WGL_BIND_TO_TEXTURE_RGBA_ARB            0x2071
103 /** CreatePbuffer / QueryPbuffer */
104 #define WGL_TEXTURE_FORMAT_ARB                  0x2072
105 #define WGL_TEXTURE_TARGET_ARB                  0x2073
106 #define WGL_MIPMAP_TEXTURE_ARB                  0x2074
107 /** CreatePbuffer / QueryPbuffer */
108 #define WGL_TEXTURE_RGB_ARB                     0x2075
109 #define WGL_TEXTURE_RGBA_ARB                    0x2076
110 #define WGL_NO_TEXTURE_ARB                      0x2077
111 /** CreatePbuffer / QueryPbuffer */
112 #define WGL_TEXTURE_CUBE_MAP_ARB                0x2078
113 #define WGL_TEXTURE_1D_ARB                      0x2079
114 #define WGL_TEXTURE_2D_ARB                      0x207A
115 #define WGL_NO_TEXTURE_ARB                      0x2077
116 /** SetPbufferAttribARB/QueryPbufferARB parameters */
117 #define WGL_MIPMAP_LEVEL_ARB                    0x207B
118 #define WGL_CUBE_MAP_FACE_ARB                   0x207C
119 /** SetPbufferAttribARB/QueryPbufferARB attribs */
120 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB     0x207D
121 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB     0x207E
122 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB     0x207F
123 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB     0x2080
124 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB     0x2081 
125 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB     0x2082
126 /** BindTexImageARB/ReleaseTexImageARB */
127 #define WGL_FRONT_LEFT_ARB                  0x2083
128 #define WGL_FRONT_RIGHT_ARB                 0x2084
129 #define WGL_BACK_LEFT_ARB                   0x2085
130 #define WGL_BACK_RIGHT_ARB                  0x2086
131 #define WGL_AUX0_ARB                        0x2087 
132 #define WGL_AUX1_ARB                        0x2088 
133 #define WGL_AUX2_ARB                        0x2089 
134 #define WGL_AUX3_ARB                        0x208A 
135 #define WGL_AUX4_ARB                        0x208B 
136 #define WGL_AUX5_ARB                        0x208C 
137 #define WGL_AUX6_ARB                        0x208D
138 #define WGL_AUX7_ARB                        0x208E 
139 #define WGL_AUX8_ARB                        0x208F 
140 #define WGL_AUX9_ARB                        0x2090
141 
142 /** WGL_NV_render_texture_rectangle */
143 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
144 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
145 #define WGL_TEXTURE_RECTANGLE_NV       0x20A2
146 /** WGL_NV_render_depth_texture */
147 #define WGL_BIND_TO_TEXTURE_DEPTH_NV   0x20A3
148 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
149 #define WGL_DEPTH_TEXTURE_FORMAT_NV    0x20A5
150 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
151 #define WGL_DEPTH_COMPONENT_NV         0x20A7
152 /** WGL_NV_float_buffer */
153 #define WGL_FLOAT_COMPONENTS_NV        0x20B0
154 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
155 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
156 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
157 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
158 #define WGL_TEXTURE_FLOAT_R_NV         0x20B5
159 #define WGL_TEXTURE_FLOAT_RG_NV        0x20B6
160 #define WGL_TEXTURE_FLOAT_RGB_NV       0x20B7
161 #define WGL_TEXTURE_FLOAT_RGBA_NV      0x20B8
162 /** GL_NV_float_buffer */
163 #define GL_FLOAT_R_NV                     0x8880
164 #define GL_FLOAT_RG_NV                    0x8881
165 #define GL_FLOAT_RGB_NV                   0x8882
166 #define GL_FLOAT_RGBA_NV                  0x8883
167 #define GL_FLOAT_R16_NV                   0x8884
168 #define GL_FLOAT_R32_NV                   0x8885
169 #define GL_FLOAT_RG16_NV                  0x8886
170 #define GL_FLOAT_RG32_NV                  0x8887
171 #define GL_FLOAT_RGB16_NV                 0x8888
172 #define GL_FLOAT_RGB32_NV                 0x8889
173 #define GL_FLOAT_RGBA16_NV                0x888A
174 #define GL_FLOAT_RGBA32_NV                0x888B
175 #define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
176 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
177 #define GL_FLOAT_RGBA_MODE_NV             0x888E
178 
179 /** WGL_EXT_framebuffer_sRGB */
180 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT  0x20A9
181 #ifndef GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT
182 # define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
183 #endif
184 
185 /** 
186  * WGL_ATI_pixel_format_float / WGL_ARB_color_buffer_float
187  */
188 #define WGL_TYPE_RGBA_FLOAT_ATI             0x21A0
189 #define GL_RGBA_FLOAT_MODE_ATI              0x8820
190 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI  0x8835
191 #define GL_CLAMP_VERTEX_COLOR_ARB           0x891A
192 #define GL_CLAMP_FRAGMENT_COLOR_ARB         0x891B
193 #define GL_CLAMP_READ_COLOR_ARB             0x891C
194 /** GLX_ATI_pixel_format_float */
195 #define GLX_RGBA_FLOAT_ATI_BIT              0x00000100
196 /** GLX_ARB_pixel_format_float */
197 #define GLX_RGBA_FLOAT_BIT                  0x00000004
198 #define GLX_RGBA_FLOAT_TYPE                 0x20B9 
199 /** GLX_ATI_render_texture */
200 #define GLX_BIND_TO_TEXTURE_RGB_ATI         0x9800
201 #define GLX_BIND_TO_TEXTURE_RGBA_ATI        0x9801
202 #define GLX_TEXTURE_FORMAT_ATI              0x9802
203 #define GLX_TEXTURE_TARGET_ATI              0x9803
204 #define GLX_MIPMAP_TEXTURE_ATI              0x9804
205 #define GLX_TEXTURE_RGB_ATI                 0x9805
206 #define GLX_TEXTURE_RGBA_ATI                0x9806
207 #define GLX_NO_TEXTURE_ATI                  0x9807
208 #define GLX_TEXTURE_CUBE_MAP_ATI            0x9808
209 #define GLX_TEXTURE_1D_ATI                  0x9809
210 #define GLX_TEXTURE_2D_ATI                  0x980A
211 #define GLX_MIPMAP_LEVEL_ATI                0x980B
212 #define GLX_CUBE_MAP_FACE_ATI               0x980C
213 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
214 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
215 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
216 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
217 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
218 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
219 #define GLX_FRONT_LEFT_ATI                  0x9813
220 #define GLX_FRONT_RIGHT_ATI                 0x9814
221 #define GLX_BACK_LEFT_ATI                   0x9815
222 #define GLX_BACK_RIGHT_ATI                  0x9816
223 #define GLX_AUX0_ATI                        0x9817
224 #define GLX_AUX1_ATI                        0x9818
225 #define GLX_AUX2_ATI                        0x9819
226 #define GLX_AUX3_ATI                        0x981A
227 #define GLX_AUX4_ATI                        0x981B
228 #define GLX_AUX5_ATI                        0x981C
229 #define GLX_AUX6_ATI                        0x981D
230 #define GLX_AUX7_ATI                        0x981E
231 #define GLX_AUX8_ATI                        0x981F
232 #define GLX_AUX9_ATI                        0x9820
233 #define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI   0x9821
234 #define GLX_BIND_TO_TEXTURE_INTENSITY_ATI   0x9822
235 /** GLX_NV_float_buffer */
236 #define GLX_FLOAT_COMPONENTS_NV            0x20B0
237 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.