Changeset 80424 in vbox
- Timestamp:
- Aug 26, 2019 2:12:45 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3DIf.h
r79792 r80424 30 30 #include <iprt/semaphore.h> 31 31 #include <iprt/win/d3d9.h> 32 #include "../../../Wine_new/vbox/VBoxWineEx.h"33 32 #include <d3dumddi.h> 34 33 #include "../../common/wddm/VBoxMPIf.h" 35 36 /* D3D functionality the VBOXDISPD3D provides */37 typedef HRESULT WINAPI FNVBOXDISPD3DCREATE9EX(UINT SDKVersion, IDirect3D9Ex **ppD3D);38 typedef FNVBOXDISPD3DCREATE9EX *PFNVBOXDISPD3DCREATE9EX;39 40 typedef struct VBOXDISPD3D41 {42 /* D3D functionality the VBOXDISPD3D provides */43 PFNVBOXDISPD3DCREATE9EX pfnDirect3DCreate9Ex;44 45 PFNVBOXWINEEXD3DDEV9_CREATETEXTURE pfnVBoxWineExD3DDev9CreateTexture;46 47 PFNVBOXWINEEXD3DDEV9_CREATECUBETEXTURE pfnVBoxWineExD3DDev9CreateCubeTexture;48 49 PFNVBOXWINEEXD3DDEV9_CREATEVOLUMETEXTURE pfnVBoxWineExD3DDev9CreateVolumeTexture;50 51 PFNVBOXWINEEXD3DDEV9_FLUSH pfnVBoxWineExD3DDev9Flush;52 53 PFNVBOXWINEEXD3DDEV9_VOLBLT pfnVBoxWineExD3DDev9VolBlt;54 55 PFNVBOXWINEEXD3DDEV9_VOLTEXBLT pfnVBoxWineExD3DDev9VolTexBlt;56 57 PFNVBOXWINEEXD3DDEV9_TERM pfnVBoxWineExD3DDev9Term;58 59 PFNVBOXWINEEXD3DSWAPCHAIN9_PRESENT pfnVBoxWineExD3DSwapchain9Present;60 61 PFNVBOXWINEEXD3DDEV9_FLUSHTOHOST pfnVBoxWineExD3DDev9FlushToHost;62 63 PFNVBOXWINEEXD3DDEV9_FINISH pfnVBoxWineExD3DDev9Finish;64 65 PFNVBOXWINEEXD3DSURF9_GETHOSTID pfnVBoxWineExD3DSurf9GetHostId;66 67 PFNVBOXWINEEXD3DSURF9_SYNCTOHOST pfnVBoxWineExD3DSurf9SyncToHost;68 69 PFNVBOXWINEEXD3DSWAPCHAIN9_GETHOSTWINID pfnVBoxWineExD3DSwapchain9GetHostWinID;70 71 PFNVBOXWINEEXD3DDEV9_GETHOSTID pfnVBoxWineExD3DDev9GetHostId;72 73 /* module handle */74 HMODULE hD3DLib;75 } VBOXDISPD3D;76 34 77 35 typedef struct VBOXWDDMDISP_FORMATS … … 94 52 UINT cMaxSimRTs; 95 53 96 /* Wine backend. */97 IDirect3D9Ex *pD3D9If;98 VBOXDISPD3D D3D;99 100 54 #ifdef VBOX_WITH_MESA3D 101 55 /* Gallium backend. */ … … 109 63 void VBoxDispD3DGlobalClose(PVBOXWDDMDISP_D3D pD3D, PVBOXWDDMDISP_FORMATS pFormats); 110 64 111 HRESULT VBoxDispD3DOpen(VBOXDISPD3D *pD3D);112 void VBoxDispD3DClose(VBOXDISPD3D *pD3D);113 114 65 #ifdef VBOX_WITH_VIDEOHWACCEL 115 66 HRESULT VBoxDispD3DGlobal2DFormatsInit(struct VBOXWDDMDISP_ADAPTER *pAdapter);
Note:
See TracChangeset
for help on using the changeset viewer.