儲存庫 vbox 的更動 37273
- 時間撮記:
- 2011-5-31 上午11:44:48 (13 年 以前)
- 位置:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/Makefile.kmk
r36867 r37273 32 32 ifdef VBOX_WITH_VIDEOHWACCEL 33 33 VBoxDisp_DEFS += VBOX_WITH_VIDEOHWACCEL 34 endif 35 ifdef VBOX_WITH_CROGL 36 VBoxDisp_DEFS += VBOX_WITH_CROGL 34 37 endif 35 38 #VBoxDisp_DEFS += VBOX_VBVA_ADJUST_RECT -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDriver.cpp
r36867 r37273 111 111 }; 112 112 113 #ifdef VBOX_WITH_CROGL 114 typedef struct 115 { 116 DWORD dwVersion; 117 DWORD dwDriverVersion; 118 WCHAR szDriverName[256]; 119 } OPENGL_INFO, *POPENGL_INFO; 120 #endif 121 113 122 RT_C_DECLS_BEGIN 114 123 ULONG __cdecl DbgPrint(PCH pszFormat, ...) … … 864 873 switch (iEsc) 865 874 { 875 #ifdef VBOX_WITH_CROGL 876 case OPENGL_GETINFO: 877 { 878 if (pvOut && cjOut >= sizeof(OPENGL_INFO)) 879 { 880 POPENGL_INFO pInfo = (POPENGL_INFO)pvOut; 881 882 pInfo->dwVersion = 2; 883 pInfo->dwDriverVersion = 1; 884 pInfo->szDriverName[0] = 'V'; 885 pInfo->szDriverName[1] = 'B'; 886 pInfo->szDriverName[2] = 'o'; 887 pInfo->szDriverName[3] = 'x'; 888 pInfo->szDriverName[4] = 'O'; 889 pInfo->szDriverName[5] = 'G'; 890 pInfo->szDriverName[6] = 'L'; 891 pInfo->szDriverName[7] = 0; 892 893 LOG(("OPENGL_GETINFO ok")); 894 return cjOut; 895 } 896 else 897 { 898 WARN(("OPENGL_GETINFO invalid parms")); 899 return 0; 900 } 901 } 902 case QUERYESCSUPPORT: 903 { 904 if (pvIn && cjIn == sizeof(DWORD)) 905 { 906 DWORD nEscapeQuery = *(DWORD *)pvIn; 907 908 if (nEscapeQuery==OPENGL_GETINFO) 909 { 910 LOG(("QUERYESCSUPPORT OPENGL_GETINFO")); 911 return 1; 912 } 913 else 914 { 915 LOG(("QUERYESCSUPPORT unsupported query %d", nEscapeQuery)); 916 return 0; 917 } 918 } 919 else 920 { 921 WARN(("QUERYESCSUPPORT invalid parms")); 922 return 0; 923 } 924 } 925 #endif 866 926 case VBOXESC_ISVRDPACTIVE: 867 927 {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器