ReactOS 0.4.17-dev-934-g091855f
dxgi1_3.idl
Go to the documentation of this file.
1/*
2 * Copyright 2017 Ihsan Akmal
3 *
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.
8 *
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.
13 *
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
17 */
18
19import "dxgi1_2.idl";
20
21typedef struct DXGI_MATRIX_3X2_F
22{
23 float _11;
24 float _12;
25 float _21;
26 float _22;
27 float _31;
28 float _32;
30
32{
35
37{
42
44{
50
52{
61
63{
67
68[
69 object,
70 uuid(6007896c-3244-4afd-bf18-a6d3beda5023),
71 local,
73]
74interface IDXGIDevice3 : IDXGIDevice2
75{
76 void Trim();
77}
78
79[
80 object,
81 uuid(a8be2ac4-199f-4946-b331-79599fb98de7),
82 local,
84]
86{
88
90 [out] UINT *width,
91 [out] UINT *height
92 );
93
95
97 [out] UINT *max_latency
98 );
99
101
103
106 );
107}
108
109[
110 object,
111 uuid(595e39d1-2724-4663-99b1-da969de28364),
112 local,
114]
116{
118}
119
120[
121 object,
122 uuid(25483823-cd46-4c7d-86ca-47aa95b837bd),
123 local,
125]
126interface IDXGIFactory3 : IDXGIFactory2
127{
129}
130
131[
132 object,
133 uuid(2633066b-4514-4c7a-8fd8-12ea98059d18),
134 local,
136]
138{
139 HRESULT PresentBuffer(UINT buffer_to_present, UINT sync_interval, UINT flags);
140
142
144
146
148 [out] RECT *rect
149 );
150
152 [out] RECT *rect
153 );
154
156 [out] UINT *width,
157 [out] UINT *height
158 );
159
161
163}
164
165[
166 object,
167 uuid(41e7d1f2-a591-4f7b-a2e5-fa9c843e1c12),
168 local,
170]
172{
174 [in] IUnknown *device,
175 [in] HANDLE surface,
177 [in] IDXGIOutput *restrict_to_output,
178 [out] IDXGISwapChain1 **swapchain
179 );
180
182 [in] IUnknown *device,
183 [in] HANDLE surface,
185 [in] IDXGIResource *yuv_decode_buffers,
186 [in] IDXGIOutput *restrict_to_output,
187 [out] IDXGIDecodeSwapChain **swapchain
188 );
189}
190
191[
192 object,
193 uuid(dd95b90b-f05f-4f6a-bd65-25bfb264bd84),
194 local,
196]
198{
201 );
202
204
206 UINT desired_present_duration,
207 [out] UINT *closest_smaller_present_duration,
208 [out] UINT *closest_larger_present_duration
209 );
210}
211
212[
213 object,
214 uuid(8a6bb301-7e7e-41F4-a8e0-5b32f7f99b18),
215 local,
217]
219{
222 [out] IUnknown *concerned_device,
223 [out] UINT *flags
224 );
225}
226
228
230
RECT rect
Definition: combotst.c:67
static const WCHAR ca[]
Definition: main.c:443
#define __stdcall
Definition: corecrt.h:120
int enum_format
Definition: bitmap.c:513
const UINT DXGI_CREATE_FACTORY_DEBUG
Definition: dxgi1_3.idl:227
HRESULT __stdcall DXGIGetDebugInterface1(UINT flags, REFIID iid, void **debug)
Definition: dxgi_main.c:246
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS
Definition: dxgi1_3.idl:37
@ DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709
Definition: dxgi1_3.idl:39
@ DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC
Definition: dxgi1_3.idl:40
@ DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE
Definition: dxgi1_3.idl:38
DXGI_OVERLAY_SUPPORT_FLAG
Definition: dxgi1_3.idl:63
@ DXGI_OVERLAY_SUPPORT_FLAG_DIRECT
Definition: dxgi1_3.idl:64
@ DXGI_OVERLAY_SUPPORT_FLAG_SCALING
Definition: dxgi1_3.idl:65
HRESULT __stdcall CreateDXGIFactory2(UINT flags, REFIID iid, void **factory)
Definition: dxgi_main.c:56
DXGI_FRAME_PRESENTATION_MODE
Definition: dxgi1_3.idl:44
@ DXGI_FRAME_PRESENTATION_MODE_NONE
Definition: dxgi1_3.idl:47
@ DXGI_FRAME_PRESENTATION_MODE_COMPOSED
Definition: dxgi1_3.idl:45
@ DXGI_FRAME_PRESENTATION_MODE_OVERLAY
Definition: dxgi1_3.idl:46
@ DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE
Definition: dxgi1_3.idl:48
DXGI_FORMAT
Definition: dxgiformat.idl:22
unsigned int BOOL
Definition: ntddk_ex.h:94
#define local
Definition: zutil.h:30
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
const GLubyte * c
Definition: glext.h:8905
GLfloat f
Definition: glext.h:7540
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLuint GLenum matrix
Definition: glext.h:9407
GLuint in
Definition: glext.h:9616
GLbitfield flags
Definition: glext.h:7161
unsigned int UINT
Definition: sysinfo.c:13
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS GetColorSpace()
HRESULT SetSourceRect(const RECT *rect)
HRESULT PresentBuffer(UINT buffer_to_present, UINT sync_interval, UINT flags)
HRESULT GetTargetRect([out] RECT *rect)
HRESULT GetDestSize([out] UINT *width, [out] UINT *height)
HRESULT GetSourceRect([out] RECT *rect)
HRESULT SetDestSize(UINT width, UINT height)
HRESULT SetTargetRect(const RECT *rect)
HRESULT SetColorSpace(DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS colorspace)
UINT GetCreationFlags()
HRESULT CreateDecodeSwapChainForCompositionSurfaceHandle([in] IUnknown *device, [in] HANDLE surface, [in] DXGI_DECODE_SWAP_CHAIN_DESC *desc, [in] IDXGIResource *yuv_decode_buffers, [in] IDXGIOutput *restrict_to_output, [out] IDXGIDecodeSwapChain **swapchain)
HRESULT CreateSwapChainForCompositionSurfaceHandle([in] IUnknown *device, [in] HANDLE surface, [in] const DXGI_SWAP_CHAIN_DESC1 *desc, [in] IDXGIOutput *restrict_to_output, [out] IDXGISwapChain1 **swapchain)
BOOL SupportsOverlays()
HRESULT CheckOverlaySupport([in] DXGI_FORMAT enum_format, [out] IUnknown *concerned_device, [out] UINT *flags)
HRESULT SetMatrixTransform(const DXGI_MATRIX_3X2_F *matrix)
HANDLE GetFrameLatencyWaitableObject()
HRESULT GetMatrixTransform([out] DXGI_MATRIX_3X2_F *matrix)
HRESULT GetMaximumFrameLatency([out] UINT *max_latency)
HRESULT GetSourceSize([out] UINT *width, [out] UINT *height)
HRESULT SetSourceSize(UINT width, UINT height)
HRESULT SetMaximumFrameLatency(UINT max_latency)
HRESULT CheckPresentDurationSupport(UINT desired_present_duration, [out] UINT *closest_smaller_present_duration, [out] UINT *closest_larger_present_duration)
HRESULT SetPresentDuration(UINT duration)
HRESULT GetFrameStatisticsMedia([out] DXGI_FRAME_STATISTICS_MEDIA *stats)
Definition: msctf.idl:532
J_COLOR_SPACE colorspace
Definition: jpeglib.h:992
#define debug(msg)
Definition: key_call.c:71
static CRYPT_DATA_BLOB b1[]
Definition: msg.c:529
D3D11_SHADER_VARIABLE_DESC desc
Definition: reflection.c:1683
#define REFIID
Definition: guiddef.h:118
#define F4(x, y, z)
Definition: md5.c:164
DXGI_FRAME_PRESENTATION_MODE CompositionMode
Definition: dxgi1_3.idl:58
LARGE_INTEGER SyncGPUTime
Definition: dxgi1_3.idl:57
LARGE_INTEGER SyncQPCTime
Definition: dxgi1_3.idl:56
Definition: dcommon.idl:28
Definition: devices.h:37
Definition: main.c:439
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
Definition: wcsftime.cpp:383
ncacn_np pointer_default(unique)] interface winspool
Definition: winspool.idl:865