aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/shader/evas_gl_enum.x
blob: e747d00007daf79f0db20656cf18b524c0a6b3dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */

typedef enum {
   SHADER_RECT,
   SHADER_RECT_MASK,
   SHADER_RECT_MASK12,
   SHADER_RECT_MASK21,
   SHADER_RECT_MASK22,
   SHADER_FONT,
   SHADER_FONT_MASK,
   SHADER_FONT_MASK12,
   SHADER_FONT_MASK21,
   SHADER_FONT_MASK22,
   SHADER_IMG,
   SHADER_IMG_BGRA,
   SHADER_IMG_12,
   SHADER_IMG_21,
   SHADER_IMG_22,
   SHADER_IMG_12_BGRA,
   SHADER_IMG_21_BGRA,
   SHADER_IMG_22_BGRA,
   SHADER_IMG_MASK,
   SHADER_IMG_BGRA_MASK,
   SHADER_IMG_12_MASK,
   SHADER_IMG_21_MASK,
   SHADER_IMG_22_MASK,
   SHADER_IMG_12_BGRA_MASK,
   SHADER_IMG_21_BGRA_MASK,
   SHADER_IMG_22_BGRA_MASK,
   SHADER_IMG_NOMUL,
   SHADER_IMG_BGRA_NOMUL,
   SHADER_IMG_12_NOMUL,
   SHADER_IMG_21_NOMUL,
   SHADER_IMG_22_NOMUL,
   SHADER_IMG_12_BGRA_NOMUL,
   SHADER_IMG_21_BGRA_NOMUL,
   SHADER_IMG_22_BGRA_NOMUL,
   SHADER_IMG_MASK_NOMUL,
   SHADER_IMG_BGRA_MASK_NOMUL,
   SHADER_IMG_12_MASK_NOMUL,
   SHADER_IMG_21_MASK_NOMUL,
   SHADER_IMG_22_MASK_NOMUL,
   SHADER_IMG_12_BGRA_MASK_NOMUL,
   SHADER_IMG_21_BGRA_MASK_NOMUL,
   SHADER_IMG_22_BGRA_MASK_NOMUL,
   SHADER_IMG_MASK12,
   SHADER_IMG_BGRA_MASK12,
   SHADER_IMG_12_MASK12,
   SHADER_IMG_21_MASK12,
   SHADER_IMG_22_MASK12,
   SHADER_IMG_12_BGRA_MASK12,
   SHADER_IMG_21_BGRA_MASK12,
   SHADER_IMG_22_BGRA_MASK12,
   SHADER_IMG_MASK12_NOMUL,
   SHADER_IMG_BGRA_MASK12_NOMUL,
   SHADER_IMG_12_MASK12_NOMUL,
   SHADER_IMG_21_MASK12_NOMUL,
   SHADER_IMG_22_MASK12_NOMUL,
   SHADER_IMG_12_BGRA_MASK12_NOMUL,
   SHADER_IMG_21_BGRA_MASK12_NOMUL,
   SHADER_IMG_22_BGRA_MASK12_NOMUL,
   SHADER_IMG_MASK21,
   SHADER_IMG_BGRA_MASK21,
   SHADER_IMG_12_MASK21,
   SHADER_IMG_21_MASK21,
   SHADER_IMG_22_MASK21,
   SHADER_IMG_12_BGRA_MASK21,
   SHADER_IMG_21_BGRA_MASK21,
   SHADER_IMG_22_BGRA_MASK21,
   SHADER_IMG_MASK21_NOMUL,
   SHADER_IMG_BGRA_MASK21_NOMUL,
   SHADER_IMG_12_MASK21_NOMUL,
   SHADER_IMG_21_MASK21_NOMUL,
   SHADER_IMG_22_MASK21_NOMUL,
   SHADER_IMG_12_BGRA_MASK21_NOMUL,
   SHADER_IMG_21_BGRA_MASK21_NOMUL,
   SHADER_IMG_22_BGRA_MASK21_NOMUL,
   SHADER_IMG_MASK22,
   SHADER_IMG_BGRA_MASK22,
   SHADER_IMG_12_MASK22,
   SHADER_IMG_21_MASK22,
   SHADER_IMG_22_MASK22,
   SHADER_IMG_12_BGRA_MASK22,
   SHADER_IMG_21_BGRA_MASK22,
   SHADER_IMG_22_BGRA_MASK22,
   SHADER_IMG_MASK22_NOMUL,
   SHADER_IMG_BGRA_MASK22_NOMUL,
   SHADER_IMG_12_MASK22_NOMUL,
   SHADER_IMG_21_MASK22_NOMUL,
   SHADER_IMG_22_MASK22_NOMUL,
   SHADER_IMG_12_BGRA_MASK22_NOMUL,
   SHADER_IMG_21_BGRA_MASK22_NOMUL,
   SHADER_IMG_22_BGRA_MASK22_NOMUL,
   SHADER_IMG_AFILL,
   SHADER_IMG_BGRA_AFILL,
   SHADER_IMG_NOMUL_AFILL,
   SHADER_IMG_BGRA_NOMUL_AFILL,
   SHADER_IMG_12_AFILL,
   SHADER_IMG_21_AFILL,
   SHADER_IMG_22_AFILL,
   SHADER_IMG_12_BGRA_AFILL,
   SHADER_IMG_21_BGRA_AFILL,
   SHADER_IMG_22_BGRA_AFILL,
   SHADER_IMG_12_NOMUL_AFILL,
   SHADER_IMG_21_NOMUL_AFILL,
   SHADER_IMG_22_NOMUL_AFILL,
   SHADER_IMG_12_BGRA_NOMUL_AFILL,
   SHADER_IMG_21_BGRA_NOMUL_AFILL,
   SHADER_IMG_22_BGRA_NOMUL_AFILL,
   SHADER_RGB_A_PAIR,
   SHADER_RGB_A_PAIR_MASK,
   SHADER_RGB_A_PAIR_NOMUL,
   SHADER_RGB_A_PAIR_MASK_NOMUL,
   SHADER_TEX_EXTERNAL,
   SHADER_TEX_EXTERNAL_AFILL,
   SHADER_TEX_EXTERNAL_NOMUL,
   SHADER_TEX_EXTERNAL_NOMUL_AFILL,
   SHADER_TEX_EXTERNAL_MASK,
   SHADER_TEX_EXTERNAL_MASK_NOMUL,
   SHADER_YUV,
   SHADER_YUV_NOMUL,
   SHADER_YUV_MASK,
   SHADER_YUV_MASK_NOMUL,
   SHADER_YUY2,
   SHADER_YUY2_NOMUL,
   SHADER_YUY2_MASK,
   SHADER_YUY2_MASK_NOMUL,
   SHADER_NV12,
   SHADER_NV12_NOMUL,
   SHADER_NV12_MASK,
   SHADER_NV12_MASK_NOMUL,
   SHADER_YUV_709,
   SHADER_YUV_709_NOMUL,
   SHADER_YUV_709_MASK,
   SHADER_YUV_709_MASK_NOMUL,
   SHADER_YUY2_709,
   SHADER_YUY2_709_NOMUL,
   SHADER_YUY2_709_MASK,
   SHADER_YUY2_709_MASK_NOMUL,
   SHADER_NV12_709,
   SHADER_NV12_709_NOMUL,
   SHADER_NV12_709_MASK,
   SHADER_NV12_709_MASK_NOMUL,
   SHADER_LAST
} Evas_GL_Shader;

