VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.h@ 29432

Last change on this file since 29432 was 29432, checked in by vboxsync, 15 years ago

wddm/d3d: load/init wine d3d9 lib

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/** @file
2 *
3 * VBoxVideo Display D3D User mode dll
4 *
5 * Copyright (C) 2010 Oracle Corporation
6 *
7 * This file is part of VirtualBox Open Source Edition (OSE), as
8 * available from http://www.virtualbox.org. This file is free software;
9 * you can redistribute it and/or modify it under the terms of the GNU
10 * General Public License (GPL) as published by the Free Software
11 * Foundation, in version 2 as it comes in the "COPYING" file of the
12 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 */
15#ifndef ___VBoxDispD3D_h___
16#define ___VBoxDispD3D_h___
17
18#include "VBoxDispD3DIf.h"
19
20#include <iprt/cdefs.h>
21
22typedef struct VBOXWDDMDISP_ADAPTER
23{
24 HANDLE hAdapter;
25 UINT uIfVersion;
26 UINT uRtVersion;
27 VBOXDISPD3D D3D;
28 IDirect3D9Ex * pD3D9If;
29 D3DDDI_ADAPTERCALLBACKS RtCallbacks;
30} VBOXWDDMDISP_ADAPTER, *PVBOXWDDMDISP_ADAPTER;
31
32typedef struct VBOXWDDMDISP_DEVICE
33{
34 HANDLE hDevice;
35 PVBOXWDDMDISP_ADAPTER pAdapter;
36 UINT u32IfVersion;
37 UINT uRtVersion;
38 D3DDDI_DEVICECALLBACKS RtCallbacks;
39 VOID *pvCmdBuffer;
40 UINT cbCmdBuffer;
41 D3DDDI_CREATEDEVICEFLAGS fFlags;
42} VBOXWDDMDISP_DEVICE, *PVBOXWDDMDISP_DEVICE;
43
44DECLINLINE(bool) vboxDispD3DIs3DEnabled(VBOXWDDMDISP_ADAPTER * pAdapter)
45{
46 return pAdapter->pD3D9If;
47}
48
49#endif /* #ifndef ___VBoxDispD3D_h___ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette