Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

343 lines
14 KiB

  1. /* Note: SGI includes definitions for supported extensions in gl.h. */
  2. /* This file is for documentation purposes only */
  3. #define GL_EXT_abgr 1
  4. #define GL_EXT_blend_color 1
  5. #define GL_EXT_blend_logic_op 1
  6. #define GL_EXT_blend_minmax 1
  7. #define GL_EXT_blend_subtract 1
  8. #define GL_EXT_convolution 1
  9. #define GL_EXT_copy_texture 1
  10. #define GL_EXT_histogram 1
  11. #define GL_EXT_polygon_offset 1
  12. #define GL_EXT_subtexture 1
  13. #define GL_EXT_texture 1
  14. #define GL_EXT_texture_object 1
  15. #define GL_EXT_texture3D 1
  16. #define GL_EXT_vertex_array 1
  17. #define GL_EXT_cmyka 1
  18. #define GL_EXT_packed_pixels 1
  19. #define GL_EXT_rescale_normal 1
  20. #define GL_EXT_visual_info 1
  21. #define GL_SGI_color_matrix 1
  22. #define GL_SGI_texture_color_table 1
  23. #define GL_SGI_color_table 1
  24. #define GL_SGIS_multisample 1
  25. #define GL_SGIS_sharpen_texture 1
  26. /* No enums assigned yet */
  27. #define GL_SGIS_texture_filter4 1
  28. #define GL_SGIS_texture4D 1
  29. #define GL_SGIX_pixel_texture 1
  30. /* Not covered; specs are available though */
  31. #define GL_SGIS_texture_lod 1
  32. #define GL_SGIS_generate_mipmap 1
  33. #define GL_SGIS_shadow 1
  34. #define GL_SGIS_texture_edge_clamp 1
  35. #define GL_SGIS_texture_border_clamp 1
  36. /*************************************************************/
  37. #define GL_DOUBLE_EXT 0x140A
  38. /* EXT_abgr */
  39. #define GL_ABGR_EXT 0x8000
  40. /* EXT_blend_color */
  41. #define GL_CONSTANT_COLOR_EXT 0x8001
  42. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  43. #define GL_CONSTANT_ALPHA_EXT 0x8003
  44. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  45. #define GL_BLEND_COLOR_EXT 0x8005
  46. /* EXT_blend_minmax */
  47. #define GL_FUNC_ADD_EXT 0x8006
  48. #define GL_MIN_EXT 0x8007
  49. #define GL_MAX_EXT 0x8008
  50. #define GL_BLEND_EQUATION_EXT 0x8009
  51. /* EXT_blend_subtract */
  52. #define GL_FUNC_SUBTRACT_EXT 0x800A
  53. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  54. /* EXT_convolution */
  55. #define GL_CONVOLUTION_1D_EXT 0x8010
  56. #define GL_CONVOLUTION_2D_EXT 0x8011
  57. #define GL_SEPARABLE_2D_EXT 0x8012
  58. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  59. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  60. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  61. #define GL_REDUCE_EXT 0x8016
  62. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  63. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  64. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  65. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  66. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  67. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  68. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  69. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  70. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  71. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  72. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  73. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  74. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  75. /* EXT_histogram */
  76. #define GL_HISTOGRAM_EXT 0x8024
  77. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  78. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  79. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  80. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  81. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  82. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  83. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  84. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  85. #define GL_HISTOGRAM_SINK_EXT 0x802D
  86. #define GL_MINMAX_EXT 0x802E
  87. #define GL_MINMAX_FORMAT_EXT 0x802F
  88. #define GL_MINMAX_SINK_EXT 0x8030
  89. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  90. /* EXT_polygon_offset */
  91. #define GL_POLYGON_OFFSET_EXT 0x8037
  92. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  93. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  94. /* EXT_texture */
  95. #define GL_ALPHA4_EXT 0x803B
  96. #define GL_ALPHA8_EXT 0x803C
  97. #define GL_ALPHA12_EXT 0x803D
  98. #define GL_ALPHA16_EXT 0x803E
  99. #define GL_LUMINANCE4_EXT 0x803F
  100. #define GL_LUMINANCE8_EXT 0x8040
  101. #define GL_LUMINANCE12_EXT 0x8041
  102. #define GL_LUMINANCE16_EXT 0x8042
  103. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  104. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  105. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  106. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  107. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  108. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  109. #define GL_INTENSITY_EXT 0x8049
  110. #define GL_INTENSITY4_EXT 0x804A
  111. #define GL_INTENSITY8_EXT 0x804B
  112. #define GL_INTENSITY12_EXT 0x804C
  113. #define GL_INTENSITY16_EXT 0x804D
  114. #define GL_RGB2_EXT 0x804E
  115. #define GL_RGB4_EXT 0x804F
  116. #define GL_RGB5_EXT 0x8050
  117. #define GL_RGB8_EXT 0x8051
  118. #define GL_RGB10_EXT 0x8052
  119. #define GL_RGB12_EXT 0x8053
  120. #define GL_RGB16_EXT 0x8054
  121. #define GL_RGBA2_EXT 0x8055
  122. #define GL_RGBA4_EXT 0x8056
  123. #define GL_RGB5_A1_EXT 0x8057
  124. #define GL_RGBA8_EXT 0x8058
  125. #define GL_RGB10_A2_EXT 0x8059
  126. #define GL_RGBA12_EXT 0x805A
  127. #define GL_RGBA16_EXT 0x805B
  128. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  129. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  130. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  131. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  132. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  133. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  134. #define GL_REPLACE_EXT 0x8062
  135. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  136. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  137. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  138. /* EXT_texture_object */
  139. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  140. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  141. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  142. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  143. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  144. /* EXT_texture3D */
  145. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  146. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  147. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  148. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  149. #define GL_TEXTURE_3D_EXT 0x806F
  150. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  151. #define GL_TEXTURE_DEPTH_EXT 0x8071
  152. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  153. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  154. /* EXT_vertex_array */
  155. #define GL_VERTEX_ARRAY_EXT 0x8074
  156. #define GL_NORMAL_ARRAY_EXT 0x8075
  157. #define GL_COLOR_ARRAY_EXT 0x8076
  158. #define GL_INDEX_ARRAY_EXT 0x8077
  159. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  160. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  161. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  162. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  163. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  164. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  165. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  166. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  167. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  168. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  169. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  170. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  171. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  172. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  173. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  174. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  175. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  176. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  177. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  178. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  179. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  180. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  181. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  182. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  183. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  184. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  185. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  186. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  187. /* SGIS_multisample */
  188. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  189. #define GL_MULTISAMPLE_SGIS 0x809D
  190. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  191. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  192. #define GL_SAMPLE_MASK_SGIS 0x80A0
  193. #define GL_1PASS_SGIS 0x80A1
  194. #define GL_2PASS_0_SGIS 0x80A2
  195. #define GL_2PASS_1_SGIS 0x80A3
  196. #define GL_4PASS_0_SGIS 0x80A4
  197. #define GL_4PASS_1_SGIS 0x80A5
  198. #define GL_4PASS_2_SGIS 0x80A6
  199. #define GL_4PASS_3_SGIS 0x80A7
  200. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  201. #define GL_SAMPLES_SGIS 0x80A9
  202. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  203. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  204. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  205. /* SGIS_sharpen_texture */
  206. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  207. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  208. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  209. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  210. /* SGI_color_matrix */
  211. #define GL_COLOR_MATRIX_SGI 0x80B1
  212. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  213. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  214. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  215. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  216. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  217. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  218. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  219. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  220. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  221. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  222. /* SGI_texture_color_table */
  223. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  224. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  225. #define GL_TEXTURE_COLOR_TABLE_BIAS_SGI 0x80BE
  226. #define GL_TEXTURE_COLOR_TABLE_SCALE_SGI 0x80BF
  227. /* SGI_color_table */
  228. #define GL_COLOR_TABLE_SGI 0x80D0
  229. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  230. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  231. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  232. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  233. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  234. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  235. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  236. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  237. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  238. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  239. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  240. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  241. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  242. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  243. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  244. /*************************************************************/
  245. /* EXT_cmyka */
  246. #define GL_CMYK_EXT 0x800C
  247. #define GL_CMYKA_EXT 0x800D
  248. #define GL_PACK_CMYK_HINT_EXT 0x800E
  249. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  250. /* EXT_packed_pixels */
  251. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  252. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  253. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  254. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  255. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  256. /* EXT_rescale_normal */
  257. #define GL_RESCALE_NORMAL_EXT 0x803A
  258. /*************************************************************/
  259. /* SGI_color_matrix */
  260. #define GL_COLOR_MATRIX_SGI 0
  261. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0
  262. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0
  263. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0
  264. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0
  265. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0
  266. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0
  267. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0
  268. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0
  269. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0
  270. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0
  271. /* SGI_color_table */
  272. #define GL_COLOR_TABLE_SGI 0
  273. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0
  274. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0
  275. #define GL_PROXY_COLOR_TABLE_SGI 0
  276. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0
  277. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0
  278. #define GL_COLOR_TABLE_SCALE_SGI 0
  279. #define GL_COLOR_TABLE_BIAS_SGI 0
  280. #define GL_COLOR_TABLE_FORMAT_SGI 0
  281. #define GL_COLOR_TABLE_WIDTH_SGI 0
  282. #define GL_COLOR_TABLE_RED_SIZE_SGI 0
  283. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0
  284. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0
  285. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0
  286. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0
  287. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0
  288. /* SGI_texture_color_table */
  289. #define GL_POST_TEXTURE_FILTER_COLOR_TABLE_SGI 0
  290. #define GL_PROXY_POST_TEXTURE_FILTER_COLOR_TABLE_SGI 0
  291. /* SGIS_texture_filter4 */
  292. #define GL_FILTER4_SGIS 0
  293. #define GL_TEXTURE_FILTER4_PARAMETERS_SGIS 0
  294. /* SGIS_texture4D */
  295. #define GL_PACK_SKIP_VOLUMES_SGIS 0
  296. #define GL_PACK_IMAGE_DEPTH_SGIS 0
  297. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0
  298. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0
  299. #define GL_TEXTURE_4D_SGIS 0
  300. #define GL_PROXY_TEXTURE_4D_SGIS 0
  301. #define GL_TEXTURE_4DSIZE_SGIS 0
  302. #define GL_TEXTURE_WRAP_Q_SGIS 0
  303. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0
  304. /* SGIX_pixel_texture */
  305. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0
  306. /*************************************************************/