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