Changeset 3413 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jul 4, 2007 2:31:52 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22617
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/OpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/OGLComplexSync.cpp
r3339 r3413 117 117 } 118 118 119 /* Test export for directly linking with vboxogl.dll */ 120 BOOL WINAPI wglDescribeLayerPlane(HDC hdc,int iPixelFormat, 121 int iLayerPlane, UINT nBytes, 122 LPLAYERPLANEDESCRIPTOR plpd) 123 { 124 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd); 125 } 126 119 127 int APIENTRY DrvGetLayerPaletteEntries(HDC hdc, int iLayerPlane, 120 128 int iStart, int cEntries, … … 125 133 } 126 134 135 /* Test export for directly linking with vboxogl.dll */ 136 int WINAPI wglGetLayerPaletteEntries(HDC hdc, int iLayerPlane, 137 int iStart, int cEntries, 138 COLORREF *pcr) 139 { 140 return DrvGetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr); 141 } 142 127 143 int APIENTRY DrvDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd) 128 144 { … … 130 146 VBOX_OGL_GEN_SYNC_OP4_PASS_PTR_RET(int, DrvDescribePixelFormat, hdc, iPixelFormat, nBytes, nBytes, ppfd); 131 147 return retval; 148 } 149 150 /* Test export for directly linking with vboxogl.dll */ 151 int WINAPI wglDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR ppfd) 152 { 153 return DrvDescribePixelFormat(hdc, iPixelFormat, nBytes, ppfd); 132 154 } 133 155 -
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/OGLSimpleSync.cpp
r3339 r3413 42 42 } 43 43 44 /* Test export for directly linking with vboxogl.dll */ 45 BOOL WINAPI wglCopyContext(HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask) 46 { 47 return DrvCopyContext(hglrcSrc, hglrcDst, mask); 48 } 49 44 50 void APIENTRY DrvReleaseContext(HGLRC hglrc) 45 51 { … … 51 57 VBOX_OGL_GEN_SYNC_OP2_RET(BOOL, DrvShareLists, hglrc1, hglrc2); 52 58 return retval; 59 } 60 61 BOOL WINAPI wglShareLists(HGLRC hglrc1, HGLRC hglrc2) 62 { 63 return DrvShareLists(hglrc1, hglrc2); 53 64 } 54 65 … … 61 72 } 62 73 74 /* Test export for directly linking with vboxogl.dll */ 75 int WINAPI wglSetLayerPaletteEntries(HDC hdc, int iLayerPlane, 76 int iStart, int cEntries, 77 CONST COLORREF *pcr) 78 { 79 return DrvSetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr); 80 } 81 63 82 BOOL APIENTRY DrvRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize) 64 83 { … … 67 86 } 68 87 88 /* Test export for directly linking with vboxogl.dll */ 89 BOOL WINAPI wglRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize) 90 { 91 return DrvRealizeLayerPalette(hdc, iLayerPlane, bRealize); 92 } 93 69 94 BOOL APIENTRY DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes) 70 95 { … … 73 98 } 74 99 100 /* Test export for directly linking with vboxogl.dll */ 101 BOOL WINAPI wglSwapLayerBuffers(HDC hdc, UINT fuPlanes) 102 { 103 return DrvSwapLayerBuffers(hdc, fuPlanes); 104 } 105 75 106 BOOL APIENTRY DrvSetPixelFormat(HDC hdc, int iPixelFormat) 76 107 { 77 VBOX_OGL_GEN_SYNC_OP1_RET(BOOL, DrvSetPixelFormat, hdc); 78 return retval; 108 VBOX_OGL_GEN_SYNC_OP2_RET(BOOL, DrvSetPixelFormat, hdc, iPixelFormat); 109 return retval; 110 } 111 112 /* Test export for directly linking with vboxogl.dll */ 113 BOOL WINAPI wglSetPixelFormat(HDC hdc, int iPixelFormat) 114 { 115 return DrvSetPixelFormat(hdc, iPixelFormat); 79 116 } 80 117 -
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/drv.cpp
r3339 r3413 76 76 } 77 77 78 /* Test export for directly linking with vboxogl.dll */ 79 PROC WINAPI wglGetProcAddress(LPCSTR lpszProc) 80 { 81 return DrvGetProcAddress(lpszProc); 82 } 83 78 84 BOOL APIENTRY DrvValidateVersion(DWORD version) 79 85 {
Note:
See TracChangeset
for help on using the changeset viewer.