HomeSort by: relevance | last modified time | path
    Searched refs:SIZE (Results 1 - 25 of 86) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/pixman/dist/test/
filter-reduction-test.c 18 #define SIZE 12
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 * 4)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/trivial/
tri-tex-3d.c 47 #define SIZE 16
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/2) ? 0 : 255
    [all...]
point-sprite.c 45 #define SIZE 16
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, SIZE, 0
    [all...]
quad-tex-sub.c 35 #define SIZE 16
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...]
quad-tex-2d.c 46 #define SIZE 32
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, 0, GL_RGB, GL_UNSIGNED_BYTE, tex2d)
    [all...]
quad-tex-3d.c 47 #define SIZE 16
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/2) ? 0 : 255
    [all...]
quad-tex-pbo.c 49 #define SIZE 16
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, SIZE, 0
    [all...]
tri-tex.c 45 #define SIZE 32
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, SIZE, 0
    [all...]
vp-tri-tex.c 41 #define SIZE 32
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, SIZE, 0
    [all...]
quad-tex-alpha.c 47 #define SIZE 16
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,
tri-alpha-tex.c 47 #define SIZE 16
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,
vp-tri-cb-tex.c 63 #define SIZE 32
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, SIZE, 0
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/util/tests/hash_table/
insert_many.c 35 #define SIZE 10000
54 uint32_t keys[SIZE];
62 for (i = 0; i < SIZE; i++) {
68 for (i = 0; i < SIZE; i++) {
73 assert(ht->entries == SIZE);
delete_management.c 35 #define SIZE 10000
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);
clear.c 28 #define SIZE 1000
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/MesaLib.old/dist/src/util/tests/hash_table/
insert_many.c 35 #define SIZE 10000
54 uint32_t keys[SIZE];
62 for (i = 0; i < SIZE; i++) {
68 for (i = 0; i < SIZE; i++) {
73 assert(ht->entries == SIZE);
delete_management.c 35 #define SIZE 10000
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);
clear.c 28 #define SIZE 1000
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/pixman/dist/demos/
conical-test.c 4 #define SIZE 128
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);
radial-test.c 7 #define SIZE 128
8 #define WIDTH (SIZE * NUM_GRADIENTS)
9 #define HEIGHT (SIZE * NUM_REPEAT)
24 * - If the two circles have the same size, neither can be inside or
43 * - Start circle with the same size as the end circle
166 pixman_double_to_fixed (SIZE),
167 pixman_double_to_fixed (SIZE));
195 i * SIZE, j * SIZE,
196 SIZE, SIZE)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/tests/
bug_texstore_i8.c 52 #define SIZE 16
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/dist/src/gallium/tests/graw/
quad-tex.c 119 #define SIZE 16
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...]
tex-srgb.c 148 #define SIZE 64
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.old/dist/src/gallium/tests/graw/
quad-tex.c 119 #define SIZE 16
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...]
tex-srgb.c 148 #define SIZE 64
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 22 milliseconds

1 2 3 4