Changeset 81221 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Oct 11, 2019 8:50:59 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r81031 r81221 2670 2670 2671 2671 static int vga_update_display(PVGASTATE pThis, bool fUpdateAll, bool fFailOnResize, bool reset_dirty, 2672 PDMIDISPLAYCONNECTOR *pDrv, int32_t *pcur_graphic_mode)2672 PDMIDISPLAYCONNECTOR *pDrv, int32_t *pcur_graphic_mode) 2673 2673 { 2674 2674 int rc = VINF_SUCCESS; … … 4425 4425 uint32_t cCols = cbLine / 8; 4426 4426 4427 if (fAll) {4427 if (fAll) 4428 4428 vgaInfoTextWorker(pThis, pHlp, offStart - iScrBegin * cbLine, cbLine, 4429 4429 cCols, cRows, iScrBegin, iScrBegin + cScrRows); 4430 } else {4430 else 4431 4431 vgaInfoTextWorker(pThis, pHlp, offStart, cbLine, cCols, cScrRows, 0, cScrRows); 4432 }4433 4432 } 4434 4433 else … … 4759 4758 } 4760 4759 4761 rc = vga_update_display(pThis, false , false, true,4762 pThis->pDrv, &pThis->graphic_mode);4760 rc = vga_update_display(pThis, false /*fUpdateAll*/, false /*fFailOnResize*/, true /*reset_dirty*/, 4761 pThis->pDrv, &pThis->graphic_mode); 4763 4762 PDMCritSectLeave(&pThis->CritSect); 4764 4763 return rc; … … 4792 4791 pThis->graphic_mode = -1; /* force full update */ 4793 4792 4794 return vga_update_display(pThis, true, fFailOnResize, true, 4795 pThis->pDrv, &pThis->graphic_mode); 4793 return vga_update_display(pThis, true /*fUpdateAll*/, fFailOnResize, true /*reset_dirty*/, pThis->pDrv, &pThis->graphic_mode); 4796 4794 } 4797 4795 … … 4949 4947 * If there is a pending resize, the function will fail. 4950 4948 */ 4951 rc = vga_update_display(pThis, false, true, false, &Connector, &cur_graphic_mode); 4949 rc = vga_update_display(pThis, false /*fUpdateAll*/, true /*fFailOnResize*/, false /*reset_dirty*/, 4950 &Connector, &cur_graphic_mode); 4952 4951 4953 4952 pThis->fRenderVRAM = fSavedRenderVRAM;
Note:
See TracChangeset
for help on using the changeset viewer.