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

1 2 3

  /xsrc/external/mit/xf86-video-intel/dist/test/
test_render.c 22 struct test_target *tt)
27 tt->dpy = dpy;
28 tt->target = target;
30 tt->draw = dpy->root;
31 tt->format = dpy->format;
32 tt->width = dpy->width;
33 tt->height = dpy->height;
34 tt->depth = dpy->depth;
42 tt->width /= 4;
43 tt->height /= 4
    [all...]
render-composite-solid.c 35 struct test_target tt; local
43 test_target_create_render(&t->out, target, &tt);
51 int x = rand() % (tt.width - 1);
52 int y = rand() % (tt.height - 1);
58 fill_rect(&t->out, tt.picture, PictOpSrc,
64 cells[y*tt.width+x] = color(red, green, blue, alpha);
67 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
74 XShmGetImage(t->out.dpy, tt.draw, &image,
79 cells[y*tt.width+x])) {
88 cells[y*tt.width+x] & mask
110 struct test_target tt; local
    [all...]
render-fill.c 32 struct test_target tt; local
40 test_target_create_render(&t->out, target, &tt);
48 int x = rand() % (tt.width - 1);
49 int y = rand() % (tt.height - 1);
55 fill_rect(&t->out, tt.picture, PictOpSrc,
61 cells[y*tt.width+x] = color(red, green, blue, alpha);
64 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
71 XShmGetImage(t->out.dpy, tt.draw, &image,
76 cells[y*tt.width+x])) {
80 cells[y*tt.width+x] & mask
102 struct test_target tt; local
    [all...]
render-copyarea-size.c 17 static void target_init(struct test_display *t, struct draw *tt, int size)
21 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32);
23 tt->a = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
24 size, size, tt->format->depth);
25 tt->pa = XRenderCreatePicture(t->dpy, tt->a, tt->format, 0, NULL);
31 XRenderFillRectangle(t->dpy, PictOpSrc, tt->pa, &color, 0, 0, size, size);
33 tt->b = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
34 size, size, tt->format->depth)
    [all...]
basic-copyarea.c 86 struct test_target tt; local
94 test_target_create_render(&t->out, target, &tt);
102 int x = rand() % (tt.width - 1);
103 int y = rand() % (tt.height - 1);
106 fill_rect(&t->out, tt.draw, tt.format,
112 cells[y*tt.width+x] = fg;
115 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
122 XShmGetImage(t->out.dpy, tt.draw, &image,
127 cells[y*tt.width+x]))
155 struct test_target tt; local
    [all...]
render-copyarea.c 86 struct test_target tt; local
94 test_target_create_render(&t->out, target, &tt);
102 int x = rand() % (tt.width - 1);
103 int y = rand() % (tt.height - 1);
109 fill_rect(&t->out, tt.picture, tt.format,
116 cells[y*tt.width+x] = color(red, green, blue, alpha);
119 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
126 XShmGetImage(t->out.dpy, tt.draw, &image,
131 cells[y*tt.width+x]))
159 struct test_target tt; local
    [all...]
