Searched refs:SIZE (Results 1 - 25 of 95) sorted by relevance

1234

/xsrc/external/mit/pixman/dist/test/
H A Dfilter-reduction-test.c18 #define SIZE 12 macro
26 srcbuf = malloc (SIZE * SIZE * 4);
27 prng_randmemset (srcbuf, SIZE * SIZE * 4, 0);
29 PIXMAN_a8r8g8b8, SIZE, SIZE, srcbuf, SIZE * 4);
31 dstbuf = malloc (SIZE * SIZE *
[all...]
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A Dtri-tex-3d.c47 #define SIZE 16 macro
49 GLubyte tex3d[SIZE][SIZE][SIZE][3];
52 for (s = 0; s < SIZE; s++) {
53 for (t = 0; t < SIZE; t++) {
54 for (r = 0; r < SIZE; r++) {
56 tex3d[r][t][s][0] = (s < SIZE/2) ? 0 : 255;
57 tex3d[r][t][s][1] = (t < SIZE/2) ? 0 : 255;
58 tex3d[r][t][s][2] = (r < SIZE/
[all...]
H A Dpoint-sprite.c45 #define SIZE 16 macro
47 GLubyte tex2d[SIZE][SIZE][3];
50 for (s = 0; s < SIZE; s++) {
51 for (t = 0; t < SIZE; t++) {
53 tex2d[t][s][0] = (s < SIZE / 2) ? 0 : 255;
54 tex2d[t][s][1] = (t < SIZE / 2) ? 0 : 255;
57 tex2d[t][s][0] = s * 255 / (SIZE - 1);
58 tex2d[t][s][1] = t * 255 / (SIZE - 1);
71 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZ
[all...]
H A Dquad-tex-sub.c35 #define SIZE 16 macro
41 GLubyte tex2d[SIZE][SIZE][3];
44 for (s = 0; s < SIZE; s++) {
45 for (t = 0; t < SIZE; t++) {
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);
54 SIZE, SIZE,
[all...]
H A Dquad-tex-2d.c46 #define SIZE 32 macro
48 GLubyte tex2d[SIZE][SIZE][3];
51 for (s = 0; s < SIZE; s++) {
52 for (t = 0; t < SIZE; t++) {
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
58 tex2d[t][s][0] = s*255/(SIZE-1);
59 tex2d[t][s][1] = t*255/(SIZE-1);
68 glTexImage1D(Target, 0, 3, SIZE,
[all...]
H A Dquad-tex-3d.c47 #define SIZE 16 macro
49 GLubyte tex3d[SIZE][SIZE][SIZE][3];
52 for (s = 0; s < SIZE; s++) {
53 for (t = 0; t < SIZE; t++) {
54 for (r = 0; r < SIZE; r++) {
56 tex3d[r][t][s][0] = (s < SIZE/2) ? 0 : 255;
57 tex3d[r][t][s][1] = (t < SIZE/2) ? 0 : 255;
58 tex3d[r][t][s][2] = (r < SIZE/
[all...]
H A Dquad-tex-pbo.c49 #define SIZE 16 macro
51 GLubyte tex2d[SIZE][SIZE][4];
54 for (s = 0; s < SIZE; s++) {
55 for (t = 0; t < SIZE; t++) {
59 tex2d[t][s][1] = t*255/(SIZE-1);
60 tex2d[t][s][2] = s*255/(SIZE-1);
70 SIZE * SIZE * 4, tex2d, GL_STATIC_DRAW);
81 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, SIZE, SIZ
[all...]
H A Dtri-tex.c45 #define SIZE 32 macro
47 GLubyte tex2d[SIZE][SIZE][3];
50 for (s = 0; s < SIZE; s++) {
51 for (t = 0; t < SIZE; t++) {
53 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
54 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
57 tex2d[t][s][0] = s*255/(SIZE-1);
58 tex2d[t][s][1] = t*255/(SIZE-1);
66 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZ
[all...]
H A Dvp-tri-tex.c41 #define SIZE 32 macro
43 GLubyte tex2d[SIZE][SIZE][3];
46 for (s = 0; s < SIZE; s++) {
47 for (t = 0; t < SIZE; t++) {
49 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
50 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
53 tex2d[t][s][0] = s*255/(SIZE-1);
54 tex2d[t][s][1] = t*255/(SIZE-1);
62 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZ
[all...]
H A Dquad-tex-alpha.c47 #define SIZE 16 macro
49 GLubyte tex2d[SIZE][SIZE][4];
52 for (s = 0; s < SIZE; s++) {
53 for (t = 0; t < SIZE; t++) {
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
67 glTexImage2D(GL_TEXTURE_2D, 0, 4, SIZE, SIZE, 0,
H A Dtri-alpha-tex.c47 #define SIZE 16 macro
49 GLubyte tex2d[SIZE][SIZE][4];
52 for (s = 0; s < SIZE; s++) {
53 for (t = 0; t < SIZE; t++) {
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
67 glTexImage2D(GL_TEXTURE_2D, 0, 4, SIZE, SIZE, 0,
H A Dvp-tri-cb-tex.c63 #define SIZE 32 macro
65 GLubyte tex2d[SIZE][SIZE][3];
68 for (s = 0; s < SIZE; s++) {
69 for (t = 0; t < SIZE; t++) {
71 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
72 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
75 tex2d[t][s][0] = s*255/(SIZE-1);
76 tex2d[t][s][1] = t*255/(SIZE-1);
84 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZ
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/tests/hash_table/
H A Dinsert_many.c35 #define SIZE 10000 macro
54 uint32_t keys[SIZE];
62 for (i = 0; i < SIZE; i++) {
68 for (i = 0; i < SIZE; i++) {
73 assert(ht->entries == SIZE);
H A Ddelete_management.c35 #define SIZE 10000 macro
54 uint32_t keys[SIZE];
62 for (i = 0; i < SIZE; i++) {
75 for (i = SIZE - 100; i < SIZE; i++) {
85 assert(key_value(entry->key) >= SIZE - 100 &&
86 key_value(entry->key) < SIZE);
H A Dclear.c28 #define SIZE 1000 macro
60 bool flags[SIZE];
65 for (i = 0; i < SIZE; ++i) {
75 for (i = 0; i < SIZE; ++i) {
82 for (i = 0; i < SIZE; ++i) {
87 assert(key_id(entry->key) < SIZE);
/xsrc/external/mit/MesaLib/dist/src/util/tests/hash_table/
H A Dinsert_many.c35 #define SIZE 10000 macro
54 uint32_t keys[SIZE];
62 for (i = 0; i < SIZE; i++) {
68 for (i = 0; i < SIZE; i++) {
73 assert(ht->entries == SIZE);
H A Ddelete_management.c35 #define SIZE 10000 macro
54 uint32_t keys[SIZE];
62 for (i = 0; i < SIZE; i++) {
75 for (i = SIZE - 100; i < SIZE; i++) {
85 assert(key_value(entry->key) >= SIZE - 100 &&
86 key_value(entry->key) < SIZE);
H A Dclear.c28 #define SIZE 1000 macro
60 bool flags[SIZE];
65 for (i = 0; i < SIZE; ++i) {
75 for (i = 0; i < SIZE; ++i) {
82 for (i = 0; i < SIZE; ++i) {
87 assert(key_id(entry->key) < SIZE);
96 for (i = 0; i < SIZE; ++i) {
101 assert(key_id(entry->key) < SIZE);
/xsrc/external/mit/pixman/dist/demos/
H A Dconical-test.c4 #define SIZE 128 macro
7 #define WIDTH (SIZE * GRADIENTS_PER_ROW)
8 #define HEIGHT (SIZE * NUM_ROWS)
71 pixman_double_to_fixed (SIZE),
72 pixman_double_to_fixed (SIZE));
89 0, 0, 0, 0, column * SIZE, row * SIZE,
90 SIZE, SIZE);
H A Dradial-test.c7 #define SIZE 128 macro
8 #define WIDTH (SIZE * NUM_GRADIENTS)
9 #define HEIGHT (SIZE * NUM_REPEAT)
166 pixman_double_to_fixed (SIZE),
167 pixman_double_to_fixed (SIZE));
195 i * SIZE, j * SIZE,
196 SIZE, SIZE);
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dbug_texstore_i8.c52 #define SIZE 16 macro
54 GLubyte tex2d[SIZE][SIZE][4];
57 for (s = 0; s < SIZE; s++) {
58 for (t = 0; t < SIZE; t++) {
72 SIZE, SIZE,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dquad-tex.c119 #define SIZE 16 macro
123 ubyte tex2d[SIZE][SIZE][4];
126 #if (SIZE != 2)
127 for (s = 0; s < SIZE; s++) {
128 for (t = 0; t < SIZE; t++) {
138 tex2d[t][s][0] = s*255/(SIZE-1);
139 tex2d[t][s][1] = t*255/(SIZE-1);
167 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
[all...]
H A Dtex-srgb.c148 #define SIZE 64 macro
149 ubyte tex2d[SIZE][SIZE][4];
152 for (s = 0; s < SIZE; s++) {
153 for (t = 0; t < SIZE; t++) {
155 tex2d[t][s][1] = s * 255 / SIZE;
156 tex2d[t][s][2] = t * 255 / SIZE;
161 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
202 #undef SIZE
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dquad-tex.c119 #define SIZE 16 macro
123 ubyte tex2d[SIZE][SIZE][4];
126 #if (SIZE != 2)
127 for (s = 0; s < SIZE; s++) {
128 for (t = 0; t < SIZE; t++) {
138 tex2d[t][s][0] = s*255/(SIZE-1);
139 tex2d[t][s][1] = t*255/(SIZE-1);
167 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
[all...]
H A Dtex-srgb.c148 #define SIZE 64 macro
149 ubyte tex2d[SIZE][SIZE][4];
152 for (s = 0; s < SIZE; s++) {
153 for (t = 0; t < SIZE; t++) {
155 tex2d[t][s][1] = s * 255 / SIZE;
156 tex2d[t][s][2] = t * 255 / SIZE;
161 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
202 #undef SIZE
[all...]

Completed in 17 milliseconds

1234