Changeset 51836 in vbox for trunk/src/VBox/Devices/Graphics/DevVGA.cpp
- Timestamp:
- Jul 3, 2014 9:40:21 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94686
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.