VirtualBox

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

Last change on this file since 78293 was 78190, checked in by vboxsync, 6 years ago

Merge first stage of the Chromium cleanup from the branch:

  • r129818 (Remove VBOX_WITH_CR_DISPLAY_LISTS and accompanying code as it was disabled since r108676 and was never brought back (see ​bugref:3456 and ​bugref:8485))
  • r129819 (HostServices/SharedOpenGL: Remove unused main entry point from upstream server process based implementation)
  • r129820 (HostServices/SharedOpenGL: Started eliminating all backends other than HGCM. They are not used and probably wouldn't work anymore anyway)
  • r129821 (HostServices/SharedOpenGL,GuestHost/OpenGLAdditions/common/crOpenGL: Kill crTimer* API as it is not used anywhere)
  • r129822 (HostServices/SharedOpenGL,GuestHost/OpenGLAdditions/common/crOpenGL: Kill most from cr_process.h apart from two used methods)
  • r129823 (HostServices/SharedOpenGL,GuestHost/OpenGLAdditions/common/crOpenGL: Kill crList* API as it is unused)
  • r129824 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill crHullInteriorBox API as it is unused)
  • r129825 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill crWarpPoint API as it is unused)
  • r129826 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill CrSa* API as it is unused and not even compiled in)
  • r129827 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Kill cr_bbox.h as it is unused)
  • r129828 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove a few crParseUrl() two uses)
  • r129829 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove last crParseURL() use)
  • r129830 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove crParseURL())
  • r129831 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove VBOX_WITH_COCOA_QT and related code when not set as it is the default for years now and we don't support anything else anymore)
  • r129832 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused cr_logo.h)
  • r129833 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused crut_api.h and crut_clientapi.h)
  • r129834 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused cr_dmx.h)
  • r129835 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused cr_perf.h)
  • r129836 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove cr_rand.h and friends as it is not actively used anywhere)
  • r129837 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of all the swapped versions in the packer SPU, we never change endianess from guest to host and don't need it)
  • r129838 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove more swapper versions in the packer related code)
  • r129839 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove more swapper versions in the packer related code)
  • r129840 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused pack_pica.c)
  • r129841 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove more swapper versions in the packer related code)
  • r129842 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of cr_endianess.h and friends)
  • r129843 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused lowercase.py)
  • r129844 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused cr_calllists.h and friends)
  • r129845 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of completely unused idpool.c, not even compiled in)
  • r129846 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused cr_debugopcodes.h and friends)
  • r129847 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Make the cr_mem.h API inline and get rid of the implementation in the util library)
  • r129848 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of SPUOptions and related code as it is of no use for us)
  • r129849 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of cr_environment.h and friends and convert usage to RTEnv* APIs)
  • r129850 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of unused renderspu_agl.c)
  • r129851 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Remove unused code in cr_htable.h)
  • r129853 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Introduce a state paremeter for the unpacker workers instead of reyling on global variables, work in progress)
  • r129854 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Let the caller of crUnpack set up the initial state. This allows to get rid of the global return_ptr and writeback_ptr as they get supplied in the unpacker state by the server)
  • r129855 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of the cr_lastDispatch and cr_unpackDispatch as they are of no use now)
  • r129856 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Get rid of the global cr_unpackData and cr_unpackDataEnd symbols by indtroducing another hack to make it possible for certail server dispatch callbacks to access the data buffer)
  • r129857 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: build fix for release builds)
  • r129858 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Make the pointer to the unpacker state non const (is required for the access verification))
  • r129859 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: First iteration of the buffer size validation to prevent out of bound read access + added todos for places where additional checks are needed)
  • r129860 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129861 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129871 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129872 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Stop as soon as the unpacker encountered an error)
  • r129876 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129880 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Working on remaining verification todos)
  • r129882 (HostServices/SharedOpenGL,GuestHost/OpenGL,Additions/common/crOpenGL: Fixed some offsets in unpack_texture.c, 3DMark03 renders correctly again)
  • r130013 (HostServices/SharedOpenGL: Convert files to C++ so we can use C99 featuers on Windows with cl.exe)
  • r130014 (HostServices/SharedOpenGL,GuestHost/OpenGL: WIndows build fixes)
  • r130015 (HostServices/SharedOpenGL,GuestHost/OpenGL: More Windows build fixes)
  • r130036 (Config.kmk: Fix linker error on Windows by temporarily disabling the use of VBoxGuestR3DllMinW2K)
  • r130094 (src/VBox/GuestHost/OpenGL: Revert inlining the allocation/free functions in R3 completely as it doesn't work on Windows if memory is allocated and freed across different DLLs which don't share a common CRT, causes crashes in RtlValidtaeHeap())
  • r130095 (src/VBox/GuestHost/OpenGL,src/VBox/Additions/common/crOpenGL/pack: Don't use floating point specifiers in packspu_GetString() to avoid R6002 errors (couldn't fully understand why they occur suddenly after the rework but this gets rid of it))
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 7.1 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#define SHCROGL_SSM_VERSION_BEFORE_CTXUSAGE_BITS 28
11/* version which might have context usage bits saved */
12#define SHCROGL_SSM_VERSION_WITH_SAVED_CTXUSAGE_BITS SHCROGL_SSM_VERSION_BEFORE_CTXUSAGE_BITS
13#define SHCROGL_SSM_VERSION_BEFORE_FRONT_DRAW_TRACKING 29
14/* version that might have corrupted state data */
15#define SHCROGL_SSM_VERSION_WITH_CORUPTED_STATE 30
16/* version with invalid glGetError state */
17#define SHCROGL_SSM_VERSION_WITH_INVALID_ERROR_STATE 30
18/* VBox 4.2.12 had a bug that incorrectly CRMuralInfo data
19 * in a different format without changing the state version,
20 * i.e. 30 version can have both "correct" and "incorrect" CRMuralInfo data */
21#define SHCROGL_SSM_VERSION_WITH_BUGGY_MURAL_INFO 30
22/* the saved state has incorrect front and back buffer image data */
23#define SHCROGL_SSM_VERSION_WITH_BUGGY_FB_IMAGE_DATA 31
24#define SHCROGL_SSM_VERSION_WITH_STATE_BITS 33
25#define SHCROGL_SSM_VERSION_WITH_WINDOW_CTX_USAGE 33
26#define SHCROGL_SSM_VERSION_WITH_FIXED_STENCIL 34
27#define SHCROGL_SSM_VERSION_WITH_SAVED_DEPTH_STENCIL_BUFFER 35
28/* some ogl drivers fail to Read/DrawPixels for DEPTH and STENCIL separately
29 * from DEPTH_STENCIL renderbuffer we used for offscreen rendering
30 * this is why we switched to glReadDrawPixels(GL_DEPTH_STENCIL) in one run */
31#define SHCROGL_SSM_VERSION_WITH_SINGLE_DEPTH_STENCIL 36
32#define SHCROGL_SSM_VERSION_WITH_PRESENT_STATE 37
33/* older state did not have glPointParameter ( GL_POINT_SPRITE_COORD_ORIGIN ) implementation */
34#define SHCROGL_SSM_VERSION_WITH_SPRITE_COORD_ORIGIN 38
35/* dirty bits are not needed for now, remove */
36#define SHCROGL_SSM_VERSION_WITHOUT_DIRTY_BITS 38
37/* dummy windows and contexts have 0 external IDs, so never get stored to the state */
38#define SHCROGL_SSM_VERSION_WITH_FIXED_DUMMYIDS 39
39#define SHCROGL_SSM_VERSION_WITH_SCREEN_INFO 40
40#define SHCROGL_SSM_VERSION_WITH_ALLOCATED_KEYS 41
41#define SHCROGL_SSM_VERSION_WITH_FB_INFO 42
42#define SHCROGL_SSM_VERSION_WITH_BUGGY_KEYS 42
43#define SHCROGL_SSM_VERSION_CRCMD 44
44#define SHCROGL_SSM_VERSION_WITH_SCREEN_MAP 45
45#define SHCROGL_SSM_VERSION_WITH_SCREEN_MAP_REORDERED 46
46#define SHCROGL_SSM_VERSION_WITH_PEND_CMD_INFO 47
47#define SHCROGL_SSM_VERSION_WITH_SEPARATE_DEPTH_STENCIL_BUFFERS 48
48#define SHCROGL_SSM_VERSION_WITH_DISPLAY_LISTS 49
49#define SHCROGL_SSM_VERSION 49
50
51/* These define the Chromium release number.
52 * Alpha Release = 0.1.0, Beta Release = 0.2.0
53 */
54#define CR_MAJOR_VERSION 1
55#define CR_MINOR_VERSION 9
56#define CR_PATCH_VERSION 0
57
58#define CR_VERSION_STRING "1.9" /* Chromium version, not OpenGL version */
59
60
61/* These define the OpenGL version that Chromium supports.
62 * This lets users easily recompile Chromium with/without OpenGL 1.x support.
63 * We use OpenGL's GL_VERSION_1_x convention.
64 */
65#define CR_OPENGL_VERSION_1_0 1
66#define CR_OPENGL_VERSION_1_1 1
67#define CR_OPENGL_VERSION_1_2 1
68#define CR_OPENGL_VERSION_1_2_1 1
69#define CR_OPENGL_VERSION_1_3 1
70#define CR_OPENGL_VERSION_1_4 1
71#define CR_OPENGL_VERSION_1_5 1
72#define CR_OPENGL_VERSION_2_0 1
73#define CR_OPENGL_VERSION_2_1 1
74
75/* Version (string) of OpenGL functionality supported by Chromium */
76#ifdef CR_OPENGL_VERSION_2_1
77# define CR_OPENGL_VERSION_STRING "2.1"
78# define CR_OPENGL_VERSION_MAJOR 2
79# define CR_OPENGL_VERSION_MINOR 1
80#elif defined(CR_OPENGL_VERSION_2_0)
81# define CR_OPENGL_VERSION_STRING "2.0"
82# define CR_OPENGL_VERSION_MAJOR 2
83# define CR_OPENGL_VERSION_MINOR 0
84#else
85# define CR_OPENGL_VERSION_STRING "1.5"
86# define CR_OPENGL_VERSION_MAJOR 1
87# define CR_OPENGL_VERSION_MINOR 5
88#endif
89
90
91/* These define the OpenGL extensions that Chromium supports.
92 * Users can enable/disable support for particular OpenGL extensions here.
93 * Again, use OpenGL's convention.
94 * WARNING: if you add new extensions here, also update this file:
95 * state_tracker/state_limits.c
96 */
97
98/*#define CR_ARB_imaging 1 not yet */
99#define CR_ARB_depth_texture 1
100#define CR_ARB_fragment_program 1
101#define CR_ARB_multitexture 1
102#define CR_ARB_multisample 1
103#define CR_ARB_occlusion_query 1
104#define CR_ARB_point_parameters 1
105#define CR_ARB_point_sprite 1
106#define CR_ARB_shadow 1
107#define CR_ARB_shadow_ambient 1
108#define CR_ARB_texture_border_clamp 1
109#define CR_ARB_texture_compression 1
110#define CR_ARB_texture_cube_map 1
111#define CR_ARB_texture_env_add 1
112#define CR_ARB_texture_env_combine 1
113#define CR_ARB_texture_env_crossbar 1
114#define CR_ARB_texture_env_dot3 1
115#define CR_ARB_texture_mirrored_repeat 1
116#define CR_ATI_texture_mirror_once 1
117#define CR_ARB_texture_non_power_of_two 1
118#define CR_ARB_transpose_matrix 1
119#define CR_ARB_vertex_buffer_object 1
120#define CR_ARB_vertex_program 1
121#define CR_ARB_window_pos 1
122
123#define CR_EXT_blend_color 1
124#define CR_EXT_blend_equation 1
125#define CR_EXT_blend_minmax 1
126#define CR_EXT_blend_logic_op 1
127#define CR_EXT_blend_subtract 1
128#define CR_EXT_blend_func_separate 1
129#define CR_EXT_clip_volume_hint 1
130#define CR_EXT_fog_coord 1
131#define CR_EXT_multi_draw_arrays 1
132#define CR_EXT_shadow_funcs 1
133#define CR_EXT_secondary_color 1
134#ifndef CR_OPENGL_VERSION_1_2
135#define CR_EXT_separate_specular_color 1
136#endif
137#define CR_EXT_stencil_wrap 1
138#define CR_EXT_texture_cube_map 1
139#define CR_EXT_texture_edge_clamp 1
140#define CR_EXT_texture_env_add 1
141#define CR_EXT_texture_filter_anisotropic 1
142#define CR_EXT_texture_lod_bias 1
143#define CR_EXT_texture_object 1
144#define CR_EXT_texture3D 1
145
146#define CR_IBM_rasterpos_clip 1
147
148#define CR_NV_fog_distance 1
149#define CR_NV_register_combiners 1
150#define CR_NV_register_combiners2 1
151#define CR_NV_texgen_reflection 1
152#define CR_NV_texture_rectangle 1
153#define CR_NV_vertex_program 1
154#define CR_NV_vertex_program1_1 1
155#define CR_NV_vertex_program2 1
156#define CR_NV_vertex_program2_option 1
157#define CR_NV_vertex_program3 1
158#define CR_NV_fragment_program 1
159#define CR_NV_fragment_program_option 1
160#define CR_NV_fragment_program2 1
161
162#define CR_SGIS_texture_border_clamp 1
163#define CR_SGIS_texture_edge_clamp 1
164#define CR_SGIS_generate_mipmap 1
165
166#define CR_EXT_texture_from_pixmap 1
167#define CR_EXT_draw_range_elements 1
168#define CR_EXT_texture_compression_s3tc 1
169
170#define CR_ARB_shader_objects 1
171#define CR_ARB_vertex_shader 1
172#define CR_ARB_fragment_shader 1
173#define CR_ARB_shading_language_100 1
174
175#define CR_EXT_framebuffer_object 1
176#define CR_EXT_compiled_vertex_array 1
177
178#define CR_ARB_pixel_buffer_object 1
179#define CR_EXT_texture_sRGB 1
180
181#define CR_EXT_framebuffer_blit 1
182#define CR_EXT_blend_equation_separate 1
183#define CR_EXT_stencil_two_side 1
184
185#define CR_GREMEDY_string_marker 1
186
187#define CR_ARB_texture_float 1
188#define CR_ARB_draw_buffers 1
189
190#define CR_ARB_shader_texture_lod 1
191
192#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