2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "PlatformDefs.h" // for TARGET_WINDOWS types
13 #define GAMMA_RAMP_FLAG D3DSGR_CALIBRATE
15 #define D3DFMT_LIN_A8R8G8B8 D3DFMT_A8R8G8B8
16 #define D3DFMT_LIN_X8R8G8B8 D3DFMT_X8R8G8B8
17 #define D3DFMT_LIN_L8 D3DFMT_L8
18 #define D3DFMT_LIN_D16 D3DFMT_D16
19 #define D3DFMT_LIN_A8 D3DFMT_A8
21 #define D3DPIXELSHADERDEF DWORD
29 DWORD Format
; // Format information about the texture.
30 DWORD Size
; // Size of a non power-of-2 texture, must be zero otherwise
33 #define D3DCOMMON_TYPE_MASK 0x0070000
34 #define D3DCOMMON_TYPE_TEXTURE 0x0040000
43 typedef D3DPalette
* LPDIRECT3DPALETTE8
;