Lines Matching refs:scissor
216 if (l < GGLint(c->state.scissor.left)) { in aa_nice_pointx()
217 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_nice_pointx()
218 l = GGLint(c->state.scissor.left); in aa_nice_pointx()
220 if (t < GGLint(c->state.scissor.top)) { in aa_nice_pointx()
221 ystart += TRI_FROM_INT(c->state.scissor.top-t); in aa_nice_pointx()
222 t = GGLint(c->state.scissor.top); in aa_nice_pointx()
224 if (r > GGLint(c->state.scissor.right)) { in aa_nice_pointx()
225 r = GGLint(c->state.scissor.right); in aa_nice_pointx()
227 if (b > GGLint(c->state.scissor.bottom)) { in aa_nice_pointx()
228 b = GGLint(c->state.scissor.bottom); in aa_nice_pointx()
281 if (l < GGLint(c->state.scissor.left)) { in aa_pointx()
282 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_pointx()
283 l = GGLint(c->state.scissor.left); in aa_pointx()
285 if (t < GGLint(c->state.scissor.top)) { in aa_pointx()
286 ystart += TRI_FROM_INT(c->state.scissor.top-t); in aa_pointx()
287 t = GGLint(c->state.scissor.top); in aa_pointx()
289 if (r > GGLint(c->state.scissor.right)) { in aa_pointx()
290 r = GGLint(c->state.scissor.right); in aa_pointx()
292 if (b > GGLint(c->state.scissor.bottom)) { in aa_pointx()
293 b = GGLint(c->state.scissor.bottom); in aa_pointx()
424 if (l < GGLint(c->state.scissor.left)) in recti()
425 l = GGLint(c->state.scissor.left); in recti()
426 if (t < GGLint(c->state.scissor.top)) in recti()
427 t = GGLint(c->state.scissor.top); in recti()
428 if (r > GGLint(c->state.scissor.right)) in recti()
429 r = GGLint(c->state.scissor.right); in recti()
430 if (b > GGLint(c->state.scissor.bottom)) in recti()
431 b = GGLint(c->state.scissor.bottom); in recti()
544 const int32_t minx = max(bminx, c->state.scissor.left); in trianglex_small()
545 const int32_t miny = max(bminy, c->state.scissor.top); in trianglex_small()
546 const int32_t maxx = min(bmaxx, c->state.scissor.right); in trianglex_small()
547 const int32_t maxy = min(bmaxy, c->state.scissor.bottom); in trianglex_small()
741 const int xmin = c->state.scissor.left; in triangle_sweep_edges()
742 const int xmax = c->state.scissor.right; in triangle_sweep_edges()
767 int32_t ymin = TRI_FROM_INT(c->state.scissor.top) + TRI_HALF; in trianglex_big()
768 int32_t ymax = TRI_FROM_INT(c->state.scissor.bottom) - TRI_HALF; in trianglex_big()
958 const int xmin = c->state.scissor.left; in aapolyx()
959 const int xmax = c->state.scissor.right; in aapolyx()
963 int32_t ymin = TRI_FROM_INT(c->state.scissor.top); in aapolyx()
964 int32_t ymax = TRI_FROM_INT(c->state.scissor.bottom); in aapolyx()