Changeset 59177 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Dec 17, 2015 4:35:51 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPCr.cpp
r58181 r59177 1057 1057 if (RT_FAILURE(rc)) 1058 1058 { 1059 LOGREL(("VBoxMpCrCtlConConnectHgcm failed with rc(%d), 3D not supported!" ));1059 LOGREL(("VBoxMpCrCtlConConnectHgcm failed with rc(%d), 3D not supported!", rc)); 1060 1060 return; 1061 1061 } 1062 1063 g_VBoxMpCr3DSupported = 1;1064 1062 1065 1063 rc = vboxMpCrCtlConGetCapsNew(&CrCtlCon, u32ClientID, &g_VBoxMpCrHostCapsInfo); … … 1076 1074 } 1077 1075 1076 if (g_VBoxMpCrHostCapsInfo.u32Caps & CR_VBOX_CAP_HOST_CAPS_NOT_SUFFICIENT) 1077 { 1078 LOGREL(("Insufficient host 3D capabilities")); 1079 g_VBoxMpCr3DSupported = 0; 1080 memset(&g_VBoxMpCrHostCapsInfo, 0, sizeof (g_VBoxMpCrHostCapsInfo)); 1081 } 1082 else 1083 { 1084 g_VBoxMpCr3DSupported = 1; 1085 } 1086 1078 1087 #if 0 //ndef DEBUG_misha 1079 1088 g_VBoxMpCrHostCapsInfo.u32Caps &= ~CR_VBOX_CAP_CMDVBVA; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r58974 r59177 7522 7522 #endif 7523 7523 } 7524 else7525 {7526 /* If host reports minimal OpenGL capabilities. */7527 if (VBoxMpCrGetHostCaps() & CR_VBOX_CAP_HOST_CAPS_NOT_SUFFICIENT)7528 {7529 LOGREL(("Host reported minimal OpenGL capabilities. Rolling back."));7530 /* The proper fix would be to switch driver to display-only mode, however, it is currently broken (at least for Win8.1 guests).7531 'Status = STATUS_UNSUCCESSFUL;' prevents driver from loading and therefore forces Windows to use its default driver => 3D content is shown.7532 The 'g_VBoxDisplayOnly = 1;' is commented out intentionally; please uncomment when display-only mode will be7533 fixed and remove 'Status = STATUS_UNSUCCESSFUL;' one. */7534 Status = STATUS_UNSUCCESSFUL;7535 #ifdef VBOX_WDDM_WIN87536 //g_VBoxDisplayOnly = 1;7537 #endif7538 }7539 }7540 7524 7541 7525 #if 0 //defined(DEBUG_misha) && defined(VBOX_WDDM_WIN8)
Note:
See TracChangeset
for help on using the changeset viewer.