VirtualBox

Ignore:
Timestamp:
May 13, 2013 5:29:18 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85705
Message:

crOpenGL: 1. missing 2.1 bits: glPointParameter GL_POINT_SPRITE_COORD_ORIGIN support; 2. Proper GL_NONE for buffers; 3. etc.

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

Legend:

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

    r45616 r46037  
    3131#define SHCROGL_SSM_VERSION_WITH_SINGLE_DEPTH_STENCIL               36
    3232#define SHCROGL_SSM_VERSION_WITH_PRESENT_STATE                      37
    33 #define SHCROGL_SSM_VERSION                                         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#define SHCROGL_SSM_VERSION                                         38
    3438
    3539/* These define the Chromium release number.
  • trunk/src/VBox/GuestHost/OpenGL/include/state/cr_point.h

    r15532 r46037  
    2929        CRbitvalue coordReplacement[CR_MAX_TEXTURE_UNITS][CR_MAX_BITARRAY];
    3030#endif
     31        CRbitvalue spriteCoordOrigin[CR_MAX_BITARRAY];
    3132        CRbitvalue dirty[CR_MAX_BITARRAY];
    3233} CRPointBits;
     
    4445        GLboolean coordReplacement[CR_MAX_TEXTURE_UNITS];
    4546#endif
     47    GLfloat spriteCoordOrigin;
     48    GLfloat reserved; /* added to make sure alignment of sttructures following CRPointState in CRContext does not change */
    4649} CRPointState;
    4750
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