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

1 2

  /xsrc/external/mit/pixman/dist/demos/
trap-test.c 16 pixman_trap_t trap; local
24 trap.top.l = pixman_int_to_fixed (50) + 0x8000;
25 trap.top.r = pixman_int_to_fixed (150) + 0x8000;
26 trap.top.y = pixman_int_to_fixed (30);
28 trap.bot.l = pixman_int_to_fixed (50) + 0x8000;
29 trap.bot.r = pixman_int_to_fixed (150) + 0x8000;
30 trap.bot.y = pixman_int_to_fixed (150);
36 pixman_add_traps (mask_img, 0, 0, 1, &trap);
  /xsrc/external/mit/xorg-server.old/dist/fb/
fbtrap.c 53 xTrapezoid *trap,
63 pixman_rasterize_trapezoid (image, (pixman_trapezoid_t *)trap, x_off, y_off);
102 xTrapezoid trap; local
132 trap.top = top->y;
133 trap.left.p1 = *top;
134 trap.left.p2 = *left;
135 trap.right.p1 = *top;
136 trap.right.p2 = *right;
138 trap.bottom = right->y;
140 trap.bottom = left->y
    [all...]
fbpict.h 57 xTrapezoid *trap,
  /xsrc/external/mit/pixman/dist/test/
a1-trap-test.c 16 pixman_trap_t trap; local
24 trap.top.l = pixman_double_to_fixed (0.5);
25 trap.top.r = pixman_double_to_fixed (1.5);
26 trap.top.y = pixman_double_to_fixed (0.5);
28 trap.bot.l = pixman_double_to_fixed (0.5);
29 trap.bot.r = pixman_double_to_fixed (1.5);
30 trap.bot.y = pixman_double_to_fixed (1.5);
38 pixman_add_traps (mask_img, 0, 0, 1, &trap);
  /xsrc/external/mit/xf86-video-intel/dist/test/
render-trapezoid.c 58 XTrapezoid trap; local
66 trap.left.p1.x = trap.left.p2.x = (x << 16) + dx;
67 trap.top = trap.left.p1.y = trap.right.p1.y = (y << 16) + dy;
68 trap.right.p1.x = trap.right.p2.x = ((x + w) << 16) + dx;
69 trap.bottom = trap.left.p2.y = trap.right.p2.y = ((y + h) << 16) + dy
436 XTrapezoid trap; local
    [all...]
render-trapezoid-image.c 96 XTrapezoid trap; local
126 trap.left.p1.x = trap.left.p2.x = (x << 16) + dx;
127 trap.top = trap.left.p1.y = trap.right.p1.y = (y << 16) + dy;
128 trap.right.p1.x = trap.right.p2.x = ((x + w) << 16) + dx;
129 trap.bottom = trap.left.p2.y = trap.right.p2.y = ((y + h) << 16) + dy
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
render-trapezoid.c 58 XTrapezoid trap; local
66 trap.left.p1.x = trap.left.p2.x = (x << 16) + dx;
67 trap.top = trap.left.p1.y = trap.right.p1.y = (y << 16) + dy;
68 trap.right.p1.x = trap.right.p2.x = ((x + w) << 16) + dx;
69 trap.bottom = trap.left.p2.y = trap.right.p2.y = ((y + h) << 16) + dy
    [all...]
render-trapezoid-image.c 96 XTrapezoid trap; local
126 trap.left.p1.x = trap.left.p2.x = (x << 16) + dx;
127 trap.top = trap.left.p1.y = trap.right.p1.y = (y << 16) + dy;
128 trap.right.p1.x = trap.right.p2.x = ((x + w) << 16) + dx;
129 trap.bottom = trap.left.p2.y = trap.right.p2.y = ((y + h) << 16) + dy
    [all...]
  /xsrc/external/mit/pixman/dist/pixman/
pixman-trap.c 332 const pixman_trapezoid_t *trap = &(traps[i]); local
334 if (!pixman_trapezoid_valid (trap))
337 pixman_rasterize_trapezoid (image, trap, x_off, y_off);
347 const pixman_trapezoid_t *trap,
362 if (!pixman_trapezoid_valid (trap))
370 t = trap->top + y_off_fixed;
375 b = trap->bottom + y_off_fixed;
383 pixman_line_fixed_edge_init (&l, bpp, t, &trap->left, x_off, y_off);
384 pixman_line_fixed_edge_init (&r, bpp, t, &trap->right, x_off, y_off);
434 const pixman_trapezoid_t *trap = &(traps[i]) local
509 const pixman_trapezoid_t *trap = &(traps[i]); local
532 const pixman_trapezoid_t *trap = &(traps[i]); local
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
sna_trapezoids_boxes.c 363 const xTrapezoid *trap, int dx,
375 x1 = dx + pixman_fixed_to_int(trap->left.p1.x);
376 x2 = dx + pixman_fixed_to_int(trap->right.p1.x);
397 opacity *= grid_coverage(SAMPLES_X, trap->right.p1.x) - grid_coverage(SAMPLES_X, trap->left.p1.x);
403 if (pixman_fixed_frac(trap->left.p1.x)) {
408 opacity *= SAMPLES_X - grid_coverage(SAMPLES_X, trap->left.p1.x);
424 if (pixman_fixed_frac(trap->right.p1.x)) {
429 opacity *= grid_coverage(SAMPLES_X, trap->right.p1.x);
441 const xTrapezoid *trap,
1010 const xTrapezoid *trap; member in struct:rectilinear_inplace_thread
    [all...]
sna_trapezoids.h 216 int ntrap, xTrap *trap);
222 int ntrap, xTrap *trap);
228 int ntrap, xTrap *trap)
234 return mono_trap_span_converter(sna, dst, src_x, src_y, ntrap, trap);
236 return precise_trap_span_converter(sna, dst, src_x, src_y, ntrap, trap);
238 return imprecise_trap_span_converter(sna, dst, src_x, src_y, ntrap, trap);
245 int ntrap, xTrap *trap);
sna_trapezoids_imprecise.c 3198 int ntrap, xTrap *trap)
3250 if (pixman_fixed_to_int(trap[n].top.y) + dst->pDrawable->y >= extents.y2 ||
3251 pixman_fixed_to_int(trap[n].bot.y) + dst->pDrawable->y < extents.y1)
3254 p1.y = trap[n].top.y;
3255 p2.y = trap[n].bot.y;
3256 p1.x = trap[n].top.l;
3257 p2.x = trap[n].bot.l;
3260 p1.y = trap[n].bot.y;
3261 p2.y = trap[n].top.y;
3262 p1.x = trap[n].top.r
    [all...]