mixed-stress.c 10 static void _render_copy(struct test_target *tt,
18 tmp = XCreatePixmap(tt->dpy->dpy, DefaultRootWindow(tt->dpy->dpy),
19 10+w, 20+h, tt->format->depth);
20 src = XRenderCreatePicture(tt->dpy->dpy, tmp, tt->format, 0, NULL);
27 XRenderFillRectangle(tt->dpy->dpy, PictOpSrc, src, &color, 0, 0, w+10, h+20);
33 XRenderFillRectangle(tt->dpy->dpy, PictOpSrc, src, &color, 5, 10, w, h);
35 XRenderComposite(tt->dpy->dpy, PictOpSrc,
36 src, 0, tt->picture
    [all...]
basic-fillrect.c 57 struct test_target tt; local
65 test_target_create_render(&t->out, target, &tt);
73 int x = rand() % (tt.width - 1);
74 int y = rand() % (tt.height - 1);
77 fill_rect(&t->out, tt.draw, GXcopy,
82 cells[y*tt.width+x] = fg;
85 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
92 XShmGetImage(t->out.dpy, tt.draw, &image,
97 cells[y*tt.width+x])) {
102 cells[y*tt.width+x] & mask
125 struct test_target tt; local
    [all...]
render-copy-alphaless.c 69 struct test_target tt; local
77 test_target_create_render(&t->out, target, &tt);
85 int x = rand() % (tt.width - 1);
86 int y = rand() % (tt.height - 1);
91 fill_rect(&t->out, tt.picture,
97 cells[y*tt.width+x] = color(red, green, blue, 0xff);
100 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
107 XShmGetImage(t->out.dpy, tt.draw, &image,
112 cells[y*tt.width+x])) {
117 cells[y*tt.width+x] & mask
140 struct test_target tt; local
    [all...]
render-fill-copy.c 58 struct test_target tt; local
66 test_target_create_render(&t->out, target, &tt);
74 int x = rand() % (tt.width - 1);
75 int y = rand() % (tt.height - 1);
81 fill_rect(&t->out, tt.picture, tt.format,
87 cells[y*tt.width+x] = color(red, green, blue, alpha);
90 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
97 XShmGetImage(t->out.dpy, tt.draw, &image,
102 cells[y*tt.width+x]))
132 struct test_target tt; local
    [all...]
basic-copyarea-size.c 16 static void target_init(struct test_display *t, struct draw *tt, int size)
20 tt->a = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
22 tt->b = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
26 tt->gc = XCreateGC(t->dpy, tt->a, GCGraphicsExposures, &val);
28 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32);
31 XChangeGC(t->dpy, tt->gc, GCForeground, &val);
32 XFillRectangle(t->dpy, tt->a, tt->gc, 0, 0, size, size);
35 XChangeGC(t->dpy, tt->gc, GCForeground, &val)
    [all...]
basic-stress.c 10 static void fill_rect(struct test_target *tt,
18 XChangeGC(tt->dpy->dpy, tt->gc, GCFunction | GCForeground, &val);
20 XFillRectangle(tt->dpy->dpy, tt->draw, tt->gc, x, y, w, h);
23 static void clear(struct test_target *tt)
25 fill_rect(tt,
27 0, 0, tt->width, tt->height)
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
test_render.c 22 struct test_target *tt)
27 tt->dpy = dpy;
28 tt->target = target;
30 tt->draw = dpy->root;
31 tt->format = dpy->format;
32 tt->width = dpy->width;
33 tt->height = dpy->height;
34 tt->depth = dpy->depth;
42 tt->width /= 4;
43 tt->height /= 4
    [all...]
render-composite-solid.c 35 struct test_target tt; local
43 test_target_create_render(&t->out, target, &tt);
51 int x = rand() % (tt.width - 1);
52 int y = rand() % (tt.height - 1);
58 fill_rect(&t->out, tt.picture, PictOpSrc,
64 cells[y*tt.width+x] = color(red, green, blue, alpha);
67 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
74 XShmGetImage(t->out.dpy, tt.draw, &image,
79 cells[y*tt.width+x])) {
88 cells[y*tt.width+x] & mask
110 struct test_target tt; local
    [all...]
render-fill.c 32 struct test_target tt; local
40 test_target_create_render(&t->out, target, &tt);
48 int x = rand() % (tt.width - 1);
49 int y = rand() % (tt.height - 1);
55 fill_rect(&t->out, tt.picture, PictOpSrc,
61 cells[y*tt.width+x] = color(red, green, blue, alpha);
64 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
71 XShmGetImage(t->out.dpy, tt.draw, &image,
76 cells[y*tt.width+x])) {
80 cells[y*tt.width+x] & mask
102 struct test_target tt; local
    [all...]
render-copyarea-size.c 17 static void target_init(struct test_display *t, struct draw *tt, int size)
21 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32);
23 tt->a = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
24 size, size, tt->format->depth);
25 tt->pa = XRenderCreatePicture(t->dpy, tt->a, tt->format, 0, NULL);
31 XRenderFillRectangle(t->dpy, PictOpSrc, tt->pa, &color, 0, 0, size, size);
33 tt->b = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
34 size, size, tt->format->depth)
    [all...]
basic-copyarea.c 86 struct test_target tt; local
94 test_target_create_render(&t->out, target, &tt);
102 int x = rand() % (tt.width - 1);
103 int y = rand() % (tt.height - 1);
106 fill_rect(&t->out, tt.draw, tt.format,
112 cells[y*tt.width+x] = fg;
115 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
122 XShmGetImage(t->out.dpy, tt.draw, &image,
127 cells[y*tt.width+x]))
155 struct test_target tt; local
    [all...]
render-copyarea.c 86 struct test_target tt; local
94 test_target_create_render(&t->out, target, &tt);
102 int x = rand() % (tt.width - 1);
103 int y = rand() % (tt.height - 1);
109 fill_rect(&t->out, tt.picture, tt.format,
116 cells[y*tt.width+x] = color(red, green, blue, alpha);
119 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
126 XShmGetImage(t->out.dpy, tt.draw, &image,
131 cells[y*tt.width+x]))
159 struct test_target tt; local
    [all...]
mixed-stress.c 10 static void _render_copy(struct test_target *tt,
18 tmp = XCreatePixmap(tt->dpy->dpy, DefaultRootWindow(tt->dpy->dpy),
19 10+w, 20+h, tt->format->depth);
20 src = XRenderCreatePicture(tt->dpy->dpy, tmp, tt->format, 0, NULL);
27 XRenderFillRectangle(tt->dpy->dpy, PictOpSrc, src, &color, 0, 0, w+10, h+20);
33 XRenderFillRectangle(tt->dpy->dpy, PictOpSrc, src, &color, 5, 10, w, h);
35 XRenderComposite(tt->dpy->dpy, PictOpSrc,
36 src, 0, tt->picture
    [all...]
basic-fillrect.c 57 struct test_target tt; local
65 test_target_create_render(&t->out, target, &tt);
73 int x = rand() % (tt.width - 1);
74 int y = rand() % (tt.height - 1);
77 fill_rect(&t->out, tt.draw, GXcopy,
82 cells[y*tt.width+x] = fg;
85 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
92 XShmGetImage(t->out.dpy, tt.draw, &image,
97 cells[y*tt.width+x])) {
102 cells[y*tt.width+x] & mask
125 struct test_target tt; local
    [all...]
render-copy-alphaless.c 69 struct test_target tt; local
77 test_target_create_render(&t->out, target, &tt);
85 int x = rand() % (tt.width - 1);
86 int y = rand() % (tt.height - 1);
91 fill_rect(&t->out, tt.picture,
97 cells[y*tt.width+x] = color(red, green, blue, 0xff);
100 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
107 XShmGetImage(t->out.dpy, tt.draw, &image,
112 cells[y*tt.width+x])) {
117 cells[y*tt.width+x] & mask
140 struct test_target tt; local
    [all...]
render-fill-copy.c 58 struct test_target tt; local
66 test_target_create_render(&t->out, target, &tt);
74 int x = rand() % (tt.width - 1);
75 int y = rand() % (tt.height - 1);
81 fill_rect(&t->out, tt.picture, tt.format,
87 cells[y*tt.width+x] = color(red, green, blue, alpha);
90 test_init_image(&image, &t->out.shm, tt.format, 1, 1);
97 XShmGetImage(t->out.dpy, tt.draw, &image,
102 cells[y*tt.width+x]))
132 struct test_target tt; local
    [all...]
basic-copyarea-size.c 16 static void target_init(struct test_display *t, struct draw *tt, int size)
20 tt->a = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
22 tt->b = XCreatePixmap(t->dpy, DefaultRootWindow(t->dpy),
26 tt->gc = XCreateGC(t->dpy, tt->a, GCGraphicsExposures, &val);
28 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32);
31 XChangeGC(t->dpy, tt->gc, GCForeground, &val);
32 XFillRectangle(t->dpy, tt->a, tt->gc, 0, 0, size, size);
35 XChangeGC(t->dpy, tt->gc, GCForeground, &val)
    [all...]
basic-stress.c 10 static void fill_rect(struct test_target *tt,
18 XChangeGC(tt->dpy->dpy, tt->gc, GCFunction | GCForeground, &val);
20 XFillRectangle(tt->dpy->dpy, tt->draw, tt->gc, x, y, w, h);
23 static void clear(struct test_target *tt)
25 fill_rect(tt,
27 0, 0, tt->width, tt->height)
    [all...]
  /xsrc/external/mit/libxcb/dist/tests/
check_suites.h 6 void suite_add_test(Suite *s, const TTest *tt, const char *name);

Completed in 15 milliseconds

1 2 3