11 * Copyright (C) 2005-2013 Team XBMC
14 * This Program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2, or (at your option)
19 * This Program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with XBMC; see the file COPYING. If not, see
26 * <http://www.gnu.org/licenses/>.
30 #include "system.h" // for WIN32 types
32 #define GAMMA_RAMP_FLAG D3DSGR_CALIBRATE
34 #define D3DPRESENTFLAG_INTERLACED 1
35 #define D3DPRESENTFLAG_WIDESCREEN 2
36 #define D3DPRESENTFLAG_PROGRESSIVE 4
37 #define D3DPRESENTFLAG_MODE3DSBS 8
38 #define D3DPRESENTFLAG_MODE3DTB 16
40 #define D3DFMT_LIN_A8R8G8B8 D3DFMT_A8R8G8B8
41 #define D3DFMT_LIN_X8R8G8B8 D3DFMT_X8R8G8B8
42 #define D3DFMT_LIN_L8 D3DFMT_L8
43 #define D3DFMT_LIN_D16 D3DFMT_D16
44 #define D3DFMT_LIN_A8 D3DFMT_A8
46 #define D3DPIXELSHADERDEF DWORD
54 DWORD Format; // Format information about the texture.
55 DWORD Size; // Size of a non power-of-2 texture, must be zero otherwise
58 #define D3DCOMMON_TYPE_MASK 0x0070000
59 #define D3DCOMMON_TYPE_TEXTURE 0x0040000
68 typedef D3DPalette* LPDIRECT3DPALETTE8;
70 #endif // GUILIB_GUI3D_H