- Timestamp:
- Apr 19, 2007 11:24:47 AM (18 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r2210 r2212 273 273 274 274 /* The method also unlocks the framebuffer. */ 275 handleResizeCompletedEMT( );275 handleResizeCompletedEMT(false /* fAsync */); 276 276 277 277 return VINF_SUCCESS; … … 284 284 * @thread EMT 285 285 */ 286 void Display::handleResizeCompletedEMT ( void)286 void Display::handleResizeCompletedEMT (bool fAsync) 287 287 { 288 288 LogFlowFunc(("\n")); … … 323 323 AssertRelease(f);NOREF(f); 324 324 325 /* Repaint the display. This could lead to a new call to handleDisplayResize, so do this after the status change. */ 326 // @todo mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort); 325 if (fAsync) 326 { 327 /* Repaint the display, but only if the resize was asynchronous. That is only 328 * when VINF_VGA_RESIZE_IN_PROGRESS was returned to the VGA device and VM continued 329 * to run during the framebuffer resize. */ 330 mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort); 331 } 327 332 } 328 333 … … 1795 1800 LogFlowFunc (("ResizeStatus_UpdateDisplayData\n")); 1796 1801 /* The framebuffer was resized and display data need to be updated. */ 1797 pDisplay->handleResizeCompletedEMT ( );1802 pDisplay->handleResizeCompletedEMT (true /* fAsync */); 1798 1803 /* Continue with normal processing because the status here is ResizeStatus_Void. */ 1799 1804 Assert (pDisplay->mu32ResizeStatus == ResizeStatus_Void); -
trunk/src/VBox/Main/include/DisplayImpl.h
r2106 r2212 185 185 void vbvaReleaseCmd (VBVACMDHDR *pHdr, int32_t cbCmd); 186 186 187 void handleResizeCompletedEMT ( void);187 void handleResizeCompletedEMT (bool fAsync); 188 188 volatile uint32_t mu32ResizeStatus; 189 189
Note:
See TracChangeset
for help on using the changeset viewer.