Lines Matching refs:v0
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);
95 triangle_dump_points( const GGLcoord* v0, in triangle_dump_points() argument
103 v0[0]*tri, v0[1]*tri, v0[0], v0[1], in triangle_dump_points()
336 void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w) in linex_validate() argument
345 c->procs.linex(con, v0, v1, w); in linex_validate()
348 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) in linex() argument
352 v[0][0] = v0[0]; v[0][1] = v0[1]; in linex()
354 v0 = v[0]; in linex()
356 const GGLcoord dx = abs(v0[0] - v1[0]); in linex()
357 const GGLcoord dy = abs(v0[1] - v1[1]); in linex()
367 v[3][0] = v0[0]; v[3][1] = v0[1]; in linex()
376 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) in aa_linex() argument
380 v[0][0] = v0[0]; v[0][1] = v0[1]; in aa_linex()
382 v0 = v[0]; 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()
396 v[3][0] = v0[0]; v[3][1] = v0[1]; in aa_linex()
463 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2) in trianglex_debug() argument
467 aa_trianglex(con,v0,v1,v2); in trianglex_debug()
469 trianglex_big(con,v0,v1,v2); in trianglex_debug()
473 linex(con, v0, v1, TRI_ONE); in trianglex_debug()
475 linex(con, v2, v0, TRI_ONE); in trianglex_debug()
480 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2) in trianglex_xor() argument
482 trianglex_big(con,v0,v1,v2); in trianglex_xor()
483 trianglex_small(con,v0,v1,v2); in trianglex_xor()
493 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2) in trianglex_validate() argument
502 c->procs.trianglex(con, v0, v1, v2); in trianglex_validate()
508 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2) in trianglex_small() argument
514 int32_t x0 = v0[0]; in trianglex_small()
515 int32_t y0 = v0[1]; in trianglex_small()
761 const GGLcoord* v0, const GGLcoord* v1, const GGLcoord* v2) in trianglex_big() argument
770 edge_setup( edges, &num_edges, v0, v1, ymin, ymax ); in trianglex_big()
771 edge_setup( edges, &num_edges, v0, v2, ymin, ymax ); in trianglex_big()