Changeset 22028 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 6, 2009 11:50:01 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
r21939 r22028 670 670 if(pCmd->rc == VINF_SUCCESS) 671 671 { 672 uint32_t surfSizeX = pBody->SurfInfo.sizeX; 673 uint32_t surfSizeY = pBody->SurfInfo.sizeY; 672 674 pDesc->hHostHandle = pBody->u.out.hSurf; 673 675 lpSurfaceGlobal->dwReserved1 = (ULONG_PTR)pDesc; 674 676 lPitch = pBody->SurfInfo.pitch; 675 lBpp = pBody->SurfInfo.bitsPerPixel;676 pDesc->cBitsPerPixel = lBpp;677 // lBpp = pBody->SurfInfo.bitsPerPixel; 678 // pDesc->cBitsPerPixel = lBpp; 677 679 #if 0 678 680 lpSurfaceGlobal->dwBlockSizeX = lPitch; … … 680 682 lpSurfaceGlobal->lPitch = lPitch; 681 683 #else 682 lpSurfaceGlobal->dwBlockSizeX = lPitch * lpSurfaceGlobal->wHeight;683 lpSurfaceGlobal->dwBlockSizeY = 1;684 lpSurfaceGlobal->dwBlockSizeX = surfSizeX; 685 lpSurfaceGlobal->dwBlockSizeY = surfSizeY; 684 686 lpSurfaceGlobal->lPitch = lPitch; 685 687 #endif -
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r21939 r22028 108 108 volatile uint32_t cPendingFlipsCurr; 109 109 volatile uint32_t cPendingFlipsTarg; 110 uint32_t cBitsPerPixel;110 // uint32_t cBitsPerPixel; 111 111 bool bHidden; 112 112 VBOXVHWAREGION UpdatedMemRegion;
Note:
See TracChangeset
for help on using the changeset viewer.