sna_trapezoids.c 745 int ntrap, xTrap *trap)
765 v = x + pixman_fixed_integer_floor (MIN(trap[n].top.l, trap[n].bot.l));
769 v = x + pixman_fixed_integer_ceil (MAX(trap[n].top.r, trap[n].bot.r));
773 v = y + pixman_fixed_integer_floor (trap[n].top.y);
777 v = y + pixman_fixed_integer_ceil (trap[n].bot.y);
804 ntrap, (pixman_trap_t *)trap);
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
sna_trapezoids_boxes.c 363 const xTrapezoid *trap, int dx,
375 x1 = dx + pixman_fixed_to_int(trap->left.p1.x);
376 x2 = dx + pixman_fixed_to_int(trap->right.p1.x);
397 opacity *= grid_coverage(SAMPLES_X, trap->right.p1.x) - grid_coverage(SAMPLES_X, trap->left.p1.x);
403 if (pixman_fixed_frac(trap->left.p1.x)) {
408 opacity *= SAMPLES_X - grid_coverage(SAMPLES_X, trap->left.p1.x);
424 if (pixman_fixed_frac(trap->right.p1.x)) {
429 opacity *= grid_coverage(SAMPLES_X, trap->right.p1.x);
441 const xTrapezoid *trap,
1008 const xTrapezoid *trap; member in struct:rectilinear_inplace_thread
    [all...]
sna_trapezoids.h 216 int ntrap, xTrap *trap);
222 int ntrap, xTrap *trap);
228 int ntrap, xTrap *trap)
234 return mono_trap_span_converter(sna, dst, src_x, src_y, ntrap, trap);
236 return precise_trap_span_converter(sna, dst, src_x, src_y, ntrap, trap);
238 return imprecise_trap_span_converter(sna, dst, src_x, src_y, ntrap, trap);
245 int ntrap, xTrap *trap);
sna_trapezoids_imprecise.c 3239 int ntrap, xTrap *trap)
3291 if (pixman_fixed_to_int(trap[n].top.y) + dst->pDrawable->y >= extents.y2 ||
3292 pixman_fixed_to_int(trap[n].bot.y) + dst->pDrawable->y < extents.y1)
3295 p1.y = trap[n].top.y;
3296 p2.y = trap[n].bot.y;
3297 p1.x = trap[n].top.l;
3298 p2.x = trap[n].bot.l;
3301 p1.y = trap[n].bot.y;
3302 p2.y = trap[n].top.y;
3303 p1.x = trap[n].top.r
    [all...]
sna_trapezoids.c 745 int ntrap, xTrap *trap)
765 v = x + pixman_fixed_integer_floor (MIN(trap[n].top.l, trap[n].bot.l));
769 v = x + pixman_fixed_integer_ceil (MAX(trap[n].top.r, trap[n].bot.r));
773 v = y + pixman_fixed_integer_floor (trap[n].top.y);
777 v = y + pixman_fixed_integer_ceil (trap[n].bot.y);
804 ntrap, (pixman_trap_t *)trap);
  /xsrc/external/mit/bitmap/dist/
ReqMach.c 70 BWAddRequest(Widget w, BWRequest name, Boolean trap,
88 BW->bitmap.request_stack[BW->bitmap.cardinal].trap = trap;
143 (!BW->bitmap.request_stack[BW->bitmap.current--].trap)) {
245 BWEngageRequest(Widget w, BWRequest name, Boolean trap,
250 if (BWAddRequest(w, name, trap, call_data, call_data_size)) {
Bitmap.h 190 extern Boolean BWEngageRequest(Widget w, BWRequest name, Boolean trap,
243 extern Boolean BWAddRequest ( Widget w, BWRequest name, Boolean trap, XtPointer call_data, Cardinal call_data_size );
BitEdit.c 105 Boolean trap; member in struct:__anon1
1043 (file_menu[i].trap ?
1064 (edit_menu[i].trap ?
1086 (buttons[i].trap ?
BitmapP.h 86 Boolean trap; member in struct:__anon4
  /xsrc/external/mit/xorg-server/dist/fb/
fbpict.h 49 fbRasterizeTrapezoid(PicturePtr alpha, xTrapezoid * trap, int x_off, int y_off);
fbtrap.c 52 xTrapezoid * trap, int x_off, int y_off)
60 pixman_rasterize_trapezoid(image, (pixman_trapezoid_t *) trap,
  /xsrc/external/mit/imake/dist/
mdepend.cpp 41 trap "rm -rf ${TMP}; exit 1" 1 2 15
42 trap "rm -rf ${TMP}; exit 0" 1 2 13
239 trap "" 1 2 13 15 # Now we are committed
mergelib.cpp 63 trap "rm -rf $tmpdir; exit 1" 1 2 15
64 trap "rm -rf $tmpdir; exit 0" 1 2 13

Completed in 37 milliseconds

1 2