Lines Matching refs:ymax
668 int32_t ymax ) in edge_setup() argument
682 if ( dy == 0 || y1 > ymax || y2 < ymin ) in edge_setup()
688 if ( y2 < ymax ) in edge_setup()
689 ymax = TRI_SNAP_PREV_HALF(y2); in edge_setup()
691 if ( ymin > ymax ) // when the edge doesn't cross any scanline in edge_setup()
704 edge->y_bot = ymax; in edge_setup()
706 if (ggl_likely(ymin <= ymax && dx)) { in edge_setup()
768 int32_t ymax = TRI_FROM_INT(c->state.scissor.bottom) - TRI_HALF; in trianglex_big() local
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()
772 edge_setup( edges, &num_edges, v1, v2, ymin, ymax ); in trianglex_big()
858 int32_t ymax ) in aa_edge_setup() argument
871 if (dy==0 || y1>ymax || y2<ymin) in aa_edge_setup()
877 if (y2 < ymax) in aa_edge_setup()
878 ymax = y2; in aa_edge_setup()
888 edge->y_bot = ymax; in aa_edge_setup()
891 if (ggl_likely(ymin <= ymax && dx)) { in aa_edge_setup()
964 int32_t ymax = TRI_FROM_INT(c->state.scissor.bottom); in aapolyx() local
965 if (ymin >= ymax) return; in aapolyx()
971 aa_edge_setup(edges, &num_edges, p, p+2, ymin, ymax); in aapolyx()
973 aa_edge_setup(edges, &num_edges, p, pts, ymin, ymax ); in aapolyx()