Changeset 3418 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display
- Timestamp:
- Jul 4, 2007 3:41:51 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22624
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/Makefile.kmk
r3397 r3418 31 31 VBoxDisp_SDKS = W2K3DDKX86 WINPSDKINCS 32 32 VBoxDisp_SYSSUFF = .dll 33 VBoxDisp_DEFS = _WIN32_WINNT=0x0501 LOG_TO_BACKDOOR VBOX_WITH_DDRAW 33 VBoxDisp_DEFS = _WIN32_WINNT=0x0501 LOG_TO_BACKDOOR VBOX_WITH_DDRAW VBOX_WITH_OPENGL 34 34 #VBoxDisp_DEFS += LOG_ENABLED 35 35 #VBoxDisp_DEFS += STAT_sunlover -
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r3416 r3418 104 104 }; 105 105 106 #ifdef VBOX_WITH_OPENGL107 typedef struct108 {109 DWORD dwVersion;110 DWORD dwDriverVersion;111 WCHAR szDriverName[256];112 } OPENGL_INFO, *POPENGL_INFO;113 #endif114 115 106 /* The global semaphore handle for all driver instances. */ 116 107 extern HSEMAPHORE ghsemHwBuffer; -
trunk/src/VBox/Additions/WINNT/Graphics/Display/enable.c
r3417 r3418 83 83 case OPENGL_GETINFO: 84 84 { 85 if ( cjOut == sizeof(OPENGL_INFO) 86 && pvOut) 87 { 88 POPENGL_INFO pInfo = (POPENGL_INFO)pvOut; 89 90 pInfo->dwVersion = 2; 91 pInfo->dwDriverVersion = 1; 92 pInfo->szDriverName[0] = 'V'; 93 pInfo->szDriverName[1] = 'B'; 94 pInfo->szDriverName[2] = 'o'; 95 pInfo->szDriverName[3] = 'x'; 96 pInfo->szDriverName[4] = 'O'; 97 pInfo->szDriverName[5] = 'G'; 98 pInfo->szDriverName[6] = 'L'; 99 pInfo->szDriverName[7] = 0; 100 101 DISPDBG((0, "OPENGL_GETINFO\n")); 102 return cjOut; 103 } 104 else 105 DISPDBG((0, "OPENGL_GETINFO invalid size %d\n", cjOut)); 106 85 /* It doesn't matter that we fail here. Opengl32 will fall back to software rendering when this escape is not supported. */ 86 DISPDBG((0, "OPENGL_GETINFO size %d\n", cjOut)); 107 87 break; 108 88 }
Note:
See TracChangeset
for help on using the changeset viewer.