Searched refs:dy (Results 1 - 25 of 537) sorted by relevance

1234567891011>>

/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmiscanfill.h66 * If the edge is moving to the right, then subtract dy from the
68 * If the edge is moving to the left, then add dy to the error term.
76 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) { \
83 if ((dy) != 0) { \
87 m = dx / (dy); \
89 incr1 = -2 * dx + 2 * (dy) * m1; \
90 incr2 = -2 * dx + 2 * (dy) * m; \
91 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \
93 m = dx / (dy); \
[all...]
H A Dmiwideline.c179 left_dy = left->dy;
192 right_dy = right->dy;
303 double k, /* x0 * dy - y0 * dx */
305 int dy,
314 if (dy < 0)
316 dy = -dy;
324 realk = x0 * dy - y0 * dx;
334 x = - (-xady / dy) - 1;
336 x = (xady - 1) / dy;
300 miPolyBuildEdge(double x0,double y0,double k,int dx,int dy,int xi,int yi,int left,PolyEdgePtr edge) argument
636 double scale, dx, dy, adx, ady; local in function:miLineJoin
921 int dx, dy; local in function:miRoundJoinFace
990 int dx, dy; local in function:miRoundCapClip
1114 int dx, dy; local in function:miLineProjectingCap
1285 int dx, dy; local in function:miWideSegment
1687 int dy, dx; local in function:miWideDashSegment
[all...]
H A Dmifpolycon.c92 dy, /* delta y */ local in function:miFillSppPoly
155 dy = ptsIn[nextleft].y - ptsIn[left].y;
156 if (dy != 0.0)
158 ml = (ptsIn[nextleft].x - ptsIn[left].x) / dy;
159 dy = y - (ptsIn[left].y + yFtrans);
160 xl = (ptsIn[left].x + xFtrans) + ml * max(dy, 0);
177 dy = ptsIn[nextright].y - ptsIn[right].y;
178 if (dy != 0.0)
180 mr = (ptsIn[nextright].x - ptsIn[right].x) / dy;
181 dy
[all...]
H A Dmiwideline.h44 int dy; member in struct:_PolyEdge
59 int dx, dy; member in struct:_PolySlope
60 double k; /* x0 * dy - y0 * dx */
69 int dx, dy; member in struct:_LineFace
114 extern _X_EXPORT int miPolyBuildEdge(double x0, double y0, double k, int dx, int dy,
H A Dmifillarc.h36 int dx, dy; member in struct:_miFillArc
45 int dx, dy; member in struct:_miFillArcD
66 dy = info.dy; \
87 #define miFillArcLower(slw) (((y + dy) != 0) && ((slw > 1) || (e != xk)))
94 int dy; member in struct:_miSliceEdge
112 edge.e += edge.dy; \
137 #define MIWIDEARCSETUP(x,y,dy,slw,e,xk,xm,yk,ym) \
143 if (dy) \
176 #define miFillInArcLower(slw) (((iny + dy) !
[all...]
H A Dmizerarc.h35 int x, y, k1, k3, a, b, d, dx, dy; member in struct:__anonab2d84110208
58 dy = info.dy
80 dy = 1; \
90 y += dy; \
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmiscanfill.h64 * If the edge is moving to the right, then subtract dy from the
66 * If the edge is moving to the left, then add dy to the error term.
74 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) { \
81 if ((dy) != 0) { \
85 m = dx / (dy); \
87 incr1 = -2 * dx + 2 * (dy) * m1; \
88 incr2 = -2 * dx + 2 * (dy) * m; \
89 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \
91 m = dx / (dy); \
[all...]
H A Dmiwideline.h43 int dy; member in struct:_PolyEdge
58 int dx, dy; member in struct:_PolySlope
59 double k; /* x0 * dy - y0 * dx */
68 int dx, dy; member in struct:_LineFace
H A Dmifillarc.h35 int dx, dy; member in struct:_miFillArc
44 int dx, dy; member in struct:_miFillArcD
65 dy = info.dy; \
86 #define miFillArcLower(slw) (((y + dy) != 0) && ((slw > 1) || (e != xk)))
93 int dy; member in struct:_miSliceEdge
111 edge.e += edge.dy; \
136 #define MIWIDEARCSETUP(x,y,dy,slw,e,xk,xm,yk,ym) \
142 if (dy) \
175 #define miFillInArcLower(slw) (((iny + dy) !
[all...]
H A Dmizerarc.h34 int x, y, k1, k3, a, b, d, dx, dy; member in struct:__anond80148440208
57 dy = info.dy
79 dy = 1; \
89 y += dy; \
/xsrc/external/mit/freetype/dist/src/autofit/
H A Dafangles.c40 * dy * PI / (|dx|+|dy|)
46 FT_Fixed dy )
50 FT_Fixed ay = dy;
64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay );
125 FT_Fixed dy )
131 if ( dy == 0 )
141 if ( dy < 0 )
150 dy = -dy;
124 af_angle_atan(FT_Fixed dx,FT_Fixed dy) argument
[all...]
/xsrc/external/mit/libX11/dist/src/
H A Dpoly.h74 * If the edge is moving to the right, then subtract dy from the
76 * If the edge is moving to the left, then add dy to the error term.
84 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) do { \
91 if ((dy) != 0) { \
95 m = dx / (dy); \
97 incr1 = -2 * dx + 2 * (dy) * m1; \
98 incr2 = -2 * dx + 2 * (dy) * m; \
99 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \
101 m = dx / (dy); \
[all...]
H A DGeom.c60 int dx, dy; /* default values from parse */ local in function:XGeometry
65 dmask = XParseGeometry(def, &dx, &dy, &dwidth, &dheight);
72 DisplayHeight(dpy, screen) + dy - dheight * fheight -
73 2 * bwidth - yadd : dy;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
H A DxaaWideLine.c62 edge->e -= edge->dy; \
78 XAAFillRectHelper(ScrnInfoPtr pScrn, int x1, int y1, int dx, int dy) argument
83 int y2 = y1 + dy;
90 if((dy = y2 - y1)<1) return;
92 (*infoRec->SubsequentSolidFillRect)(pScrn, x1, y1, dx, dy);
115 #define FixError(x, dx, dy, e, sign, step, h) { \
119 x += e * sign/dy; \
120 e %= dy; \
123 e -= dy; \
164 left_dy = left->dy;
243 int dx, dy; local in function:XAAWideSegment
764 double scale, dx, dy, adx, ady; local in function:XAALineJoin
[all...]
/xsrc/external/mit/xf86-video-newport/dist/src/
H A Dnewport_shadow.c15 int dx, dy, x; local in function:NewportRefreshArea8
39 for ( dy = pbox->y1; dy < pbox->y2; dy++) {
57 int dx, dy; local in function:NewportRefreshArea24
84 for ( dy = pbox->y1; dy < pbox->y2; dy++) {
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Dtexaaline.c40 GLfloat dy = v1[1] - v0[1]; local in function:QuadLine
41 GLfloat len = sqrt(dx*dx + dy*dy);
46 dy /= len;
50 dy = dy * (width + 0.0);
52 dx0 = -dx+dy; dy0 = -dy-dx;
53 dx1 = -dx-dy; dy1 = -dy
[all...]
/xsrc/external/mit/xorg-server/dist/randr/
H A Drrpointer.c67 int dx, dy; local in function:RRPointerToNearestCrtc
85 dy = crtc->y - y;
87 dy = crtc->y + (scan_height - 1) - y;
89 dy = 0;
90 dist = dx * dx + dy * dy;
94 best_dy = dy;
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-linear-gradient.c44 pixman_fixed_48_16_t dx, dy; local in function:linear_gradient_is_horizontal
69 dy = linear->p2.y - linear->p1.y;
71 l = dx * dx + dy * dy;
81 (dx * v.vector[0] + dy * v.vector[1]) /
106 pixman_fixed_48_16_t dx, dy; local in function:linear_get_scanline
136 dy = linear->p2.y - linear->p1.y;
138 l = dx * dx + dy * dy;
158 t = ((dx * v.vector[0] + dy *
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_damage.h53 int dx, int dy);
56 int dx, int dy)
59 *l = _sna_damage_combine(*l, DAMAGE_PTR(r), dx, dy);
100 int16_t dx, int16_t dy);
103 int16_t dx, int16_t dy)
106 *damage = _sna_damage_add_boxes(*damage, box, n, dx, dy);
111 int16_t dx, int16_t dy);
114 int16_t dx, int16_t dy)
118 *damage = _sna_damage_add_rectangles(*damage, r, n, dx, dy);
124 int16_t dx, int16_t dy);
54 sna_damage_combine(struct sna_damage ** l,struct sna_damage * r,int dx,int dy) argument
101 sna_damage_add_boxes(struct sna_damage ** damage,const BoxRec * box,int n,int16_t dx,int16_t dy) argument
112 sna_damage_add_rectangles(struct sna_damage ** damage,const xRectangle * r,int n,int16_t dx,int16_t dy) argument
125 sna_damage_add_points(struct sna_damage ** damage,const DDXPointRec * p,int n,int16_t dx,int16_t dy) argument
192 sna_damage_subtract_boxes(struct sna_damage ** damage,const BoxRec * box,int n,int dx,int dy) argument
241 sna_damage_contains_box__offset(struct sna_damage ** damage,const BoxRec * box,int dx,int dy) argument
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_damage.h53 int dx, int dy);
56 int dx, int dy)
59 *l = _sna_damage_combine(*l, DAMAGE_PTR(r), dx, dy);
100 int16_t dx, int16_t dy);
103 int16_t dx, int16_t dy)
106 *damage = _sna_damage_add_boxes(*damage, box, n, dx, dy);
111 int16_t dx, int16_t dy);
114 int16_t dx, int16_t dy)
118 *damage = _sna_damage_add_rectangles(*damage, r, n, dx, dy);
124 int16_t dx, int16_t dy);
54 sna_damage_combine(struct sna_damage ** l,struct sna_damage * r,int dx,int dy) argument
101 sna_damage_add_boxes(struct sna_damage ** damage,const BoxRec * box,int n,int16_t dx,int16_t dy) argument
112 sna_damage_add_rectangles(struct sna_damage ** damage,const xRectangle * r,int n,int16_t dx,int16_t dy) argument
125 sna_damage_add_points(struct sna_damage ** damage,const DDXPointRec * p,int n,int16_t dx,int16_t dy) argument
192 sna_damage_subtract_boxes(struct sna_damage ** damage,const BoxRec * box,int n,int dx,int dy) argument
241 sna_damage_contains_box__offset(struct sna_damage ** damage,const BoxRec * box,int dx,int dy) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/linux/
H A Dps2.c77 int dx, dy; local in function:Ps2Read
106 dy = b[2];
108 dy -= 256;
109 dy = -dy;
112 KdEnqueuePointerEvent (closure, flags, dx, dy, 0);
/xsrc/external/mit/xorg-server.old/dist/randr/
H A Drrpointer.c67 int dx, dy; local in function:RRPointerToNearestCrtc
85 dy = crtc->y - x;
87 dy = y - (crtc->y + scan_height);
89 dy = 0;
90 dist = dx + dy;
95 best_dy = dy;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_driver.h59 int dx, int dy, int sx, int sy, int w, int h);
63 int dx, int dy, int w, int h);
H A Dnv04_driver.h57 int dx, int dy, int sx, int sy, int w, int h);
63 int dx, int dy, int w, int h);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_driver.h59 int dx, int dy, int sx, int sy, int w, int h);
63 int dx, int dy, int w, int h);

Completed in 30 milliseconds

1234567891011>>