Changeset 54567 in vbox for trunk/src/VBox/Main/src-client/DisplayImpl.cpp
- Timestamp:
- Feb 27, 2015 8:33:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r54494 r54567 1002 1002 /* No updates for a disabled guest screen. */ 1003 1003 if (maFramebuffers[uScreenId].fDisabled) 1004 return; 1005 1006 /* No updates for a blank guest screen. */ 1007 if (maFramebuffers[uScreenId].flags & VBVA_SCREEN_F_BLANK) 1004 1008 return; 1005 1009 … … 2719 2723 } 2720 2724 2725 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId]; 2726 2727 /* No source bitmap for a blank guest screen. */ 2728 if (pFBInfo->flags & VBVA_SCREEN_F_BLANK) 2729 { 2730 aDisplaySourceBitmap = NULL; 2731 return E_FAIL; 2732 } 2733 2721 2734 HRESULT hr = S_OK; 2722 2735 2723 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId];2724 2736 if (pFBInfo->pSourceBitmap.isNull()) 2725 2737 { … … 3887 3899 } 3888 3900 3901 /* If the screen if blanked, then do a resize request to make sure that the framebuffer 3902 * switches to the default format. 3903 */ 3904 fResize = fResize || RT_BOOL(pScreen->u16Flags & VBVA_SCREEN_F_BLANK); 3905 3889 3906 /* Check if this is a real resize or a notification about the screen origin. 3890 3907 * The guest uses this VBVAResize call for both.
Note:
See TracChangeset
for help on using the changeset viewer.