VirtualBox

Ignore:
Timestamp:
Aug 8, 2014 6:34:02 PM (10 years ago)
Author:
vboxsync
Message:

wddm/crOpenGL: prevent shared objects from being deleted till they can be used

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox

  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/surface.c

    r51270 r52329  
    77147714            Assert(!(*shared_handle));
    77157715            *shared_handle = VBOXSHRC_GET_SHAREHANDLE(surface);
     7716            pglChromiumParameteriCR(GL_PIN_TEXTURE_SET_CR, (GLuint)VBOXSHRC_GET_SHAREHANDLE(surface));
    77167717        }
    77177718        else
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/texture.c

    r51077 r52329  
    10121012            Assert(!(*shared_handle));
    10131013            *shared_handle = VBOXSHRC_GET_SHAREHANDLE(texture);
     1014            pglChromiumParameteriCR(GL_PIN_TEXTURE_SET_CR, (GLuint)VBOXSHRC_GET_SHAREHANDLE(texture));
    10141015        }
    10151016        else
     
    12921293            Assert(!(*shared_handle));
    12931294            *shared_handle = VBOXSHRC_GET_SHAREHANDLE(texture);
     1295            pglChromiumParameteriCR(GL_PIN_TEXTURE_SET_CR, (GLuint)VBOXSHRC_GET_SHAREHANDLE(texture));
    12941296        }
    12951297        else
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/wined3d_gl.h

    r51313 r52329  
    192192/* enable zero vertex attribute generation to work around wine bug */
    193193#define GL_CHECK_ZERO_VERT_ARRT       0x8B30
     194
     195#define GL_PIN_TEXTURE_SET_CR         0x8B32
     196#define GL_PIN_TEXTURE_CLEAR_CR       0x8B33
     197
    194198
    195199typedef void (WINE_GLAPI *PGLFNCHROMIUMPARAMETERUCR)(GLenum param, GLint value);
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