Changeset 27091 in vbox for trunk/src/VBox/GuestHost/OpenGL/include
- Timestamp:
- Mar 5, 2010 2:13:31 PM (15 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_extstring.h
r22284 r27091 94 94 "GL_ARB_vertex_buffer_object " 95 95 #endif 96 #ifdef CR_ARB_pixel_buffer_object 97 "GL_ARB_pixel_buffer_object " 98 #endif 96 99 #ifdef CR_ARB_vertex_program 97 100 "GL_ARB_vertex_program " -
trunk/src/VBox/GuestHost/OpenGL/include/cr_protocol.h
r23399 r27091 16 16 /*For now guest is allowed to connect host opengl service if protocol version matches exactly*/ 17 17 /*Note: that after any change to this file, or glapi_parser\apispec.txt version should be changed*/ 18 #define CR_PROTOCOL_VERSION_MAJOR 518 #define CR_PROTOCOL_VERSION_MAJOR 6 19 19 #define CR_PROTOCOL_VERSION_MINOR 1 20 20 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_version.h
r22284 r27091 122 122 #define CR_EXT_compiled_vertex_array 1 123 123 124 #define CR_ARB_pixel_buffer_object 1 125 124 126 #endif /* CR_VERSION_H */ -
trunk/src/VBox/GuestHost/OpenGL/include/state/cr_bufferobject.h
r23123 r27091 19 19 CRbitvalue arrayBinding[CR_MAX_BITARRAY]; 20 20 CRbitvalue elementsBinding[CR_MAX_BITARRAY]; 21 CRbitvalue packBinding[CR_MAX_BITARRAY]; 22 CRbitvalue unpackBinding[CR_MAX_BITARRAY]; 21 23 } CRBufferObjectBits; 22 24 … … 34 36 GLvoid *pointer; /* only valid while buffer is mapped */ 35 37 GLvoid *data; /* the buffer data, if retainBufferData is true */ 38 GLboolean bResyncOnRead; /* buffer data could be changed on server side, 39 so we need to resync every time guest wants to read from it*/ 36 40 CRbitvalue dirty[CR_MAX_BITARRAY]; /* dirty data or state */ 37 41 GLintptrARB dirtyStart, dirtyLength; /* dirty region */ … … 42 46 CRBufferObject *arrayBuffer; 43 47 CRBufferObject *elementsBuffer; 48 CRBufferObject *packBuffer; 49 CRBufferObject *unpackBuffer; 44 50 45 51 CRBufferObject *nullBuffer; /* name = 0 */ … … 50 56 } CRBufferObjectState; 51 57 58 DECLEXPORT(CRBufferObject *) crStateGetBoundBufferObject(GLenum target, CRBufferObjectState *b); 59 DECLEXPORT(GLboolean) crStateIsBufferBound(GLenum target); 52 60 53 61 #ifdef __cplusplus -
trunk/src/VBox/GuestHost/OpenGL/include/state/cr_limits.h
r26407 r27091 228 228 GLboolean ARB_transpose_matrix; 229 229 GLboolean ARB_vertex_buffer_object; 230 GLboolean ARB_pixel_buffer_object; 230 231 GLboolean ARB_vertex_program; 231 232 GLboolean ARB_window_pos; -
trunk/src/VBox/GuestHost/OpenGL/include/state/cr_texture.h
r25154 r27091 22 22 */ 23 23 #define CR_STATE_NO_TEXTURE_IMAGE_STORE 24 25 #if defined(CR_ARB_pixel_buffer_object) && !defined(CR_STATE_NO_TEXTURE_IMAGE_STORE) 26 #error CR_ARB_pixel_buffer_object not supported without CR_STATE_NO_TEXTURE_IMAGE_STORE 27 #endif 24 28 25 29 #define CR_MAX_MIPMAP_LEVELS 20
Note:
See TracChangeset
for help on using the changeset viewer.