VirtualBox

Ignore:
Timestamp:
Oct 26, 2010 5:23:54 PM (14 years ago)
Author:
vboxsync
Message:

crOpenGL/wddm: multithreading fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/packer/pack_lists.c

    r33457 r33475  
    6363void PACK_APIENTRY crPackNewList( GLuint list, GLenum mode )
    6464{
    65     GET_PACKER_CONTEXT(pc);
     65    CR_GET_PACKER_CONTEXT(pc);
    6666    unsigned char *data_ptr;
    6767    (void) pc;
    68     GET_BUFFERED_POINTER( pc, 16 );
     68    CR_GET_BUFFERED_POINTER( pc, 16 );
    6969    WRITE_DATA( 0, GLint, 16 );
    7070    WRITE_DATA( 4, GLenum, CR_NEWLIST_EXTEND_OPCODE );
     
    7474    pc->buffer.in_List = GL_TRUE;
    7575    pc->buffer.holds_List = GL_TRUE;
     76    CR_UNLOCK_PACKER_CONTEXT(pc);
    7677}
    7778
    7879void PACK_APIENTRY crPackEndList( void )
    7980{
    80     GET_PACKER_CONTEXT(pc);
     81    CR_GET_PACKER_CONTEXT(pc);
    8182    unsigned char *data_ptr;
    82     GET_BUFFERED_POINTER( pc, 8 );
     83    CR_GET_BUFFERED_POINTER( pc, 8 );
    8384    WRITE_DATA( 0, GLint, 8 );
    8485    WRITE_DATA( 4, GLenum, CR_ENDLIST_EXTEND_OPCODE );
    8586    WRITE_OPCODE( pc, CR_EXTEND_OPCODE );
    8687    pc->buffer.in_List = GL_FALSE;
     88    CR_UNLOCK_PACKER_CONTEXT(pc);
    8789}
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