2 * Copyright 2014 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 import
"d3dcommon.idl";
26 uuid(5c1e0d8a
-7c23
-48f9
-8c59
-a92958ceff11
),
29 pointer_default(unique)
31 interface ID3DDeviceContextState
: ID3D11DeviceChild
36 uuid(bb2c6faa
-b5fb
-4082-8e6b
-388b8cfa90e1
),
39 pointer_default(unique)
41 interface ID3D11DeviceContext1
: ID3D11DeviceContext
43 void CopySubresourceRegion1
(
44 ID3D11Resource
*pDstResource
,
49 ID3D11Resource
*pSrcResource
,
51 const D3D11_BOX
*pSrcBox
,
54 void UpdateSubresource1
(
55 ID3D11Resource
*pDstResource
,
57 const D3D11_BOX
*pDstBox
,
63 void DiscardResource
(ID3D11Resource
*pResource
);
65 void DiscardView
(ID3D11View
*pResourceView
);
67 void VSSetConstantBuffers1
(
70 ID3D11Buffer
*const *ppConstantBuffers
,
71 const UINT
*pFirstConstant
,
72 const UINT
*pNumConstants
);
74 void HSSetConstantBuffers1
(
77 ID3D11Buffer
*const *ppConstantBuffers
,
78 const UINT
*pFirstConstant
,
79 const UINT
*pNumConstants
);
81 void DSSetConstantBuffers1
(
84 ID3D11Buffer
*const *ppConstantBuffers
,
85 const UINT
*pFirstConstant
,
86 const UINT
*pNumConstants
);
88 void GSSetConstantBuffers1
(
91 ID3D11Buffer
*const *ppConstantBuffers
,
92 const UINT
*pFirstConstant
,
93 const UINT
*pNumConstants
);
95 void PSSetConstantBuffers1
(
98 ID3D11Buffer
*const *ppConstantBuffers
,
99 const UINT
*pFirstConstant
,
100 const UINT
*pNumConstants
);
102 void CSSetConstantBuffers1
(
105 ID3D11Buffer
*const *ppConstantBuffers
,
106 const UINT
*pFirstConstant
,
107 const UINT
*pNumConstants
);
109 void VSGetConstantBuffers1
(
112 ID3D11Buffer
**ppConstantBuffers
,
113 UINT
*pFirstConstant
,
114 UINT
*pNumConstants
);
116 void HSGetConstantBuffers1
(
119 ID3D11Buffer
**ppConstantBuffers
,
120 UINT
*pFirstConstant
,
121 UINT
*pNumConstants
);
123 void DSGetConstantBuffers1
(
126 ID3D11Buffer
**ppConstantBuffers
,
127 UINT
*pFirstConstant
,
128 UINT
*pNumConstants
);
130 void GSGetConstantBuffers1
(
133 ID3D11Buffer
**ppConstantBuffers
,
134 UINT
*pFirstConstant
,
135 UINT
*pNumConstants
);
137 void PSGetConstantBuffers1
(
140 ID3D11Buffer
**ppConstantBuffers
,
141 UINT
*pFirstConstant
,
142 UINT
*pNumConstants
);
144 void CSGetConstantBuffers1
(
147 ID3D11Buffer
**ppConstantBuffers
,
148 UINT
*pFirstConstant
,
149 UINT
*pNumConstants
);
151 void SwapDeviceContextState
(
152 ID3DDeviceContextState
*pState
,
153 ID3DDeviceContextState
**ppPreviousState
);
158 const D3D11_RECT
*pRect
,
162 ID3D11View
*pResourceView
,
163 const D3D11_RECT
*pRects
,
168 uuid(b2daad8b
-03d4
-4dbf
-95eb
-32ab4b63d0ab
),
171 pointer_default(unique)
173 interface ID3DUserDefinedAnnotation
: IUnknown
175 INT BeginEvent
(LPCWSTR Name
);
177 void SetMarker
(LPCWSTR Name
);