VirtualBox

Ignore:
Timestamp:
May 6, 2014 5:21:16 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: getAttribLocations

Location:
trunk/src/VBox/GuestHost/OpenGL/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_protocol.h

    r50973 r51200  
    3838 */
    3939#define CR_VBOX_CAP_CMDBLOCKS            0x00000004
     40/* GetAttribsLocations support */
     41#define CR_VBOX_CAP_GETATTRIBSLOCATIONS  0x00000008
     42
     43#define CR_VBOX_CAPS_ALL                 0x0000000f
    4044
    4145
  • trunk/src/VBox/GuestHost/OpenGL/include/state/cr_glsl.h

    r50041 r51200  
    7272    GLuint              cUniforms;
    7373#ifdef IN_GUEST
     74    CRGLSLAttrib        *pAttribs;
     75    GLuint              cAttribs;
    7476    GLboolean           bUniformsSynced; /*uniforms info is updated since last link program call.*/
     77    GLboolean           bAttribsSynced; /*attribs info is updated since last link program call.*/
    7578#endif
    7679} CRGLSLProgram;
     
    103106
    104107DECLEXPORT(GLboolean) STATE_APIENTRY crStateIsProgramUniformsCached(GLuint program);
     108DECLEXPORT(GLboolean) STATE_APIENTRY crStateIsProgramAttribsCached(GLuint program);
    105109
    106110#ifdef IN_GUEST
    107111DECLEXPORT(void) STATE_APIENTRY crStateGLSLProgramCacheUniforms(GLuint program, GLsizei cbData, GLvoid *pData);
     112DECLEXPORT(void) STATE_APIENTRY crStateGLSLProgramCacheAttribs(GLuint program, GLsizei cbData, GLvoid *pData);
    108113#else
    109114DECLEXPORT(void) STATE_APIENTRY crStateGLSLProgramCacheUniforms(GLuint program, GLsizei maxcbData, GLsizei *cbData, GLvoid *pData);
     115DECLEXPORT(void) STATE_APIENTRY crStateGLSLProgramCacheAttribs(GLuint program, GLsizei maxcbData, GLsizei *cbData, GLvoid *pData);
    110116#endif
    111117
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette