ddraw/tests: Mark GetDC() failures on VMware as broken.
[wine.git] / include / dxgicommon.idl
blob99ace03c37da389f7cab971cac354a5ed4cfd255
1 /*
2 * Copyright 2017 Ihsan Akmal
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 cpp_quote("#if 0")
20 typedef unsigned int UINT;
21 cpp_quote("#endif")
23 const UINT DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN = 0xffffffff;
24 const UINT DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN = 0xfffffffe;
26 typedef enum DXGI_COLOR_SPACE_TYPE
28 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0x00,
29 DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 0x01,
30 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 0x02,
31 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 0x03,
32 DXGI_COLOR_SPACE_RESERVED = 0x04,
33 DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 0x05,
34 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 0x06,
35 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 0x07,
36 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 0x08,
37 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 0x09,
38 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 0x0a,
39 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 0x0b,
40 DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 0x0c,
41 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 0x0d,
42 DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 0x0e,
43 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 0x0f,
44 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 0x10,
45 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 0x11,
46 DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 0x12,
47 DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 0x13,
48 DXGI_COLOR_SPACE_CUSTOM = 0xffffffff,
49 } DXGI_COLOR_SPACE_TYPE;
51 typedef struct DXGI_SAMPLE_DESC
53 UINT Count;
54 UINT Quality;
55 } DXGI_SAMPLE_DESC;
57 typedef struct DXGI_RATIONAL
59 UINT Numerator;
60 UINT Denominator;
61 } DXGI_RATIONAL;