- Timestamp:
- Apr 4, 2019 7:49:21 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r77958 r78011 1419 1419 int vmsvgaUpdateScreen(PVGASTATE pThis, VMSVGASCREENOBJECT *pScreen, int x, int y, int w, int h) 1420 1420 { 1421 if (pThis->svga.fGFBRegisters) 1422 { 1423 vgaR3UpdateDisplay(pThis, x, y, w, h); 1424 } 1425 else 1426 { 1427 VBVACMDHDR cmd; 1428 cmd.x = (int16_t)(pScreen->xOrigin + x); 1429 cmd.y = (int16_t)(pScreen->yOrigin + y); 1430 cmd.w = (uint16_t)w; 1431 cmd.h = (uint16_t)h; 1432 1433 pThis->pDrv->pfnVBVAUpdateBegin(pThis->pDrv, pScreen->idScreen); 1434 pThis->pDrv->pfnVBVAUpdateProcess(pThis->pDrv, pScreen->idScreen, &cmd, sizeof(cmd)); 1435 pThis->pDrv->pfnVBVAUpdateEnd(pThis->pDrv, pScreen->idScreen, 1436 pScreen->xOrigin + x, pScreen->yOrigin + y, w, h); 1437 } 1421 VBVACMDHDR cmd; 1422 cmd.x = (int16_t)(pScreen->xOrigin + x); 1423 cmd.y = (int16_t)(pScreen->yOrigin + y); 1424 cmd.w = (uint16_t)w; 1425 cmd.h = (uint16_t)h; 1426 1427 pThis->pDrv->pfnVBVAUpdateBegin(pThis->pDrv, pScreen->idScreen); 1428 pThis->pDrv->pfnVBVAUpdateProcess(pThis->pDrv, pScreen->idScreen, &cmd, sizeof(cmd)); 1429 pThis->pDrv->pfnVBVAUpdateEnd(pThis->pDrv, pScreen->idScreen, 1430 pScreen->xOrigin + x, pScreen->yOrigin + y, w, h); 1438 1431 1439 1432 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.