- Timestamp:
- Jan 13, 2011 4:20:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r35545 r35547 2519 2519 * it to update. And for default format, render the guest VRAM to framebuffer. 2520 2520 */ 2521 if (pFBInfo->fDefaultFormat) 2521 if ( pFBInfo->fDefaultFormat 2522 && !(pFBInfo->flags & VBVA_SCREEN_F_DISABLED)) 2522 2523 { 2523 2524 address = NULL; … … 2643 2644 else 2644 2645 { 2645 if (!pFBInfo->pFramebuffer.isNull()) 2646 if ( !pFBInfo->pFramebuffer.isNull() 2647 && !(pFBInfo->flags & VBVA_SCREEN_F_DISABLED)) 2646 2648 { 2647 2649 /* Render complete VRAM screen to the framebuffer. … … 2812 2814 IFramebuffer *pFramebuffer = maFramebuffers[VBOX_VIDEO_PRIMARY_SCREEN].pFramebuffer; 2813 2815 2814 if (pFramebuffer) 2816 if ( pFramebuffer 2817 && !( maFramebuffers[VBOX_VIDEO_PRIMARY_SCREEN].flags 2818 & VBVA_SCREEN_F_DISABLED)) 2815 2819 { 2816 2820 HRESULT rc; … … 3573 3577 pDrv->pUpPort->pfnUpdateDisplayRect (pDrv->pUpPort, pCmd->x, pCmd->y, pCmd->w, pCmd->h); 3574 3578 } 3575 else if (!pFBInfo->pFramebuffer.isNull()) 3579 else if ( !pFBInfo->pFramebuffer.isNull() 3580 && !(pFBInfo->flags & VBVA_SCREEN_F_DISABLED)) 3576 3581 { 3577 3582 /* Render VRAM content to the framebuffer. */ … … 3696 3701 pThis->handleDisplayResize(pScreen->u32ViewIndex, 0, 3697 3702 (uint8_t *)NULL, 3698 0, pFBInfo->w, pFBInfo->h, pScreen->u16Flags);3703 0, 640, 480, pScreen->u16Flags); 3699 3704 3700 3705 fireGuestMonitorChangedEvent(pThis->mParent->getEventSource(),
Note:
See TracChangeset
for help on using the changeset viewer.