VirtualBox

Ignore:
Timestamp:
May 3, 2012 8:19:54 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77736
Message:

crOpenGL: backwards compatibility for 3D saved state v 28

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

Legend:

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

    r41109 r41128  
    240240typedef DECLCALLBACK(CRContext*) FNCRSTATE_CONTEXT_GET(void*);
    241241typedef FNCRSTATE_CONTEXT_GET *PFNCRSTATE_CONTEXT_GET;
    242 DECLEXPORT(int32_t) crStateLoadContext(CRContext *pContext, CRHashTable * pCtxTable, PFNCRSTATE_CONTEXT_GET pfnCtxGet, PSSMHANDLE pSSM);
     242DECLEXPORT(int32_t) crStateLoadContext(CRContext *pContext, CRHashTable * pCtxTable, PFNCRSTATE_CONTEXT_GET pfnCtxGet, PSSMHANDLE pSSM, uint32_t u32Version);
    243243DECLEXPORT(void)    crStateFreeShared(CRContext *pContext, CRSharedState *s);
    244244DECLEXPORT(void) crStateFreeShared(CRContext *pContext, CRSharedState *s);
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h

    r41057 r41128  
    3030extern "C" {
    3131#endif
    32 
    33 #define SHCROGL_SSM_VERSION 29
    3432
    3533#define CR_MAX_WINDOWS 100
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_version.h

    r40124 r41128  
    88#define CR_VERSION_H
    99
     10#define SHCROGL_SSM_VERSION_BEFORE_CTXUSAGE_BITS 28
     11#define SHCROGL_SSM_VERSION 29
    1012
    1113/* These define the Chromium release number.
  • trunk/src/VBox/GuestHost/OpenGL/include/state/cr_attrib.h

    r15532 r41128  
    257257        GLboolean       enabled2D[CR_MAX_TEXTURE_UNITS];
    258258        GLboolean       enabled3D[CR_MAX_TEXTURE_UNITS];
    259 #ifdef CR_ARB_texture_cube_map
     259# ifdef CR_ARB_texture_cube_map
    260260        GLboolean       enabledCubeMap[CR_MAX_TEXTURE_UNITS];
    261 #endif
     261# endif
    262262        CRTextureObj *current1D[CR_MAX_TEXTURE_UNITS];
    263263        CRTextureObj *current2D[CR_MAX_TEXTURE_UNITS];
    264264        CRTextureObj *current3D[CR_MAX_TEXTURE_UNITS];
    265 #ifdef CR_ARB_texture_cube_map
     265# ifdef CR_ARB_texture_cube_map
    266266        CRTextureObj *currentCubeMap[CR_MAX_TEXTURE_UNITS];
    267 #endif
     267# endif
    268268        GLcolorf borderColor[4];  /* 4 = 1D, 2D, 3D and cube map textures */
    269269        GLenum minFilter[4];
     
    271271        GLenum wrapS[4];
    272272        GLenum wrapT[4];
    273 #ifdef CR_OPENGL_VERSION_1_2
     273# ifdef CR_OPENGL_VERSION_1_2
    274274        GLenum wrapR[4];
    275275        GLfloat priority[4];
     
    278278        GLint baseLevel[4];
    279279        GLint maxLevel[4];
    280 #endif
     280# endif
    281281
    282282        GLuint          curTextureUnit;
Note: See TracChangeset for help on using the changeset viewer.

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