VirtualBox

Changeset 43492 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Oct 1, 2012 12:25:02 PM (12 years ago)
Author:
vboxsync
Message:

Additions/crOpenGL: call stubInitXDamageExtension() earlier in fake DRI driver to avoid a Compiz hang.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/glx.c

    r39572 r43492  
    5858
    5959static void stubXshmUpdateImageRect(Display *dpy, GLXDrawable draw, GLX_Pixmap_t *pGlxPixmap, XRectangle *pRect);
     60static void stubInitXDamageExtension(ContextInfo *pContext);
    6061
    6162static void
     
    624625    context->direct = direct;
    625626
     627    /* This means that clients can't hold a server grab during
     628     * glXCreateContext! */
     629    stubInitXDamageExtension(context);
     630
    626631    return (GLXContext) context->id;
    627632}
     
    21682173}
    21692174
    2170 static void stubInitXDamageExtension(ContextInfo *pContext)
     2175void stubInitXDamageExtension(ContextInfo *pContext)
    21712176{
    21722177    int erb, vma, vmi;
     
    23322337    }
    23332338    XUNLOCK(dpy);
    2334 
    2335     stubInitXDamageExtension(pContext);
    23362339
    23372340    /* If there's damage extension, then get handle for damage events related to this pixmap */
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