Changeset 23399 in vbox for trunk/src/VBox/GuestHost/OpenGL/include
- Timestamp:
- Sep 29, 2009 5:04:38 AM (15 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_protocol.h
r23274 r23399 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 418 #define CR_PROTOCOL_VERSION_MAJOR 5 19 19 #define CR_PROTOCOL_VERSION_MINOR 1 20 20 -
trunk/src/VBox/GuestHost/OpenGL/include/state/cr_glsl.h
r23274 r23399 64 64 GLenum type; 65 65 GLvoid *data; 66 #ifdef IN_GUEST 67 GLuint location; 68 #endif 66 69 } CRGLSLUniform; 67 70 … … 72 75 CRGLSLUniform *pUniforms; 73 76 GLuint cUniforms; 77 #ifdef IN_GUEST 78 GLboolean bUniformsSynced; /*uniforms info is updated since last link program call.*/ 79 #endif 74 80 } CRGLSLProgram; 75 81 … … 98 104 DECLEXPORT(void) STATE_APIENTRY crStateCreateProgram(GLuint id); 99 105 106 DECLEXPORT(GLboolean) STATE_APIENTRY crStateIsProgramUniformsCached(GLuint program); 107 108 #ifdef IN_GUEST 109 DECLEXPORT(void) STATE_APIENTRY crStateGLSLProgramCacheUniforms(GLuint program, GLsizei cbData, GLvoid *pData); 110 #else 111 DECLEXPORT(void) STATE_APIENTRY crStateGLSLProgramCacheUniforms(GLuint program, GLsizei maxcbData, GLsizei *cbData, GLvoid *pData); 112 #endif 113 100 114 #ifdef __cplusplus 101 115 }
Note:
See TracChangeset
for help on using the changeset viewer.