VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/cr_extstring.h@ 18847

Last change on this file since 18847 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 5.6 KB
Line 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved.
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#ifndef CR_EXTSTRING_H
8#define CR_EXTSTRING_H
9
10#include "cr_version.h"
11
12/*
13 * This string is the list of OpenGL extensions which Chromium can understand
14 * (in the packer, unpacker, state-tracker, etc).
15 * In practice, this string will get intersected with what's reported by the
16 * rendering SPUs to reflect what we can really offer to client apps.
17 *
18 * Yes, we want static declarations here to avoid linking problems.
19 */
20static const char *crExtensions =
21#ifdef CR_ARB_depth_texture
22 "GL_ARB_depth_texture "
23#endif
24#ifdef CR_ARB_fragment_program
25 "GL_ARB_fragment_program "
26#endif
27#ifdef CR_ARB_imaging
28 "GL_ARB_imaging "
29#endif
30#ifdef CR_ARB_multisample
31 "GL_ARB_multisample "
32#endif
33#ifdef CR_ARB_multitexture
34 "GL_ARB_multitexture "
35#endif
36#ifdef CR_ARB_occlusion_query
37 "GL_ARB_occlusion_query "
38#endif
39#ifdef CR_ARB_point_parameters
40 "GL_ARB_point_parameters "
41#endif
42#ifdef CR_ARB_point_sprite
43 "GL_ARB_point_sprite "
44#endif
45#ifdef CR_ARB_shadow
46 "GL_ARB_shadow "
47#endif
48#ifdef CR_ARB_shadow_ambient
49 "GL_ARB_shadow_ambient "
50#endif
51#ifdef CR_ARB_texture_border_clamp
52 "GL_ARB_texture_border_clamp "
53#endif
54#ifdef CR_ARB_texture_compression
55 "GL_ARB_texture_compression "
56#endif
57#ifdef CR_ARB_texture_cube_map
58 "GL_ARB_texture_cube_map "
59#endif
60#ifdef CR_ARB_texture_env_add
61 "GL_ARB_texture_env_add "
62#endif
63#ifdef CR_ARB_texture_env_combine
64 "GL_ARB_texture_env_combine GL_EXT_texture_env_combine "
65#endif
66#ifdef CR_ARB_texture_env_crossbar
67 "GL_ARB_texture_env_crossbar "
68#endif
69#ifdef CR_ARB_texture_env_dot3
70 "GL_ARB_texture_env_dot3 GL_EXT_texture_env_dot3 "
71#endif
72#ifdef CR_ARB_texture_mirrored_repeat
73 "GL_ARB_texture_mirrored_repeat "
74#endif
75#ifdef CR_ARB_texture_non_power_of_two
76 "GL_ARB_texture_non_power_of_two "
77#endif
78#ifdef CR_ARB_transpose_matrix
79 "GL_ARB_transpose_matrix "
80#endif
81#ifdef CR_ARB_vertex_buffer_object
82 "GL_ARB_vertex_buffer_object "
83#endif
84#ifdef CR_ARB_vertex_program
85 "GL_ARB_vertex_program "
86#endif
87#ifdef CR_ARB_window_pos
88 "GL_ARB_window_pos "
89#endif
90#ifdef CR_EXT_blend_color
91 "GL_EXT_blend_color "
92#endif
93#ifdef CR_EXT_blend_minmax
94 "GL_EXT_blend_minmax "
95#endif
96#ifdef CR_EXT_blend_func_separate
97 "GL_EXT_blend_func_separate "
98#endif
99#ifdef CR_EXT_clip_volume_hint
100 "GL_EXT_clip_volume_hint "
101#endif
102#ifdef CR_EXT_blend_logic_op
103 "GL_EXT_blend_logic_op "
104#endif
105#ifdef CR_EXT_blend_subtract
106 "GL_EXT_blend_subtract "
107#endif
108#ifdef CR_EXT_texture_env_add
109 "GL_EXT_texture_env_add "
110#endif
111#ifdef CR_EXT_fog_coord
112 "GL_EXT_fog_coord "
113#endif
114#ifdef CR_EXT_multi_draw_arrays
115 "GL_EXT_multi_draw_arrays "
116#endif
117#ifdef CR_EXT_secondary_color
118 "GL_EXT_secondary_color "
119#endif
120#ifdef CR_EXT_separate_specular_color
121 "GL_EXT_separate_specular_color "
122#endif
123#ifdef CR_EXT_shadow_funcs
124 "GL_EXT_shadow_funcs "
125#endif
126#ifdef CR_EXT_stencil_wrap
127 "GL_EXT_stencil_wrap "
128#endif
129#ifdef CR_EXT_texture_cube_map
130 "GL_EXT_texture_cube_map "
131#endif
132#ifdef CR_EXT_texture_edge_clamp
133 "GL_EXT_texture_edge_clamp "
134#endif
135#ifdef CR_EXT_texture_filter_anisotropic
136 "GL_EXT_texture_filter_anisotropic "
137#endif
138#ifdef CR_EXT_texture_lod_bias
139 "GL_EXT_texture_lod_bias "
140#endif
141#ifdef CR_EXT_texture_object
142 "GL_EXT_texture_object "
143#endif
144#ifdef CR_EXT_texture3D
145 "GL_EXT_texture3D "
146#endif
147#ifdef CR_IBM_rasterpos_clip
148 "GL_IBM_rasterpos_clip "
149#endif
150#ifdef CR_NV_fog_distance
151 "GL_NV_fog_distance "
152#endif
153#ifdef CR_NV_fragment_program
154 "GL_NV_fragment_program "
155#endif
156#ifdef CR_NV_register_combiners
157 "GL_NV_register_combiners "
158#endif
159#ifdef CR_NV_register_combiners2
160 "GL_NV_register_combiners2 "
161#endif
162#ifdef CR_NV_texgen_reflection
163 "GL_NV_texgen_reflection "
164#endif
165#ifdef CR_NV_texture_rectangle
166 "GL_NV_texture_rectangle GL_EXT_texture_rectangle "
167#endif
168#ifdef CR_NV_vertex_program
169 "GL_NV_vertex_program "
170#endif
171#ifdef CR_NV_vertex_program1_1
172 "GL_NV_vertex_program1_1 "
173#endif
174#ifdef CR_NV_vertex_program2
175 "GL_NV_vertex_program2 "
176#endif
177#ifdef CR_SGIS_generate_mipmap
178 "GL_SGIS_generate_mipmap "
179#endif
180#ifdef CR_SGIS_texture_border_clamp
181 "GL_SGIS_texture_border_clamp "
182#endif
183#ifdef CR_SGIS_texture_edge_clamp
184 "GL_SGIS_texture_edge_clamp"
185#endif
186 "";
187
188
189/*
190 * Extensions which are only supported if the render/readback SPU is
191 * on the app node (no packing/unpacking/state-tracking support).
192 */
193static const char *crAppOnlyExtensions =
194 "GL_NV_fence " \
195 "GL_NV_texture_env_combine4 " \
196 "GL_NV_texture_shader " \
197 "GL_NV_vertex_array_range "
198;
199
200
201/*
202 * Special extensions which are unique to Chromium.
203 * We typically append this to the result of glGetString(GL_EXTENSIONS).
204 */
205static const char *crChromiumExtensions =
206#ifdef GL_CR_state_parameter
207 "GL_CR_state_parameter "
208#endif
209#ifdef GL_CR_cursor_position
210 "GL_CR_cursor_position "
211#endif
212#ifdef GL_CR_bounding_box
213 "GL_CR_bounding_box "
214#endif
215#ifdef GL_CR_print_string
216 "GL_CR_print_string "
217#endif
218#ifdef GL_CR_tilesort_info
219 "GL_CR_tilesort_info "
220#endif
221#ifdef GL_CR_client_clear_control
222 "GL_CR_client_clear_control "
223#endif
224#ifdef GL_CR_synchronization
225 "GL_CR_synchronization "
226#endif
227#ifdef GL_CR_head_spu_name
228 "GL_CR_head_spu_name "
229#endif
230#ifdef GL_CR_performance_info
231 "GL_CR_performance_info "
232#endif
233#ifdef GL_CR_window_size
234 "GL_CR_window_size "
235#endif
236#ifdef GL_CR_tile_info
237 "GL_CR_tile_info "
238#endif
239#ifdef GL_CR_saveframe
240 "GL_CR_saveframe "
241#endif
242#ifdef GL_CR_readback_barrier_size
243 "GL_CR_readback_barrier_size "
244#endif
245#ifdef GL_CR_server_id_sharing
246 "GL_CR_server_id_sharing "
247#endif
248#ifdef GL_CR_server_matrix
249 "GL_CR_server_matrix "
250#endif
251#ifdef USE_DMX
252 "GL_CR_dmx "
253#endif
254 "";
255
256#endif /* CR_EXTSTRING_H */
257
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette