VirtualBox

Ignore:
Timestamp:
Feb 13, 2009 4:31:11 PM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: use damage regions information for pixmap updates

Location:
trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/stub.c

    r16718 r16748  
    457457    if ((!pWindow->pVisibleRegions && cRects)
    458458        || pWindow->cVisibleRegions!=cRects
    459         || crMemcmp(pWindow->pVisibleRegions, pXRects, cRects * sizeof(XRectangle)))
     459        || (pWindow->pVisibleRegions && crMemcmp(pWindow->pVisibleRegions, pXRects, cRects * sizeof(XRectangle))))
    460460    {
    461461        pWindow->pVisibleRegions = pXRects;
  • trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/stub.h

    r16718 r16748  
    7575    Window root;
    7676    GC gc;
    77     Pixmap pixmap; /* Shared memory pixmap object, if it's supported*/
    78     Damage damage;
     77    Pixmap hShmPixmap; /* Shared memory pixmap object, if it's supported*/
     78    Damage hDamage;    /* damage xserver handle*/
    7979    Bool   bPixmapImageDirty;
     80    Region pDamageRegion;
    8081};
    8182#endif
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