1bf215546Sopenharmony_ci#ifndef COMMON_3D_XML
2bf215546Sopenharmony_ci#define COMMON_3D_XML
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci/* Autogenerated file, DO NOT EDIT manually!
5bf215546Sopenharmony_ci
6bf215546Sopenharmony_ciThis file was generated by the rules-ng-ng headergen tool in this git repository:
7bf215546Sopenharmony_cihttp://0x04.net/cgit/index.cgi/rules-ng-ng
8bf215546Sopenharmony_cigit clone git://0x04.net/rules-ng-ng
9bf215546Sopenharmony_ci
10bf215546Sopenharmony_ciThe rules-ng-ng source files this header was generated from are:
11bf215546Sopenharmony_ci- texdesc_3d.xml (   3183 bytes, from 2018-02-10 13:09:26)
12bf215546Sopenharmony_ci- copyright.xml  (   1597 bytes, from 2018-02-10 13:09:26)
13bf215546Sopenharmony_ci- common.xml     (  35468 bytes, from 2020-01-04 20:02:31)
14bf215546Sopenharmony_ci- common_3d.xml  (  15058 bytes, from 2020-04-17 16:31:50)
15bf215546Sopenharmony_ci
16bf215546Sopenharmony_ciCopyright (C) 2012-2020 by the following authors:
17bf215546Sopenharmony_ci- Wladimir J. van der Laan <laanwj@gmail.com>
18bf215546Sopenharmony_ci- Christian Gmeiner <christian.gmeiner@gmail.com>
19bf215546Sopenharmony_ci- Lucas Stach <l.stach@pengutronix.de>
20bf215546Sopenharmony_ci- Russell King <rmk@arm.linux.org.uk>
21bf215546Sopenharmony_ci
22bf215546Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining a
23bf215546Sopenharmony_cicopy of this software and associated documentation files (the "Software"),
24bf215546Sopenharmony_cito deal in the Software without restriction, including without limitation
25bf215546Sopenharmony_cithe rights to use, copy, modify, merge, publish, distribute, sub license,
26bf215546Sopenharmony_ciand/or sell copies of the Software, and to permit persons to whom the
27bf215546Sopenharmony_ciSoftware is furnished to do so, subject to the following conditions:
28bf215546Sopenharmony_ci
29bf215546Sopenharmony_ciThe above copyright notice and this permission notice (including the
30bf215546Sopenharmony_cinext paragraph) shall be included in all copies or substantial portions
31bf215546Sopenharmony_ciof the Software.
32bf215546Sopenharmony_ci
33bf215546Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34bf215546Sopenharmony_ciIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35bf215546Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
36bf215546Sopenharmony_ciTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37bf215546Sopenharmony_ciLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38bf215546Sopenharmony_ciFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
39bf215546Sopenharmony_ciDEALINGS IN THE SOFTWARE.
40bf215546Sopenharmony_ci*/
41bf215546Sopenharmony_ci
42bf215546Sopenharmony_ci
43bf215546Sopenharmony_ci#define TEXTURE_FORMAT_NONE					0x00000000
44bf215546Sopenharmony_ci#define TEXTURE_FORMAT_A8					0x00000001
45bf215546Sopenharmony_ci#define TEXTURE_FORMAT_L8					0x00000002
46bf215546Sopenharmony_ci#define TEXTURE_FORMAT_I8					0x00000003
47bf215546Sopenharmony_ci#define TEXTURE_FORMAT_A8L8					0x00000004
48bf215546Sopenharmony_ci#define TEXTURE_FORMAT_A4R4G4B4					0x00000005
49bf215546Sopenharmony_ci#define TEXTURE_FORMAT_X4R4G4B4					0x00000006
50bf215546Sopenharmony_ci#define TEXTURE_FORMAT_A8R8G8B8					0x00000007
51bf215546Sopenharmony_ci#define TEXTURE_FORMAT_X8R8G8B8					0x00000008
52bf215546Sopenharmony_ci#define TEXTURE_FORMAT_A8B8G8R8					0x00000009
53bf215546Sopenharmony_ci#define TEXTURE_FORMAT_X8B8G8R8					0x0000000a
54bf215546Sopenharmony_ci#define TEXTURE_FORMAT_R5G6B5					0x0000000b
55bf215546Sopenharmony_ci#define TEXTURE_FORMAT_A1R5G5B5					0x0000000c
56bf215546Sopenharmony_ci#define TEXTURE_FORMAT_X1R5G5B5					0x0000000d
57bf215546Sopenharmony_ci#define TEXTURE_FORMAT_YUY2					0x0000000e
58bf215546Sopenharmony_ci#define TEXTURE_FORMAT_UYVY					0x0000000f
59bf215546Sopenharmony_ci#define TEXTURE_FORMAT_D16					0x00000010
60bf215546Sopenharmony_ci#define TEXTURE_FORMAT_D24X8					0x00000011
61bf215546Sopenharmony_ci#define TEXTURE_FORMAT_DXT1					0x00000013
62bf215546Sopenharmony_ci#define TEXTURE_FORMAT_DXT2_DXT3				0x00000014
63bf215546Sopenharmony_ci#define TEXTURE_FORMAT_DXT4_DXT5				0x00000015
64bf215546Sopenharmony_ci#define TEXTURE_FORMAT_E5B9G9R9					0x0000001d
65bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ETC1					0x0000001e
66bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_NONE					0x00000000
67bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_RGB8_PUNCHTHROUGH_ALPHA1_ETC2	0x00000001
68bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_RGBA8_ETC2_EAC			0x00000002
69bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R11_EAC				0x00000003
70bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_RG11_EAC				0x00000004
71bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_SIGNED_RG11_EAC			0x00000005
72bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G8R8					0x00000006
73bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R16F					0x00000007
74bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G16R16F				0x00000008
75bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_A16B16G16R16F			0x00000009
76bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R32F					0x0000000a
77bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G32R32F				0x0000000b
78bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_A2B10G10R10				0x0000000c
79bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_SIGNED_R11_EAC			0x0000000d
80bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R8_SNORM				0x0000000e
81bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G8R8_SNORM				0x0000000f
82bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_X8B8G8R8_SNORM			0x00000010
83bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_A8B8G8R8_SNORM			0x00000011
84bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_ASTC					0x00000014
85bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R8I					0x00000015
86bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G8R8I				0x00000016
87bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_A8B8G8R8I				0x00000017
88bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R16I					0x00000018
89bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G16R16I				0x00000019
90bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_A16B16G16R16I			0x0000001a
91bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_B10G11R11F				0x0000001b
92bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_A2B10G10R10UI			0x0000001c
93bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R8					0x00000021
94bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_D24S8				0x00000022
95bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_R32I					0x00000023
96bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_G32R32I				0x00000024
97bf215546Sopenharmony_ci#define TEXTURE_FORMAT_EXT_AYUV					0x00000025
98bf215546Sopenharmony_ci#define TEXTURE_FILTER_NONE					0x00000000
99bf215546Sopenharmony_ci#define TEXTURE_FILTER_NEAREST					0x00000001
100bf215546Sopenharmony_ci#define TEXTURE_FILTER_LINEAR					0x00000002
101bf215546Sopenharmony_ci#define TEXTURE_FILTER_ANISOTROPIC				0x00000003
102bf215546Sopenharmony_ci#define TEXTURE_TYPE_NONE					0x00000000
103bf215546Sopenharmony_ci#define TEXTURE_TYPE_1D						0x00000001
104bf215546Sopenharmony_ci#define TEXTURE_TYPE_2D						0x00000002
105bf215546Sopenharmony_ci#define TEXTURE_TYPE_3D						0x00000003
106bf215546Sopenharmony_ci#define TEXTURE_TYPE_CUBE_MAP					0x00000005
107bf215546Sopenharmony_ci#define TEXTURE_WRAPMODE_REPEAT					0x00000000
108bf215546Sopenharmony_ci#define TEXTURE_WRAPMODE_MIRRORED_REPEAT			0x00000001
109bf215546Sopenharmony_ci#define TEXTURE_WRAPMODE_CLAMP_TO_EDGE				0x00000002
110bf215546Sopenharmony_ci#define TEXTURE_WRAPMODE_CLAMP_TO_BORDER			0x00000003
111bf215546Sopenharmony_ci#define TEXTURE_FACE_POS_X					0x00000000
112bf215546Sopenharmony_ci#define TEXTURE_FACE_NEG_X					0x00000001
113bf215546Sopenharmony_ci#define TEXTURE_FACE_POS_Y					0x00000002
114bf215546Sopenharmony_ci#define TEXTURE_FACE_NEG_Y					0x00000003
115bf215546Sopenharmony_ci#define TEXTURE_FACE_POS_Z					0x00000004
116bf215546Sopenharmony_ci#define TEXTURE_FACE_NEG_Z					0x00000005
117bf215546Sopenharmony_ci#define TEXTURE_SWIZZLE_RED					0x00000000
118bf215546Sopenharmony_ci#define TEXTURE_SWIZZLE_GREEN					0x00000001
119bf215546Sopenharmony_ci#define TEXTURE_SWIZZLE_BLUE					0x00000002
120bf215546Sopenharmony_ci#define TEXTURE_SWIZZLE_ALPHA					0x00000003
121bf215546Sopenharmony_ci#define TEXTURE_SWIZZLE_ZERO					0x00000004
122bf215546Sopenharmony_ci#define TEXTURE_SWIZZLE_ONE					0x00000005
123bf215546Sopenharmony_ci#define TEXTURE_HALIGN_FOUR					0x00000000
124bf215546Sopenharmony_ci#define TEXTURE_HALIGN_SIXTEEN					0x00000001
125bf215546Sopenharmony_ci#define TEXTURE_HALIGN_SUPER_TILED				0x00000002
126bf215546Sopenharmony_ci#define TEXTURE_HALIGN_SPLIT_TILED				0x00000003
127bf215546Sopenharmony_ci#define TEXTURE_HALIGN_SPLIT_SUPER_TILED			0x00000004
128bf215546Sopenharmony_ci#define TS_MODE_128B						0x00000000
129bf215546Sopenharmony_ci#define TS_MODE_256B						0x00000001
130bf215546Sopenharmony_ci#define TEXTURE_ADDRESSING_MODE_TILED				0x00000000
131bf215546Sopenharmony_ci#define TEXTURE_ADDRESSING_MODE_LINEAR				0x00000003
132bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_LEQUAL				0x00000000
133bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_GEQUAL				0x00000001
134bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_LESS				0x00000002
135bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_GREATER				0x00000003
136bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_EQUAL				0x00000004
137bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_NOTEQUAL				0x00000005
138bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_ALWAYS				0x00000006
139bf215546Sopenharmony_ci#define TEXTURE_COMPARE_FUNC_NEVER				0x00000007
140bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_A4R4G4B4				0x00000000
141bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_A1R5G5B5				0x00000001
142bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_R5G6B5				0x00000002
143bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_A8R8G8B8				0x00000003
144bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_X8R8G8B8				0x00000004
145bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_D24S8				0x00000005
146bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_D24X8				0x00000006
147bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_D16					0x00000008
148bf215546Sopenharmony_ci#define COMPRESSION_FORMAT_NONE					0x0000000f
149bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_4x4				0x00000000
150bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_5x4				0x00000001
151bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_5x5				0x00000002
152bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_6x5				0x00000003
153bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_6x6				0x00000004
154bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_8x5				0x00000005
155bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_8x6				0x00000006
156bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_8x8				0x00000007
157bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_10x5				0x00000008
158bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_10x6				0x00000009
159bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_10x8				0x0000000a
160bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_10x10				0x0000000b
161bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_12x10				0x0000000c
162bf215546Sopenharmony_ci#define TEXTURE_FORMAT_ASTC_RGBA_12x12				0x0000000d
163bf215546Sopenharmony_ci#define TE_SAMPLER_CONFIG2_UNK16				0x00010000
164bf215546Sopenharmony_ci#define TE_SAMPLER_CONFIG2_UNK17				0x00020000
165bf215546Sopenharmony_ci#define TE_SAMPLER_CONFIG2_SIGNED_INT8				0x00040000
166bf215546Sopenharmony_ci#define TE_SAMPLER_CONFIG2_SIGNED_INT16				0x00080000
167bf215546Sopenharmony_ci#define TE_SAMPLER_CONFIG2_UNK23				0x00800000
168bf215546Sopenharmony_ci#define TE_SAMPLER_CONFIG3_MSAA					0x00000008
169bf215546Sopenharmony_ci
170bf215546Sopenharmony_ci#endif /* COMMON_3D_XML */
171