VirtualBox

Changeset 22247 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Aug 13, 2009 9:04:28 PM (15 years ago)
Author:
vboxsync
Message:

video hw accel: more saved state support impl, bugfixes

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Display
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c

    r22136 r22247  
    657657            if (lpSurfaceLocal->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)
    658658            {
    659                 pBody->u.in.offSurface = 0;
     659                pBody->SurfInfo.offSurface = 0;
    660660            }
    661661            else
    662662            {
    663                 pBody->u.in.offSurface = VBOXVHWA_OFFSET64_VOID;
     663                pBody->SurfInfo.offSurface = VBOXVHWA_OFFSET64_VOID;
    664664            }
    665665
     
    674674                        uint32_t surfSizeX = pBody->SurfInfo.sizeX;
    675675                        uint32_t surfSizeY = pBody->SurfInfo.sizeY;
    676                     pDesc->hHostHandle = pBody->u.out.hSurf;
     676                    pDesc->hHostHandle = pBody->SurfInfo.hSurf;
    677677                    lpSurfaceGlobal->dwReserved1 = (ULONG_PTR)pDesc;
    678678                    lPitch = pBody->SurfInfo.pitch;
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h

    r22136 r22247  
    109109    volatile uint32_t cPendingFlipsTarg;
    110110#ifdef DEBUG
    111     volatile uint64_t cFlipsCurr;
    112     volatile uint64_t cFlipsTarg;
     111    volatile uint32_t cFlipsCurr;
     112    volatile uint32_t cFlipsTarg;
    113113#endif
    114114//    uint32_t cBitsPerPixel;
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c

    r22189 r22247  
    911911VBOXVHWACMD_QUERYINFO2* vboxVHWAQueryHostInfo2(PPDEV ppdev, uint32_t numFourCC)
    912912{
    913     VBOXVHWACMD* pCmd = vboxVHWACommandCreate (ppdev, VBOXVHWACMD_TYPE_QUERY_INFO2, sizeof(VBOXVHWACMD_QUERYINFO2));
     913    VBOXVHWACMD* pCmd = vboxVHWACommandCreate (ppdev, VBOXVHWACMD_TYPE_QUERY_INFO2, VBOXVHWAINFO2_SIZE(numFourCC));
    914914    VBOXVHWACMD_QUERYINFO2 *pInfo2;
    915915    if (!pCmd)
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