/external/pixman/demos/ |
D | clip-test.c | 28 pixman_image_t *src_img, *dst_img; in main() local 51 src_img = create_solid_bits (0xff0000ff); in main() 70 pixman_image_composite (PIXMAN_OP_OVER, gradient_img, NULL, src_img, in main() 74 pixman_image_set_clip_region32 (src_img, &clip_region); in main() 75 pixman_image_set_source_clipping (src_img, TRUE); in main() 76 pixman_image_set_has_client_clip (src_img, TRUE); in main() 77 pixman_image_set_transform (src_img, &trans); in main() 78 pixman_image_set_repeat (src_img, PIXMAN_REPEAT_NORMAL); in main() 81 pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dst_img, in main() 94 pixman_image_unref (src_img); in main()
|
D | gradient-test.c | 13 pixman_image_t *src_img; in main() local 61 src_img = pixman_image_create_conical_gradient (&c_inner, r_inner, in main() 65 src_img = pixman_image_create_conical_gradient (&c_inner, r_inner, in main() 67 src_img = pixman_image_create_linear_gradient (&c_inner, &c_outer, in main() 72 src_img = pixman_image_create_linear_gradient (&p1, &p2, in main() 75 pixman_image_set_transform (src_img, &trans); in main() 76 pixman_image_set_repeat (src_img, PIXMAN_REPEAT_NONE); in main() 78 pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dest_img, in main() 87 pixman_image_unref (src_img); in main()
|
D | clip-in.c | 27 …pixman_image_t *src_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, SMALL, SMALL, sbits, 4 * SMAL… in main() local 34 src_img, NULL, dest_img, in main() 37 pixman_image_set_transform (src_img, &trans); in main() 40 src_img, NULL, dest_img, in main() 45 pixman_image_unref (src_img); in main()
|
D | conical-test.c | 53 pixman_image_t *src_img, *dest_img; in main() local 82 src_img = create_conical (i); in main() 83 pixman_image_set_repeat (src_img, PIXMAN_REPEAT_NORMAL); in main() 85 pixman_image_set_transform (src_img, &transform); in main() 88 PIXMAN_OP_OVER, src_img, NULL,dest_img, in main() 92 pixman_image_unref (src_img); in main()
|
D | radial-test.c | 141 pixman_image_t *src_img, *dest_img; in main() local 182 src_img = create_radial (i); in main() 183 pixman_image_set_transform (src_img, &transform); in main() 187 pixman_image_set_repeat (src_img, repeat[j]); in main() 190 src_img, in main() 200 pixman_image_unref (src_img); in main()
|
D | tri-test.c | 16 pixman_image_t *src_img, *dest_img; in main() local 31 src_img = pixman_image_create_solid_fill (&color); in main() 35 src_img, in main() 43 pixman_image_unref (src_img); in main()
|
D | trap-test.c | 13 pixman_image_t *src_img; in main() local 33 src_img = pixman_image_create_solid_fill (&white); in main() 39 src_img, mask_img, dest_img, in main() 44 pixman_image_unref (src_img); in main()
|
D | alpha-test.c | 18 pixman_image_t *src_img; in main() local 69 src_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, in main() 102 pixman_image_set_alpha_map (src_img, alpha_img, 10, 10); in main() 104 pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dest_img, in main() 113 pixman_image_unref (src_img); in main()
|
D | linear-gradient.c | 10 pixman_image_t *src_img, *dest_img; in main() local 34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops)); in main() 37 src_img, in main()
|
/external/pixman/test/ |
D | gradient-crash-test.c | 12 pixman_image_t *src_img; in main() local 129 src_img = pixman_image_create_conical_gradient (&(pair->p0), r_inner, in main() 132 src_img = pixman_image_create_radial_gradient (&(pair->p0), &(pair->p1), in main() 136 src_img = pixman_image_create_linear_gradient (&(pair->p0), &(pair->p1), in main() 141 pixman_image_set_transform (src_img, &transformations[k]); in main() 143 pixman_image_set_repeat (src_img, PIXMAN_REPEAT_NONE); in main() 144 pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dest_img, in main() 148 pixman_image_unref (src_img); in main()
|
D | scaling-crash-test.c | 30 pixman_image_t * src_img; in run_test() local 61 src_img = pixman_image_create_bits ( in run_test() 66 pixman_image_composite32 (PIXMAN_OP_SRC, solid, NULL, src_img, in run_test() 74 pixman_image_set_transform (src_img, &transform); in run_test() 75 pixman_image_set_repeat (src_img, repeat); in run_test() 77 pixman_image_set_filter (src_img, filter, kernel, 27); in run_test() 79 pixman_image_set_filter (src_img, filter, NULL, 0); in run_test() 81 pixman_image_composite (PIXMAN_OP_SRC, src_img, NULL, dst_img, in run_test() 84 pixman_image_unref (src_img); in run_test()
|
D | lowlevel-blt-bench.c | 171 pixman_image_t * src_img, in bench_L() argument 204 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 63 - x, 0, width, lines_count); in bench_L() 212 pixman_image_t * src_img, in bench_M() argument 225 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 1, 0, WIDTH - 64, HEIGHT); in bench_M() 232 pixman_image_t * src_img, in bench_HT() argument 257 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); in bench_HT() 267 pixman_image_t * src_img, in bench_VT() argument 292 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); in bench_VT() 302 pixman_image_t * src_img, in bench_R() argument 328 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); in bench_R() [all …]
|
D | fetch-test.c | 151 pixman_image_t *src_img; in main() local 160 src_img = pixman_image_create_bits (testcases[i].format, in main() 165 pixman_image_set_indexed(src_img, testcases[i].indexed); in main() 175 pixman_image_set_accessors (src_img, reader, writer); in main() 179 pixman_image_composite (PIXMAN_OP_SRC, src_img, NULL, dst_img, in main() 182 pixman_image_unref (src_img); in main()
|
D | affine-test.c | 29 pixman_image_t * src_img; in test_composite() local 89 src_img = pixman_image_create_bits ( in test_composite() 95 image_endian_swap (src_img); in test_composite() 168 pixman_image_set_transform (src_img, &transform); in test_composite() 191 pixman_image_set_repeat (src_img, repeat); in test_composite() 194 pixman_image_set_filter (src_img, PIXMAN_FILTER_NEAREST, NULL, 0); in test_composite() 196 pixman_image_set_filter (src_img, PIXMAN_FILTER_BILINEAR, NULL, 0); in test_composite() 243 pixman_image_set_clip_region (src_img, &clip); in test_composite() 244 pixman_image_set_source_clipping (src_img, 1); in test_composite() 273 pixman_image_composite (op, src_img, NULL, dst_img, in test_composite() [all …]
|
D | scaling-test.c | 53 pixman_image_t * src_img; in test_composite() local 150 src_img = pixman_image_create_bits ( in test_composite() 159 image_endian_swap (src_img); in test_composite() 170 pixman_image_set_transform (src_img, &transform); in test_composite() 228 pixman_image_set_repeat (src_img, repeat); in test_composite() 231 pixman_image_set_filter (src_img, PIXMAN_FILTER_NEAREST, NULL, 0); in test_composite() 233 pixman_image_set_filter (src_img, PIXMAN_FILTER_BILINEAR, NULL, 0); in test_composite() 278 pixman_image_set_clip_region (src_img, &clip); in test_composite() 279 pixman_image_set_source_clipping (src_img, 1); in test_composite() 337 pixman_image_composite (op, src_img, NULL, dst_img, in test_composite() [all …]
|
D | blitters-test.c | 226 pixman_image_t *src_img = NULL; in test_composite() local 262 src_img = create_random_image (img_fmt_list, max_width, max_height, in test_composite() 268 src_img = create_random_image (img_fmt_list, 1, 1, in test_composite() 271 pixman_image_set_repeat (src_img, PIXMAN_REPEAT_NORMAL); in test_composite() 277 src_width = pixman_image_get_width (src_img); in test_composite() 278 src_height = pixman_image_get_height (src_img); in test_composite() 279 src_stride = pixman_image_get_stride (src_img); in test_composite() 286 srcbuf = pixman_image_get_data (src_img); in test_composite() 354 pixman_image_composite (op, src_img, mask_img, dst_img, in test_composite() 376 free_random_image (0, src_img, PIXMAN_null); in test_composite()
|
D | composite-traps-test.c | 51 pixman_image_t * src_img; in test_composite() local 87 src_img = pixman_image_create_solid_fill ( in test_composite() 109 src_img = pixman_image_create_bits ( in test_composite() 112 pixman_image_set_destroy_function (src_img, destroy_bits, bits); in test_composite() 137 pixman_image_set_clip_region (src_img, &clip); in test_composite() 138 pixman_image_set_source_clipping (src_img, 1); in test_composite() 142 image_endian_swap (src_img); in test_composite() 214 pixman_composite_trapezoids (op, src_img, dst_img, mask_format, in test_composite() 243 pixman_image_unref (src_img); in test_composite()
|
D | a1-trap-test.c | 13 pixman_image_t *src_img; in main() local 34 src_img = pixman_image_create_solid_fill (&red); in main() 41 src_img, mask_img, dest_img, in main()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/ |
D | transfer.cpp | 365 image *src_img = dynamic_cast<image *>(src_obj); in clEnqueueCopyImage() local 369 validate_obj(q, src_img); in clEnqueueCopyImage() 389 image *src_img = dynamic_cast<image *>(src_obj); in clEnqueueCopyImageToBuffer() local 392 validate_obj(q, src_img); in clEnqueueCopyImageToBuffer() 401 { 1, src_img->row_pitch(), src_img->slice_pitch() }, in clEnqueueCopyImageToBuffer()
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | transfer.cpp | 365 image *src_img = dynamic_cast<image *>(src_obj); in clEnqueueCopyImage() local 369 validate_obj(q, src_img); in clEnqueueCopyImage() 389 image *src_img = dynamic_cast<image *>(src_obj); in clEnqueueCopyImageToBuffer() local 392 validate_obj(q, src_img); in clEnqueueCopyImageToBuffer() 401 { 1, src_img->row_pitch(), src_img->slice_pitch() }, in clEnqueueCopyImageToBuffer()
|