Searched refs:tex2d (Results 1 - 25 of 32) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dquad-tex.c123 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
131 tex2d[t][s][0] = (x) ? 0 : 63;
132 tex2d[t][s][1] = (x) ? 0 : 128;
133 tex2d[t][s][2] = 0;
134 tex2d[t][s][3] = 0xff;
138 tex2d[t][s][0] = s*255/(SIZE-1);
139 tex2d[t][s][1] = t*255/(SIZE-1);
140 tex2d[t][s][2] = (x) ? 0 : 128;
141 tex2d[t][s][3] = 0xff;
146 tex2d[
[all...]
H A Dquad-sample.c168 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
176 tex2d[t][s][0] = (x) ? 0 : 63;
177 tex2d[t][s][1] = (x) ? 0 : 128;
178 tex2d[t][s][2] = 0;
179 tex2d[t][s][3] = 0xff;
183 tex2d[t][s][0] = s*255/(SIZE-1);
184 tex2d[t][s][1] = t*255/(SIZE-1);
185 tex2d[t][s][2] = (x) ? 0 : 128;
186 tex2d[t][s][3] = 0xff;
191 tex2d[
[all...]
H A Dfs-test.c252 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
260 tex2d[t][s][0] = (x) ? 0 : 63;
261 tex2d[t][s][1] = (x) ? 0 : 128;
262 tex2d[t][s][2] = 0;
263 tex2d[t][s][3] = 0xff;
267 tex2d[t][s][0] = s*255/(SIZE-1);
268 tex2d[t][s][1] = t*255/(SIZE-1);
269 tex2d[t][s][2] = (x) ? 0 : 128;
270 tex2d[t][s][3] = 0xff;
275 tex2d[
[all...]
H A Dgs-test.c342 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
350 tex2d[t][s][0] = (x) ? 0 : 63;
351 tex2d[t][s][1] = (x) ? 0 : 128;
352 tex2d[t][s][2] = 0;
353 tex2d[t][s][3] = 0xff;
357 tex2d[t][s][0] = s*255/(SIZE-1);
358 tex2d[t][s][1] = t*255/(SIZE-1);
359 tex2d[t][s][2] = (x) ? 0 : 128;
360 tex2d[t][s][3] = 0xff;
365 tex2d[
[all...]
H A Dvs-test.c240 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
248 tex2d[t][s][0] = (x) ? 0 : 63;
249 tex2d[t][s][1] = (x) ? 0 : 128;
250 tex2d[t][s][2] = 0;
251 tex2d[t][s][3] = 0xff;
255 tex2d[t][s][0] = s*255/(SIZE-1);
256 tex2d[t][s][1] = t*255/(SIZE-1);
257 tex2d[t][s][2] = (x) ? 0 : 128;
258 tex2d[t][s][3] = 0xff;
263 tex2d[
[all...]
H A Dtex-srgb.c149 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
154 tex2d[t][s][0] = 0;
155 tex2d[t][s][1] = s * 255 / SIZE;
156 tex2d[t][s][2] = t * 255 / SIZE;
157 tex2d[t][s][3] = 255;
162 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dtex-swizzle.c124 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
129 tex2d[t][s][0] = 0; /*B*/
130 tex2d[t][s][1] = t; /*G*/
131 tex2d[t][s][2] = s; /*R*/
132 tex2d[t][s][3] = 1; /*A*/
137 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dquad-tex.c123 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
131 tex2d[t][s][0] = (x) ? 0 : 63;
132 tex2d[t][s][1] = (x) ? 0 : 128;
133 tex2d[t][s][2] = 0;
134 tex2d[t][s][3] = 0xff;
138 tex2d[t][s][0] = s*255/(SIZE-1);
139 tex2d[t][s][1] = t*255/(SIZE-1);
140 tex2d[t][s][2] = (x) ? 0 : 128;
141 tex2d[t][s][3] = 0xff;
146 tex2d[
[all...]
H A Dquad-sample.c173 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
181 tex2d[t][s][0] = (x) ? 0 : 63;
182 tex2d[t][s][1] = (x) ? 0 : 128;
183 tex2d[t][s][2] = 0;
184 tex2d[t][s][3] = 0xff;
188 tex2d[t][s][0] = s*255/(SIZE-1);
189 tex2d[t][s][1] = t*255/(SIZE-1);
190 tex2d[t][s][2] = (x) ? 0 : 128;
191 tex2d[t][s][3] = 0xff;
196 tex2d[
[all...]
H A Dfs-test.c257 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
265 tex2d[t][s][0] = (x) ? 0 : 63;
266 tex2d[t][s][1] = (x) ? 0 : 128;
267 tex2d[t][s][2] = 0;
268 tex2d[t][s][3] = 0xff;
272 tex2d[t][s][0] = s*255/(SIZE-1);
273 tex2d[t][s][1] = t*255/(SIZE-1);
274 tex2d[t][s][2] = (x) ? 0 : 128;
275 tex2d[t][s][3] = 0xff;
280 tex2d[
[all...]
H A Dgs-test.c347 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
355 tex2d[t][s][0] = (x) ? 0 : 63;
356 tex2d[t][s][1] = (x) ? 0 : 128;
357 tex2d[t][s][2] = 0;
358 tex2d[t][s][3] = 0xff;
362 tex2d[t][s][0] = s*255/(SIZE-1);
363 tex2d[t][s][1] = t*255/(SIZE-1);
364 tex2d[t][s][2] = (x) ? 0 : 128;
365 tex2d[t][s][3] = 0xff;
370 tex2d[
[all...]
H A Dvs-test.c245 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
253 tex2d[t][s][0] = (x) ? 0 : 63;
254 tex2d[t][s][1] = (x) ? 0 : 128;
255 tex2d[t][s][2] = 0;
256 tex2d[t][s][3] = 0xff;
260 tex2d[t][s][0] = s*255/(SIZE-1);
261 tex2d[t][s][1] = t*255/(SIZE-1);
262 tex2d[t][s][2] = (x) ? 0 : 128;
263 tex2d[t][s][3] = 0xff;
268 tex2d[
[all...]
H A Dtex-srgb.c149 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
154 tex2d[t][s][0] = 0;
155 tex2d[t][s][1] = s * 255 / SIZE;
156 tex2d[t][s][2] = t * 255 / SIZE;
157 tex2d[t][s][3] = 255;
162 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dtex-swizzle.c124 ubyte tex2d[SIZE][SIZE][4]; local in function:init_tex
129 tex2d[t][s][0] = 0; /*B*/
130 tex2d[t][s][1] = t; /*G*/
131 tex2d[t][s][2] = s; /*R*/
132 tex2d[t][s][3] = 1; /*A*/
137 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A Dpoint-sprite.c47 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
53 tex2d[t][s][0] = (s < SIZE / 2) ? 0 : 255;
54 tex2d[t][s][1] = (t < SIZE / 2) ? 0 : 255;
55 tex2d[t][s][2] = 0;
57 tex2d[t][s][0] = s * 255 / (SIZE - 1);
58 tex2d[t][s][1] = t * 255 / (SIZE - 1);
59 tex2d[t][s][2] = 0;
72 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
H A Dquad-tex-2d.c48 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
56 tex2d[t][s][2] = 0;
58 tex2d[t][s][0] = s*255/(SIZE-1);
59 tex2d[t][s][1] = t*255/(SIZE-1);
60 tex2d[t][s][2] = 0;
68 glTexImage1D(Target, 0, 3, SIZE, 0, GL_RGB, GL_UNSIGNED_BYTE, tex2d);
71 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
H A Dtri-tex.c47 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
53 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
54 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
55 tex2d[t][s][2] = 0;
57 tex2d[t][s][0] = s*255/(SIZE-1);
58 tex2d[t][s][1] = t*255/(SIZE-1);
59 tex2d[t][s][2] = 0;
67 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
H A Dvp-tri-tex.c43 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
49 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
50 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
51 tex2d[t][s][2] = 0;
53 tex2d[t][s][0] = s*255/(SIZE-1);
54 tex2d[t][s][1] = t*255/(SIZE-1);
55 tex2d[t][s][2] = 0;
63 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
H A Dquad-tex-alpha.c49 GLubyte tex2d[SIZE][SIZE][4]; local in function:Init
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
56 tex2d[t][s][2] = 0;
57 tex2d[t][s][3] = ((t^s) & 3) * 63;
68 GL_RGBA, GL_UNSIGNED_BYTE, tex2d);
H A Dquad-tex-pbo.c51 GLubyte tex2d[SIZE][SIZE][4]; local in function:Init
58 tex2d[t][s][0] = 0x30;
59 tex2d[t][s][1] = t*255/(SIZE-1);
60 tex2d[t][s][2] = s*255/(SIZE-1);
61 tex2d[t][s][3] = 0xff;
70 SIZE * SIZE * 4, tex2d, GL_STATIC_DRAW);
H A Dtri-alpha-tex.c49 GLubyte tex2d[SIZE][SIZE][4]; local in function:Init
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
56 tex2d[t][s][2] = 0;
57 tex2d[t][s][3] = ((t^s) & 3) * 63;
68 GL_RGBA, GL_UNSIGNED_BYTE, tex2d);
H A Dvp-tri-cb-tex.c65 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
71 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
72 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
73 tex2d[t][s][2] = 0;
75 tex2d[t][s][0] = s*255/(SIZE-1);
76 tex2d[t][s][1] = t*255/(SIZE-1);
77 tex2d[t][s][2] = 0;
85 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
H A Dtri-multitex-vbo.c88 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
93 tex2d[t][s][0] = s*255/(SIZE-1);
94 tex2d[t][s][1] = t*255/(SIZE-1);
95 tex2d[t][s][2] = 0;
105 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
117 GLubyte tex2d[SIZE][SIZE][3]; local in function:Init
123 tex2d[t][s][0] = on ? 128 : 0;
124 tex2d[t][s][1] = on ? 128 : 0;
125 tex2d[t][s][2] = on ? 128 : 0;
134 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
[all...]
H A Dquad-tex-sub.c41 GLubyte tex2d[SIZE][SIZE][3]; local in function:MakeImage
46 tex2d[t][s][0] = s*255/(SIZE-1);
47 tex2d[t][s][1] = t*255/(SIZE-1);
48 tex2d[t][s][2] = 0*255/(SIZE-1);
56 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dbug_texstore_i8.c54 GLubyte tex2d[SIZE][SIZE][4]; local in function:Init
59 tex2d[t][s][0] = 0xff;
60 tex2d[t][s][1] = 0xff;
61 tex2d[t][s][2] = 0xff;
62 tex2d[t][s][3] = 0xff;
77 tex2d);

Completed in 18 milliseconds

12