Changeset 51836 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 3, 2014 9:40:21 AM (11 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r51761 r51836 4622 4622 * Internal vgaPortUpdateDisplayAll worker called under pThis->CritSect. 4623 4623 */ 4624 static int updateDisplayAll(PVGASTATE pThis )4624 static int updateDisplayAll(PVGASTATE pThis, bool fFailOnResize) 4625 4625 { 4626 4626 PPDMDEVINS pDevIns = pThis->CTX_SUFF(pDevIns); … … 4645 4645 pThis->graphic_mode = -1; /* force full update */ 4646 4646 4647 return vga_update_display(pThis, true, true, true,4647 return vga_update_display(pThis, true, fFailOnResize, true, 4648 4648 pThis->pDrv, &pThis->graphic_mode); 4649 4649 } 4650 4650 4651 4651 4652 int vgaUpdateDisplayAll(PVGASTATE pThis )4652 int vgaUpdateDisplayAll(PVGASTATE pThis, bool fFailOnResize) 4653 4653 { 4654 4654 #ifdef DEBUG_sunlover … … 4659 4659 AssertRC(rc); 4660 4660 4661 rc = updateDisplayAll(pThis );4661 rc = updateDisplayAll(pThis, fFailOnResize); 4662 4662 4663 4663 PDMCritSectLeave(&pThis->CritSect); … … 4671 4671 * @see PDMIKEYBOARDPORT::pfnUpdateDisplayAll() for details. 4672 4672 */ 4673 static DECLCALLBACK(int) vgaPortUpdateDisplayAll(PPDMIDISPLAYPORT pInterface )4673 static DECLCALLBACK(int) vgaPortUpdateDisplayAll(PPDMIDISPLAYPORT pInterface, bool fFailOnResize) 4674 4674 { 4675 4675 PVGASTATE pThis = IDISPLAYPORT_2_VGASTATE(pInterface); … … 4678 4678 /* This is called both in VBVA mode and normal modes. */ 4679 4679 4680 return vgaUpdateDisplayAll(pThis );4680 return vgaUpdateDisplayAll(pThis, fFailOnResize); 4681 4681 } 4682 4682 -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r51461 r51836 651 651 int vboxVBVALoadStateDone (PPDMDEVINS pDevIns, PSSMHANDLE pSSM); 652 652 653 int vgaUpdateDisplayAll(PVGASTATE pThis );653 int vgaUpdateDisplayAll(PVGASTATE pThis, bool fFailOnResize); 654 654 655 655 # ifdef VBOX_WITH_VDMA -
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r51816 r51836 1143 1143 } 1144 1144 1145 vgaUpdateDisplayAll(pVdma->pVGAState );1145 vgaUpdateDisplayAll(pVdma->pVGAState, /* fFailOnResize = */ false); 1146 1146 1147 1147 return VINF_SUCCESS; … … 1606 1606 1607 1607 /* do vgaUpdateDisplayAll right away */ 1608 vgaUpdateDisplayAll(pVdma->pVGAState );1608 vgaUpdateDisplayAll(pVdma->pVGAState, /* fFailOnResize = */ false); 1609 1609 1610 1610 return VBoxVDMAThreadTerm(&pVdma->Thread, NULL, NULL, false);
Note:
See TracChangeset
for help on using the changeset viewer.