Changeset 54565 in vbox for trunk/src/VBox
- Timestamp:
- Feb 27, 2015 8:13:49 PM (10 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp
r53970 r54565 362 362 return rc; 363 363 } 364 365 366 /** 367 * Query the supported flags in VBVAINFOSCREEN::u16Flags. 368 * 369 * @returns The mask of VBVA_SCREEN_F_* flags or 0 if host does not support the request. 370 * @param pCtx the context containing the heap to use 371 */ 372 RTDECL(uint16_t) VBoxHGSMIGetScreenFlags(PHGSMIGUESTCOMMANDCONTEXT pCtx) 373 { 374 uint32_t u32Flags = 0; 375 int rc = VBoxQueryConfHGSMI(pCtx, VBOX_VBVA_CONF32_SCREEN_FLAGS, &u32Flags); 376 LogFunc(("u32Flags = 0x%x rc %Rrc\n", u32Flags, rc)); 377 if (RT_FAILURE(rc)) 378 u32Flags = 0; 379 return (uint16_t)u32Flags; 380 } -
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r54168 r54565 2190 2190 pConf32->u32Value = pVGAState->fHostCursorCapabilities; 2191 2191 } 2192 else if (pConf32->u32Index == VBOX_VBVA_CONF32_SCREEN_FLAGS) 2193 { 2194 pConf32->u32Value = VBVA_SCREEN_F_ACTIVE | VBVA_SCREEN_F_DISABLED | VBVA_SCREEN_F_BLANK; 2195 } 2192 2196 else 2193 2197 {
Note:
See TracChangeset
for help on using the changeset viewer.