VirtualBox

Changeset 6519 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Jan 28, 2008 4:57:39 AM (17 years ago)
Author:
vboxsync
Message:

Build fix... vboxvideo is still shared.

Location:
trunk/src/VBox/Additions/x11/xgraphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/vboxutils.c

    r6484 r6519  
    479479        pVBox->reqp = p;
    480480        pVBox->pCurs = NULL;
    481         pVBox->use_hw_cursor = vbox_host_can_hwcursor(pScrn, pVBox);
    482         pVBox->set_pointer_shape_size = size;
    483         pVBox->pointer_offscreen = FALSE;
     481        pVBox->useHwCursor = vbox_host_can_hwcursor(pScrn, pVBox);
     482        pVBox->pointerHeaderSize = size;
     483        pVBox->pointerOffscreen = FALSE;
    484484        pVBox->useVbva = vboxInitVbva(scrnIndex, pScreen, pVBox);
    485485    } else {
     
    558558    if (((x < 0) || (x > pScrn->pScreen->width))
    559559        || ((y < 0) || (y > pScrn->pScreen->height))) {
    560         if (!pVBox->pointer_offscreen) {
    561             pVBox->pointer_offscreen = TRUE;
     560        if (!pVBox->pointerOffscreen) {
     561            pVBox->pointerOffscreen = TRUE;
    562562            vbox_vmm_hide_cursor (pScrn, pVBox);
    563563        }
    564564    }
    565565    else {
    566         if (pVBox->pointer_offscreen) {
    567             pVBox->pointer_offscreen = FALSE;
     566        if (pVBox->pointerOffscreen) {
     567            pVBox->pointerOffscreen = FALSE;
    568568            vbox_vmm_show_cursor (pScrn, pVBox);
    569569        }
     
    604604    ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
    605605    VBOXPtr pVBox = pScrn->driverPrivate;
    606     return pVBox->use_hw_cursor;
     606    return pVBox->useHwCursor;
    607607}
    608608
     
    642642    size_mask = ((dst_pitch * h) + 3) & (size_t) ~3;
    643643    size_rgba = w * h * 4;
    644     size      = size_mask + size_rgba + pVBox->set_pointer_shape_size;
     644    size      = size_mask + size_rgba + pVBox->pointerHeaderSize;
    645645
    646646    p = c = xcalloc (1, size);
     
    780780            bitsp->xhot, bitsp->yhot, w, h);
    781781
    782     size = w * h * 4 + pVBox->set_pointer_shape_size + mask_size;
     782    size = w * h * 4 + pVBox->pointerHeaderSize + mask_size;
    783783    p = xcalloc (1, size);
    784784    if (!p)
     
    847847    Bool rc;
    848848
    849     if (pVBox->use_hw_cursor)
     849    if (pVBox->useHwCursor)
    850850    {
    851851        xf86DrvMsg(pScrn->scrnIndex, X_INFO,
  • trunk/src/VBox/Additions/x11/xgraphics/vboxvideo.h

    r6518 r6519  
    156156    IOADDRESS ioBase;
    157157#endif  /* XORG_7X defined */
     158#ifndef RT_OS_SOLARIS
     159    int vbox_fd;
     160#endif
    158161    VMMDevReqMousePointer *reqp;
    159162    xf86CursorInfoPtr pCurs;
     
    163166    Bool pointerOffscreen;
    164167    Bool useVbva;
     168#ifndef RT_OS_SOLARIS
     169    VMMDevVideoAccelFlush *reqf;
     170    VMMDevVideoAccelEnable *reqe;
     171#endif
    165172    VMMDevMemory *pVMMDevMemory;
    166173    VBVAMEMORY *pVbvaMemory;
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