VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/cr_version.h@ 24107

Last change on this file since 24107 was 22284, checked in by vboxsync, 15 years ago

crOpenGL: add compiled vertex array support

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.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_VERSION_H
8#define CR_VERSION_H
9
10
11/* These define the Chromium release number.
12 * Alpha Release = 0.1.0, Beta Release = 0.2.0
13 */
14#define CR_MAJOR_VERSION 1
15#define CR_MINOR_VERSION 9
16#define CR_PATCH_VERSION 0
17
18#define CR_VERSION_STRING "1.9" /* Chromium version, not OpenGL version */
19
20
21/* These define the OpenGL version that Chromium supports.
22 * This lets users easily recompile Chromium with/without OpenGL 1.x support.
23 * We use OpenGL's GL_VERSION_1_x convention.
24 */
25#define CR_OPENGL_VERSION_1_0 1
26#define CR_OPENGL_VERSION_1_1 1
27#define CR_OPENGL_VERSION_1_2 1
28#define CR_OPENGL_VERSION_1_2_1 1
29#define CR_OPENGL_VERSION_1_3 1
30#define CR_OPENGL_VERSION_1_4 1
31#define CR_OPENGL_VERSION_1_5 1
32#define CR_OPENGL_VERSION_2_0 1
33
34/* Version (string) of OpenGL functionality suported by Chromium */
35#ifdef CR_OPENGL_VERSION_2_0
36# define CR_OPENGL_VERSION_STRING "2.0"
37#else
38# define CR_OPENGL_VERSION_STRING "1.5"
39#endif
40
41
42/* These define the OpenGL extensions that Chromium supports.
43 * Users can enable/disable support for particular OpenGL extensions here.
44 * Again, use OpenGL's convention.
45 * WARNING: if you add new extensions here, also update this file:
46 * state_tracker/state_limits.c
47 */
48
49/*#define CR_ARB_imaging 1 not yet */
50#define CR_ARB_depth_texture 1
51#define CR_ARB_fragment_program 1
52#define CR_ARB_multitexture 1
53#define CR_ARB_multisample 1
54#define CR_ARB_occlusion_query 1
55#define CR_ARB_point_parameters 1
56#define CR_ARB_point_sprite 1
57#define CR_ARB_shadow 1
58#define CR_ARB_shadow_ambient 1
59#define CR_ARB_texture_border_clamp 1
60#define CR_ARB_texture_compression 1
61#define CR_ARB_texture_cube_map 1
62#define CR_ARB_texture_env_add 1
63#define CR_ARB_texture_env_combine 1
64#define CR_ARB_texture_env_crossbar 1
65#define CR_ARB_texture_env_dot3 1
66#define CR_ARB_texture_mirrored_repeat 1
67#define CR_ARB_texture_non_power_of_two 1
68#define CR_ARB_transpose_matrix 1
69#define CR_ARB_vertex_buffer_object 1
70#define CR_ARB_vertex_program 1
71#define CR_ARB_window_pos 1
72
73#define CR_EXT_blend_color 1
74#define CR_EXT_blend_equation 1
75#define CR_EXT_blend_minmax 1
76#define CR_EXT_blend_logic_op 1
77#define CR_EXT_blend_subtract 1
78#define CR_EXT_blend_func_separate 1
79#define CR_EXT_clip_volume_hint 1
80#define CR_EXT_fog_coord 1
81#define CR_EXT_multi_draw_arrays 1
82#define CR_EXT_shadow_funcs 1
83#define CR_EXT_secondary_color 1
84#ifndef CR_OPENGL_VERSION_1_2
85#define CR_EXT_separate_specular_color 1
86#endif
87#define CR_EXT_stencil_wrap 1
88#define CR_EXT_texture_cube_map 1
89#define CR_EXT_texture_edge_clamp 1
90#define CR_EXT_texture_env_add 1
91#define CR_EXT_texture_filter_anisotropic 1
92#define CR_EXT_texture_lod_bias 1
93#define CR_EXT_texture_object 1
94#define CR_EXT_texture3D 1
95
96#define CR_IBM_rasterpos_clip 1
97
98#define CR_NV_fog_distance 1
99#define CR_NV_register_combiners 1
100#define CR_NV_register_combiners2 1
101#define CR_NV_texgen_reflection 1
102#define CR_NV_texture_rectangle 1
103#define CR_NV_vertex_program 1
104#define CR_NV_vertex_program1_1 1
105#define CR_NV_vertex_program2 1
106#define CR_NV_fragment_program 1
107
108#define CR_SGIS_texture_border_clamp 1
109#define CR_SGIS_texture_edge_clamp 1
110#define CR_SGIS_generate_mipmap 1
111
112#define CR_EXT_texture_from_pixmap 1
113#define CR_EXT_draw_range_elements 1
114#define CR_EXT_texture_compression_s3tc 1
115
116#define CR_ARB_shader_objects 1
117#define CR_ARB_vertex_shader 1
118#define CR_ARB_fragment_shader 1
119#define CR_ARB_shading_language_100 1
120
121#define CR_EXT_framebuffer_object 1
122#define CR_EXT_compiled_vertex_array 1
123
124#endif /* CR_VERSION_H */
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