#ifdef _EVAS_GL_CONTEXT_C

static struct {
   Evas_GL_Shader id;
   const char *tname;
} _shaders_textures[] = {
   { SHADER_FONT_MASK, "tex" },
   { SHADER_FONT_MASK, "texm" },
   { SHADER_FONT_MASK12, "tex" },
   { SHADER_FONT_MASK12, "texm" },
   { SHADER_FONT_MASK21, "tex" },
   { SHADER_FONT_MASK21, "texm" },
   { SHADER_FONT_MASK22, "tex" },
   { SHADER_FONT_MASK22, "texm" },
   { SHADER_IMG_MASK, "tex" },
   { SHADER_IMG_MASK, "texm" },
   { SHADER_IMG_BGRA_MASK, "tex" },
   { SHADER_IMG_BGRA_MASK, "texm" },
   { SHADER_IMG_12_MASK, "tex" },
   { SHADER_IMG_12_MASK, "texm" },
   { SHADER_IMG_21_MASK, "tex" },
   { SHADER_IMG_21_MASK, "texm" },
   { SHADER_IMG_22_MASK, "tex" },
   { SHADER_IMG_22_MASK, "texm" },
   { SHADER_IMG_12_BGRA_MASK, "tex" },
   { SHADER_IMG_12_BGRA_MASK, "texm" },
   { SHADER_IMG_21_BGRA_MASK, "tex" },
   { SHADER_IMG_21_BGRA_MASK, "texm" },
   { SHADER_IMG_22_BGRA_MASK, "tex" },
   { SHADER_IMG_22_BGRA_MASK, "texm" },
   { SHADER_IMG_MASK_NOMUL, "tex" },
   { SHADER_IMG_MASK_NOMUL, "texm" },
   { SHADER_IMG_BGRA_MASK_NOMUL, "tex" },
   { SHADER_IMG_BGRA_MASK_NOMUL, "texm" },
   { SHADER_IMG_12_MASK_NOMUL, "tex" },
   { SHADER_IMG_12_MASK_NOMUL, "texm" },
   { SHADER_IMG_21_MASK_NOMUL, "tex" },
   { SHADER_IMG_21_MASK_NOMUL, "texm" },
   { SHADER_IMG_22_MASK_NOMUL, "tex" },
   { SHADER_IMG_22_MASK_NOMUL, "texm" },
   { SHADER_IMG_12_BGRA_MASK_NOMUL, "tex" },
   { SHADER_IMG_12_BGRA_MASK_NOMUL, "texm" },
   { SHADER_IMG_21_BGRA_MASK_NOMUL, "tex" },
   { SHADER_IMG_21_BGRA_MASK_NOMUL, "texm" },
   { SHADER_IMG_22_BGRA_MASK_NOMUL, "tex" },
   { SHADER_IMG_22_BGRA_MASK_NOMUL, "texm" },
   { SHADER_IMG_MASK12, "tex" },
   { SHADER_IMG_MASK12, "texm" },
   { SHADER_IMG_BGRA_MASK12, "tex" },
   { SHADER_IMG_BGRA_MASK12, "texm" },
   { SHADER_IMG_12_MASK12, "tex" },
   { SHADER_IMG_12_MASK12, "texm" },
   { SHADER_IMG_21_MASK12, "tex" },
   { SHADER_IMG_21_MASK12, "texm" },
   { SHADER_IMG_22_MASK12, "tex" },
   { SHADER_IMG_22_MASK12, "texm" },
   { SHADER_IMG_12_BGRA_MASK12, "tex" },
   { SHADER_IMG_12_BGRA_MASK12, "texm" },
   { SHADER_IMG_21_BGRA_MASK12, "tex" },
   { SHADER_IMG_21_BGRA_MASK12, "texm" },
   { SHADER_IMG_22_BGRA_MASK12, "tex" },
   { SHADER_IMG_22_BGRA_MASK12, "texm" },
   { SHADER_IMG_MASK12_NOMUL, "tex" },
   { SHADER_IMG_MASK12_NOMUL, "texm" },
   { SHADER_IMG_BGRA_MASK12_NOMUL, "tex" },
   { SHADER_IMG_BGRA_MASK12_NOMUL, "texm" },
   { SHADER_IMG_12_MASK12_NOMUL, "tex" },
   { SHADER_IMG_12_MASK12_NOMUL, "texm" },
   { SHADER_IMG_21_MASK12_NOMUL, "tex" },
   { SHADER_IMG_21_MASK12_NOMUL, "texm" },
   { SHADER_IMG_22_MASK12_NOMUL, "tex" },
   { SHADER_IMG_22_MASK12_NOMUL, "texm" },
   { SHADER_IMG_12_BGRA_MASK12_NOMUL, "tex" },
   { SHADER_IMG_12_BGRA_MASK12_NOMUL, "texm" },
   { SHADER_IMG_21_BGRA_MASK12_NOMUL, "tex" },
   { SHADER_IMG_21_BGRA_MASK12_NOMUL, "texm" },
   { SHADER_IMG_22_BGRA_MASK12_NOMUL, "tex" },
   { SHADER_IMG_22_BGRA_MASK12_NOMUL, "texm" },
   { SHADER_IMG_MASK21, "tex" },
   { SHADER_IMG_MASK21, "texm" },
   { SHADER_IMG_BGRA_MASK21, "tex" },
   { SHADER_IMG_BGRA_MASK21, "texm" },
   { SHADER_IMG_12_MASK21, "tex" },
   { SHADER_IMG_12_MASK21, "texm" },
   { SHADER_IMG_21_MASK21, "tex" },
   { SHADER_IMG_21_MASK21, "texm" },
   { SHADER_IMG_22_MASK21, "tex" },
   { SHADER_IMG_22_MASK21, "texm" },
   { SHADER_IMG_12_BGRA_MASK21, "tex" },
   { SHADER_IMG_12_BGRA_MASK21, "texm" },
   { SHADER_IMG_21_BGRA_MASK21, "tex" },
   { SHADER_IMG_21_BGRA_MASK21, "texm" },
   { SHADER_IMG_22_BGRA_MASK21, "tex" },
   { SHADER_IMG_22_BGRA_MASK21, "texm" },
   { SHADER_IMG_MASK21_NOMUL, "tex" },
   { SHADER_IMG_MASK21_NOMUL, "texm" },
   { SHADER_IMG_BGRA_MASK21_NOMUL, "tex" },
   { SHADER_IMG_BGRA_MASK21_NOMUL, "texm" },
   { SHADER_IMG_12_MASK21_NOMUL, "tex" },
   { SHADER_IMG_12_MASK21_NOMUL, "texm" },
   { SHADER_IMG_21_MASK21_NOMUL, "tex" },
   { SHADER_IMG_21_MASK21_NOMUL, "texm" },
   { SHADER_IMG_22_MASK21_NOMUL, "tex" },
   { SHADER_IMG_22_MASK21_NOMUL, "texm" },
   { SHADER_IMG_12_BGRA_MASK21_NOMUL, "tex" },
   { SHADER_IMG_12_BGRA_MASK21_NOMUL, "texm" },
   { SHADER_IMG_21_BGRA_MASK21_NOMUL, "tex" },
   { SHADER_IMG_21_BGRA_MASK21_NOMUL, "texm" },
   { SHADER_IMG_22_BGRA_MASK21_NOMUL, "tex" },
   { SHADER_IMG_22_BGRA_MASK21_NOMUL, "texm" },
   { SHADER_IMG_MASK22, "tex" },
   { SHADER_IMG_MASK22, "texm" },
   { SHADER_IMG_BGRA_MASK22, "tex" },
   { SHADER_IMG_BGRA_MASK22, "texm" },
   { SHADER_IMG_12_MASK22, "tex" },
   { SHADER_IMG_12_MASK22, "texm" },
   { SHADER_IMG_21_MASK22, "tex" },
   { SHADER_IMG_21_MASK22, "texm" },
   { SHADER_IMG_22_MASK22, "tex" },
   { SHADER_IMG_22_MASK22, "texm" },
   { SHADER_IMG_12_BGRA_MASK22, "tex" },
   { SHADER_IMG_12_BGRA_MASK22, "texm" },
   { SHADER_IMG_21_BGRA_MASK22, "tex" },
   { SHADER_IMG_21_BGRA_MASK22, "texm" },
   { SHADER_IMG_22_BGRA_MASK22, "tex" },
   { SHADER_IMG_22_BGRA_MASK22, "texm" },
   { SHADER_IMG_MASK22_NOMUL, "tex" },
   { SHADER_IMG_MASK22_NOMUL, "texm" },
   { SHADER_IMG_BGRA_MASK22_NOMUL, "tex" },
   { SHADER_IMG_BGRA_MASK22_NOMUL, "texm" },
   { SHADER_IMG_12_MASK22_NOMUL, "tex" },
   { SHADER_IMG_12_MASK22_NOMUL, "texm" },
   { SHADER_IMG_21_MASK22_NOMUL, "tex" },
   { SHADER_IMG_21_MASK22_NOMUL, "texm" },
   { SHADER_IMG_22_MASK22_NOMUL, "tex" },
   { SHADER_IMG_22_MASK22_NOMUL, "texm" },
   { SHADER_IMG_12_BGRA_MASK22_NOMUL, "tex" },
   { SHADER_IMG_12_BGRA_MASK22_NOMUL, "texm" },
   { SHADER_IMG_21_BGRA_MASK22_NOMUL, "tex" },
   { SHADER_IMG_21_BGRA_MASK22_NOMUL, "texm" },
   { SHADER_IMG_22_BGRA_MASK22_NOMUL, "tex" },
   { SHADER_IMG_22_BGRA_MASK22_NOMUL, "texm" },
   { SHADER_RGB_A_PAIR, "tex" },
   { SHADER_RGB_A_PAIR, "texa" },
   { SHADER_RGB_A_PAIR_MASK, "tex" },
   { SHADER_RGB_A_PAIR_MASK, "texa" },
   { SHADER_RGB_A_PAIR_MASK, "texm" },
   { SHADER_RGB_A_PAIR_NOMUL, "tex" },
   { SHADER_RGB_A_PAIR_NOMUL, "texa" },
   { SHADER_RGB_A_PAIR_MASK_NOMUL, "tex" },
   { SHADER_RGB_A_PAIR_MASK_NOMUL, "texa" },
   { SHADER_RGB_A_PAIR_MASK_NOMUL, "texm" },
   { SHADER_YUV, "tex" },
   { SHADER_YUV, "texu" },
   { SHADER_YUV, "texv" },
   { SHADER_YUV_NOMUL, "tex" },
   { SHADER_YUV_NOMUL, "texu" },
   { SHADER_YUV_NOMUL, "texv" },
   { SHADER_YUV_MASK, "tex" },
   { SHADER_YUV_MASK, "texu" },
   { SHADER_YUV_MASK, "texv" },
   { SHADER_YUV_MASK, "texm" },
   { SHADER_YUV_MASK_NOMUL, "tex" },
   { SHADER_YUV_MASK_NOMUL, "texu" },
   { SHADER_YUV_MASK_NOMUL, "texv" },
   { SHADER_YUV_MASK_NOMUL, "texm" },
   { SHADER_YUY2, "tex" },
   { SHADER_YUY2, "texuv" },
   { SHADER_YUY2_NOMUL, "tex" },
   { SHADER_YUY2_NOMUL, "texuv" },
   { SHADER_YUY2_MASK, "tex" },
   { SHADER_YUY2_MASK, "texuv" },
   { SHADER_YUY2_MASK, "texm" },
   { SHADER_YUY2_MASK_NOMUL, "tex" },
   { SHADER_YUY2_MASK_NOMUL, "texuv" },
   { SHADER_YUY2_MASK_NOMUL, "texm" },
   { SHADER_NV12, "tex" },
   { SHADER_NV12, "texuv" },
   { SHADER_NV12_NOMUL, "tex" },
   { SHADER_NV12_NOMUL, "texuv" },
   { SHADER_NV12_MASK, "tex" },
   { SHADER_NV12_MASK, "texuv" },
   { SHADER_NV12_MASK, "texm" },
   { SHADER_NV12_MASK_NOMUL, "tex" },
   { SHADER_NV12_MASK_NOMUL, "texuv" },
   { SHADER_NV12_MASK_NOMUL, "texm" },
   { SHADER_YUV_709, "tex" },
   { SHADER_YUV_709, "texu" },
   { SHADER_YUV_709, "texv" },
   { SHADER_YUV_709_NOMUL, "tex" },
   { SHADER_YUV_709_NOMUL, "texu" },
   { SHADER_YUV_709_NOMUL, "texv" },
   { SHADER_YUV_709_MASK, "tex" },
   { SHADER_YUV_709_MASK, "texu" },
   { SHADER_YUV_709_MASK, "texv" },
   { SHADER_YUV_709_MASK, "texm" },
   { SHADER_YUV_709_MASK_NOMUL, "tex" },
   { SHADER_YUV_709_MASK_NOMUL, "texu" },
   { SHADER_YUV_709_MASK_NOMUL, "texv" },
   { SHADER_YUV_709_MASK_NOMUL, "texm" },
   { SHADER_YUY2_709, "tex" },
   { SHADER_YUY2_709, "texuv" },
   { SHADER_YUY2_709_NOMUL, "tex" },
   { SHADER_YUY2_709_NOMUL, "texuv" },
   { SHADER_YUY2_709_MASK, "tex" },
   { SHADER_YUY2_709_MASK, "texuv" },
   { SHADER_YUY2_709_MASK, "texm" },
   { SHADER_YUY2_709_MASK_NOMUL, "tex" },
   { SHADER_YUY2_709_MASK_NOMUL, "texuv" },
   { SHADER_YUY2_709_MASK_NOMUL, "texm" },
   { SHADER_NV12_709, "tex" },
   { SHADER_NV12_709, "texuv" },
   { SHADER_NV12_709_NOMUL, "tex" },
   { SHADER_NV12_709_NOMUL, "texuv" },
   { SHADER_NV12_709_MASK, "tex" },
   { SHADER_NV12_709_MASK, "texuv" },
   { SHADER_NV12_709_MASK, "texm" },
   { SHADER_NV12_709_MASK_NOMUL, "tex" },
   { SHADER_NV12_709_MASK_NOMUL, "texuv" },
   { SHADER_NV12_709_MASK_NOMUL, "texm" },
   { SHADER_LAST, NULL }
};

#endif // _EVAS_GL_CONTEXT_C