- Timestamp:
- Sep 18, 2009 9:54:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r22729 r23118 1 /* 1 /** @file 2 2 * VirtualBox Video Acceleration (VBVA). 3 3 */ … … 330 330 } dirtyRect; 331 331 memset(&dirtyRect, 0, sizeof(dirtyRect)); 332 332 333 333 bool fUpdate = false; /* Whether there were any updates. */ 334 334 … … 456 456 457 457 int rc = pVGAState->pDrv->pfnVBVAResize (pVGAState->pDrv, &pView->view, &pView->screen, pu8VRAM); 458 458 459 459 /* @todo process VINF_VGA_RESIZE_IN_PROGRESS? */ 460 460 461 461 return rc; 462 462 } … … 532 532 + pShape->u32Width * 4 * pShape->u32Height; 533 533 } 534 534 535 535 if (cbPointerData > cbShape - RT_OFFSETOF(VBVAMOUSEPOINTERSHAPE, au8Data)) 536 536 { … … 618 618 pView->screen.u32Width, 619 619 pView->screen.u32Height, 620 pView->screen.u16BitsPerPixel, 620 pView->screen.u16BitsPerPixel, 621 621 pView->screen.u16Flags)); 622 622 … … 852 852 if (pHdr) 853 853 { 854 memset(pHdr, 0, sizeof(VBOXVHWACMD));854 memset(pHdr, 0, VBOXVHWACMD_HEADSIZE()); 855 855 pHdr->cRefs = 1; 856 856 pHdr->rc = VERR_GENERAL_FAILURE; … … 1165 1165 /* Guest submits an array of VBVAINFOVIEW structures. */ 1166 1166 VBVAINFOVIEW *pView = (VBVAINFOVIEW *)pvBuffer; 1167 1167 1168 1168 for (; 1169 1169 cbBuffer >= sizeof (VBVAINFOVIEW);
Note:
See TracChangeset
for help on using the changeset viewer.