VirtualBox

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

Last change on this file since 69474 was 69474, checked in by vboxsync, 7 years ago

*: scm updates - header files should have 'svn:keywords=Id Revision' too (doesn't mean they have to use them).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 7.2 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_EXT_texture_compression_s3tc
22 "GL_EXT_texture_compression_s3tc "
23#endif
24#ifdef CR_EXT_draw_range_elements
25 "GL_EXT_draw_range_elements "
26#endif
27#ifdef CR_EXT_framebuffer_object
28 "GL_EXT_framebuffer_object "
29#endif
30#ifdef CR_EXT_compiled_vertex_array
31 "GL_EXT_compiled_vertex_array "
32#endif
33#ifdef CR_ARB_depth_texture
34 "GL_ARB_depth_texture "
35#endif
36#ifdef CR_ARB_fragment_program
37 "GL_ARB_fragment_program "
38#endif
39#ifdef CR_ARB_imaging
40 "GL_ARB_imaging "
41#endif
42#ifdef CR_ARB_multisample
43 "GL_ARB_multisample "
44#endif
45#ifdef CR_ARB_multitexture
46 "GL_ARB_multitexture "
47#endif
48#ifdef CR_ARB_occlusion_query
49 "GL_ARB_occlusion_query "
50#endif
51#ifdef CR_ARB_point_parameters
52 "GL_ARB_point_parameters "
53#endif
54#ifdef CR_ARB_point_sprite
55 "GL_ARB_point_sprite "
56#endif
57#ifdef CR_ARB_shadow
58 "GL_ARB_shadow "
59#endif
60#ifdef CR_ARB_shadow_ambient
61 "GL_ARB_shadow_ambient "
62#endif
63#ifdef CR_ARB_texture_border_clamp
64 "GL_ARB_texture_border_clamp "
65#endif
66#ifdef CR_ARB_texture_compression
67 "GL_ARB_texture_compression "
68#endif
69#ifdef CR_ARB_texture_cube_map
70 "GL_ARB_texture_cube_map "
71#endif
72#ifdef CR_ARB_texture_env_add
73 "GL_ARB_texture_env_add "
74#endif
75#ifdef CR_ARB_texture_env_combine
76 "GL_ARB_texture_env_combine GL_EXT_texture_env_combine "
77#endif
78#ifdef CR_ARB_texture_env_crossbar
79 "GL_ARB_texture_env_crossbar "
80#endif
81#ifdef CR_ARB_texture_env_dot3
82 "GL_ARB_texture_env_dot3 GL_EXT_texture_env_dot3 "
83#endif
84#ifdef CR_ARB_texture_mirrored_repeat
85 "GL_ARB_texture_mirrored_repeat GL_IBM_texture_mirrored_repeat "
86#endif
87#ifdef CR_ATI_texture_mirror_once
88 "GL_ATI_texture_mirror_once "
89#endif
90#ifdef CR_ARB_texture_non_power_of_two
91 "GL_ARB_texture_non_power_of_two "
92#endif
93#ifdef CR_ARB_transpose_matrix
94 "GL_ARB_transpose_matrix "
95#endif
96#ifdef CR_ARB_vertex_buffer_object
97 "GL_ARB_vertex_buffer_object "
98#endif
99#ifdef CR_ARB_pixel_buffer_object
100 "GL_ARB_pixel_buffer_object "
101#endif
102#ifdef CR_ARB_vertex_program
103 "GL_ARB_vertex_program "
104#endif
105#ifdef CR_ARB_window_pos
106 "GL_ARB_window_pos "
107#endif
108#ifdef CR_EXT_blend_color
109 "GL_EXT_blend_color "
110#endif
111#ifdef CR_EXT_blend_minmax
112 "GL_EXT_blend_minmax "
113#endif
114#ifdef CR_EXT_blend_func_separate
115 "GL_EXT_blend_func_separate "
116#endif
117#ifdef CR_EXT_clip_volume_hint
118 "GL_EXT_clip_volume_hint "
119#endif
120#ifdef CR_EXT_blend_logic_op
121 "GL_EXT_blend_logic_op "
122#endif
123#ifdef CR_EXT_blend_subtract
124 "GL_EXT_blend_subtract "
125#endif
126#ifdef CR_EXT_texture_env_add
127 "GL_EXT_texture_env_add "
128#endif
129#ifdef CR_EXT_fog_coord
130 "GL_EXT_fog_coord "
131#endif
132#ifdef CR_EXT_multi_draw_arrays
133 "GL_EXT_multi_draw_arrays "
134#endif
135#ifdef CR_EXT_secondary_color
136 "GL_EXT_secondary_color "
137#endif
138#ifdef CR_EXT_separate_specular_color
139 "GL_EXT_separate_specular_color "
140#endif
141#ifdef CR_EXT_shadow_funcs
142 "GL_EXT_shadow_funcs "
143#endif
144#ifdef CR_EXT_stencil_wrap
145 "GL_EXT_stencil_wrap "
146#endif
147#ifdef CR_EXT_texture_cube_map
148 "GL_EXT_texture_cube_map "
149#endif
150#ifdef CR_EXT_texture_edge_clamp
151 "GL_EXT_texture_edge_clamp "
152#endif
153#ifdef CR_EXT_texture_filter_anisotropic
154 "GL_EXT_texture_filter_anisotropic "
155#endif
156#ifdef CR_EXT_texture_lod_bias
157 "GL_EXT_texture_lod_bias "
158#endif
159#ifdef CR_EXT_texture_object
160 "GL_EXT_texture_object "
161#endif
162#ifdef CR_EXT_texture3D
163 "GL_EXT_texture3D "
164#endif
165#ifdef CR_IBM_rasterpos_clip
166 "GL_IBM_rasterpos_clip "
167#endif
168#ifdef CR_NV_fog_distance
169 "GL_NV_fog_distance "
170#endif
171#ifdef CR_NV_fragment_program
172 "GL_NV_fragment_program "
173#endif
174#ifdef CR_NV_fragment_program_option
175 "GL_NV_fragment_program_option "
176#endif
177#ifdef CR_NV_fragment_program2
178 "GL_NV_fragment_program2 "
179#endif
180#ifdef CR_NV_register_combiners
181 "GL_NV_register_combiners "
182#endif
183#ifdef CR_NV_register_combiners2
184 "GL_NV_register_combiners2 "
185#endif
186#ifdef CR_NV_texgen_reflection
187 "GL_NV_texgen_reflection "
188#endif
189#ifdef CR_NV_texture_rectangle
190 "GL_NV_texture_rectangle GL_EXT_texture_rectangle GL_ARB_texture_rectangle "
191#endif
192#ifdef CR_NV_vertex_program
193 "GL_NV_vertex_program "
194#endif
195#ifdef CR_NV_vertex_program1_1
196 "GL_NV_vertex_program1_1 "
197#endif
198#ifdef CR_NV_vertex_program2
199 "GL_NV_vertex_program2 "
200#endif
201#ifdef CR_NV_vertex_program2_option
202 "GL_NV_vertex_program2_option "
203#endif
204#ifdef CR_NV_vertex_program3
205 "GL_NV_vertex_program3 "
206#endif
207#ifdef CR_SGIS_generate_mipmap
208 "GL_SGIS_generate_mipmap "
209#endif
210#ifdef CR_SGIS_texture_border_clamp
211 "GL_SGIS_texture_border_clamp "
212#endif
213#ifdef CR_SGIS_texture_edge_clamp
214 "GL_SGIS_texture_edge_clamp "
215#endif
216#ifdef CR_ARB_shading_language_100
217 "GL_ARB_shading_language_100 "
218#endif
219#ifdef CR_ARB_shader_objects
220 "GL_ARB_shader_objects "
221#endif
222#ifdef CR_ARB_vertex_shader
223 "GL_ARB_vertex_shader "
224#endif
225#ifdef CR_ARB_fragment_shader
226 "GL_ARB_fragment_shader "
227#endif
228#ifdef CR_EXT_texture_sRGB
229 "GL_EXT_texture_sRGB "
230#endif
231#ifdef CR_EXT_framebuffer_blit
232 "GL_EXT_framebuffer_blit "
233#endif
234#ifdef CR_EXT_blend_equation_separate
235 "GL_EXT_blend_equation_separate "
236#endif
237#ifdef CR_EXT_stencil_two_side
238 "GL_EXT_stencil_two_side "
239#endif
240#ifdef CR_GREMEDY_string_marker
241 "GL_GREMEDY_string_marker "
242#endif
243#ifdef CR_ARB_texture_float
244 "GL_ARB_texture_float "
245#endif
246#ifdef CR_ARB_draw_buffers
247 "GL_ARB_draw_buffers "
248#endif
249#ifdef CR_ARB_shader_texture_lod
250 "GL_ARB_shader_texture_lod "
251#endif
252
253 "";
254
255/*
256 * Extensions which are only supported if the render/readback SPU is
257 * on the app node (no packing/unpacking/state-tracking support).
258 */
259static const char *crAppOnlyExtensions =
260 "GL_NV_fence " \
261 "GL_NV_texture_env_combine4 " \
262 "GL_NV_texture_shader " \
263 "GL_NV_vertex_array_range "
264;
265
266
267/*
268 * Special extensions which are unique to Chromium.
269 * We typically append this to the result of glGetString(GL_EXTENSIONS).
270 */
271static const char *crChromiumExtensions =
272#ifdef GL_CR_state_parameter
273 "GL_CR_state_parameter "
274#endif
275#ifdef GL_CR_cursor_position
276 "GL_CR_cursor_position "
277#endif
278#ifdef GL_CR_bounding_box
279 "GL_CR_bounding_box "
280#endif
281#ifdef GL_CR_print_string
282 "GL_CR_print_string "
283#endif
284#ifdef GL_CR_tilesort_info
285 "GL_CR_tilesort_info "
286#endif
287#ifdef GL_CR_client_clear_control
288 "GL_CR_client_clear_control "
289#endif
290#ifdef GL_CR_synchronization
291 "GL_CR_synchronization "
292#endif
293#ifdef GL_CR_head_spu_name
294 "GL_CR_head_spu_name "
295#endif
296#ifdef GL_CR_performance_info
297 "GL_CR_performance_info "
298#endif
299#ifdef GL_CR_window_size
300 "GL_CR_window_size "
301#endif
302#ifdef GL_CR_tile_info
303 "GL_CR_tile_info "
304#endif
305#ifdef GL_CR_saveframe
306 "GL_CR_saveframe "
307#endif
308#ifdef GL_CR_readback_barrier_size
309 "GL_CR_readback_barrier_size "
310#endif
311#ifdef GL_CR_server_id_sharing
312 "GL_CR_server_id_sharing "
313#endif
314#ifdef GL_CR_server_matrix
315 "GL_CR_server_matrix "
316#endif
317#ifdef USE_DMX
318 "GL_CR_dmx "
319#endif
320 "";
321
322#endif /* CR_EXTSTRING_H */
323
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