Lines Matching refs:scissor
150 c->state.scissor.user_left = x; in ggl_scissor()
151 c->state.scissor.user_top = y; in ggl_scissor()
152 c->state.scissor.user_right = x + width; in ggl_scissor()
153 c->state.scissor.user_bottom = y + height; in ggl_scissor()
599 const int32_t l = c->state.scissor.user_left; in ggl_set_scissor()
600 const int32_t t = c->state.scissor.user_top; in ggl_set_scissor()
601 const int32_t r = c->state.scissor.user_right; in ggl_set_scissor()
602 const int32_t b = c->state.scissor.user_bottom; in ggl_set_scissor()
603 c->state.scissor.left = max(0, l); in ggl_set_scissor()
604 c->state.scissor.right = min(c->state.buffers.color.width, r); in ggl_set_scissor()
605 c->state.scissor.top = max(0, t); in ggl_set_scissor()
606 c->state.scissor.bottom = min(c->state.buffers.color.height, b); in ggl_set_scissor()
608 c->state.scissor.left = 0; in ggl_set_scissor()
609 c->state.scissor.top = 0; in ggl_set_scissor()
610 c->state.scissor.right = c->state.buffers.color.width; in ggl_set_scissor()
611 c->state.scissor.bottom = c->state.buffers.color.height; in ggl_set_scissor()
741 GGL_INIT_PROC(procs, scissor); in ggl_init_procs()