Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:GGLcoord

37 static void pointx_validate(void *con, const GGLcoord* c, GGLcoord r);
38 static void pointx(void *con, const GGLcoord* c, GGLcoord r);
39 static void aa_pointx(void *con, const GGLcoord* c, GGLcoord r);
40 static void aa_nice_pointx(void *con, const GGLcoord* c, GGLcoord r);
42 static void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
43 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
44 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
50 const GGLcoord*, const GGLcoord*, const GGLcoord*);
52 const GGLcoord*, const GGLcoord*, const GGLcoord*);
54 const GGLcoord*, const GGLcoord*, const GGLcoord*);
56 const GGLcoord*, const GGLcoord*, const GGLcoord*);
58 const GGLcoord*, const GGLcoord*, const GGLcoord*);
61 const GGLcoord* pts, int count);
95 triangle_dump_points( const GGLcoord* v0,
96 const GGLcoord* v1,
97 const GGLcoord* v2 )
136 void pointx_validate(void *con, const GGLcoord* v, GGLcoord rad)
152 void pointx(void *con, const GGLcoord* v, GGLcoord rad)
155 GGLcoord halfSize = TRI_ROUND(rad) >> 1;
158 GGLcoord xc = v[0];
159 GGLcoord yc = v[1];
177 static int32_t coverageNice(GGLcoord x, GGLcoord y,
178 GGLcoord rmin, GGLcoord rmax, GGLcoord rr)
180 const GGLcoord d2 = x*x + y*y;
187 const GGLcoord kCoordOffset = -6; // -0.375
203 void aa_nice_pointx(void *con, const GGLcoord* v, GGLcoord size)
207 GGLcoord rad = ((size + 1)>>1);
212 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF;
213 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF;
236 GGLcoord rr = rad*rad;
237 GGLcoord rmin = (rad - sqr2Over2)*(rad - sqr2Over2);
238 GGLcoord rmax = (rad + sqr2Over2)*(rad + sqr2Over2);
239 GGLcoord y = ystart;
245 GGLcoord x = xstart;
259 static inline int32_t coverageFast(GGLcoord x, GGLcoord y,
260 GGLcoord rmin, GGLcoord rmax, GGLcoord scale)
262 const GGLcoord d2 = x*x + y*y;
268 void aa_pointx(void *con, const GGLcoord* v, GGLcoord size)
272 GGLcoord rad = ((size + 1)>>1);
277 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF;
278 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF;
302 GGLcoord rmin = rad - sqr2Over2;
303 GGLcoord rmax = rad + sqr2Over2;
304 GGLcoord scale;
311 GGLcoord y = ystart;
318 GGLcoord x = xstart;
336 void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w)
348 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width)
351 GGLcoord v[4][2];
356 const GGLcoord dx = abs(v0[0] - v1[0]);
357 const GGLcoord dy = abs(v0[1] - v1[1]);
358 GGLcoord nx, ny;
361 GGLcoord halfWidth = TRI_ROUND(width) >> 1;
376 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width)
379 GGLcoord v[4][2];
385 const GGLcoord dx = v0[0] - v1[0];
386 const GGLcoord dy = v0[1] - v1[1];
387 GGLcoord nx = -dy;
388 GGLcoord ny = dx;
463 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2)
480 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2)
493 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2)
508 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2)
665 const GGLcoord* p1,
666 const GGLcoord* p2,
761 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2)
812 const GGLcoord* a, const GGLcoord* b, const GGLcoord* c)
814 GGLcoord pts[6] = { a[0], a[1], b[0], b[1], c[0], c[1] };
855 const GGLcoord* p1,
856 const GGLcoord* p2,
943 const GGLcoord* pts, int count)
969 GGLcoord const * p = pts;