2
* Copyright 2007 Andras Kovacs
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
19
/* DXGI 1.1 IDL, and missing DXGI 1.0 parts added by Luca Barbieri on Sep 2010 */
24
import "dxgiformat.idl";
26
typedef struct DXGI_SAMPLE_DESC {
31
typedef enum DXGI_MODE_ROTATION {
32
DXGI_MODE_ROTATION_UNSPECIFIED = 0,
33
DXGI_MODE_ROTATION_IDENTITY = 1,
34
DXGI_MODE_ROTATION_ROTATE90 = 2,
35
DXGI_MODE_ROTATION_ROTATE180 = 3,
36
DXGI_MODE_ROTATION_ROTATE270 = 4,
39
typedef enum DXGI_MODE_SCANLINE_ORDER {
40
DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0,
41
DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 1,
42
DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 2,
43
DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 3,
44
} DXGI_MODE_SCANLINE_ORDER;
46
typedef enum DXGI_MODE_SCALING {
47
DXGI_MODE_SCALING_UNSPECIFIED = 0,
48
DXGI_MODE_SCALING_CENTERED = 1,
49
DXGI_MODE_SCALING_STRETCHED = 2,
52
typedef struct DXGI_RATIONAL {
57
typedef struct DXGI_MODE_DESC {
60
DXGI_RATIONAL RefreshRate;
62
DXGI_MODE_SCANLINE_ORDER ScanlineOrdering;
63
DXGI_MODE_SCALING Scaling;
66
typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES {
67
BOOL ScaleAndOffsetSupported;
68
float MaxConvertedValue;
69
float MinConvertedValue;
70
UINT NumGammaControlPoints;
71
float ControlPointPositions[1025];
72
} DXGI_GAMMA_CONTROL_CAPABILITIES;
74
typedef struct DXGI_RGB {
80
typedef struct DXGI_GAMMA_CONTROL {
83
DXGI_RGB GammaCurve[1025];