• Home
  • Raw
  • Download

Lines Matching refs:GGLcoord

39 static void pointx_validate(void *con, const GGLcoord* c, GGLcoord r);
40 static void pointx(void *con, const GGLcoord* c, GGLcoord r);
41 static void aa_pointx(void *con, const GGLcoord* c, GGLcoord r);
42 static void aa_nice_pointx(void *con, const GGLcoord* c, GGLcoord r);
44 static void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
45 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
46 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
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*);
60 const GGLcoord*, const GGLcoord*, const GGLcoord*);
63 const GGLcoord* pts, int count);
97 triangle_dump_points( const GGLcoord* v0, in triangle_dump_points()
98 const GGLcoord* v1, in triangle_dump_points()
99 const GGLcoord* v2 ) in triangle_dump_points()
138 void pointx_validate(void *con, const GGLcoord* v, GGLcoord rad) in pointx_validate()
154 void pointx(void *con, const GGLcoord* v, GGLcoord rad) in pointx()
157 GGLcoord halfSize = TRI_ROUND(rad) >> 1; in pointx()
160 GGLcoord xc = v[0]; in pointx()
161 GGLcoord yc = v[1]; in pointx()
179 static int32_t coverageNice(GGLcoord x, GGLcoord y, in coverageNice()
180 GGLcoord rmin, GGLcoord rmax, GGLcoord rr) in coverageNice()
182 const GGLcoord d2 = x*x + y*y; in coverageNice()
189 const GGLcoord kCoordOffset = -6; // -0.375 in coverageNice()
205 void aa_nice_pointx(void *con, const GGLcoord* v, GGLcoord size) in aa_nice_pointx()
209 GGLcoord rad = ((size + 1)>>1); in aa_nice_pointx()
214 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_nice_pointx()
215 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_nice_pointx()
238 GGLcoord rr = rad*rad; in aa_nice_pointx()
239 GGLcoord rmin = (rad - sqr2Over2)*(rad - sqr2Over2); in aa_nice_pointx()
240 GGLcoord rmax = (rad + sqr2Over2)*(rad + sqr2Over2); in aa_nice_pointx()
241 GGLcoord y = ystart; in aa_nice_pointx()
247 GGLcoord x = xstart; in aa_nice_pointx()
261 static inline int32_t coverageFast(GGLcoord x, GGLcoord y, in coverageFast()
262 GGLcoord rmin, GGLcoord rmax, GGLcoord scale) in coverageFast()
264 const GGLcoord d2 = x*x + y*y; in coverageFast()
270 void aa_pointx(void *con, const GGLcoord* v, GGLcoord size) in aa_pointx()
274 GGLcoord rad = ((size + 1)>>1); in aa_pointx()
279 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_pointx()
280 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_pointx()
304 GGLcoord rmin = rad - sqr2Over2; in aa_pointx()
305 GGLcoord rmax = rad + sqr2Over2; in aa_pointx()
306 GGLcoord scale; in aa_pointx()
313 GGLcoord y = ystart; in aa_pointx()
320 GGLcoord x = xstart; in aa_pointx()
338 void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w) in linex_validate()
350 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) in linex()
352 GGLcoord v[4][2]; in linex()
357 const GGLcoord dx = abs(v0[0] - v1[0]); in linex()
358 const GGLcoord dy = abs(v0[1] - v1[1]); in linex()
359 GGLcoord nx, ny; in linex()
362 GGLcoord halfWidth = TRI_ROUND(width) >> 1; in linex()
377 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()