Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:scissor

75     // clip to scissor
76 if (xd < GGLint(c->state.scissor.left)) {
77 GGLint offset = GGLint(c->state.scissor.left) - xd;
78 xd = GGLint(c->state.scissor.left);
82 if (yd < GGLint(c->state.scissor.top)) {
83 GGLint offset = GGLint(c->state.scissor.top) - yd;
84 yd = GGLint(c->state.scissor.top);
88 if ((xd + width) > GGLint(c->state.scissor.right)) {
89 width = GGLint(c->state.scissor.right) - xd;
91 if ((yd + height) > GGLint(c->state.scissor.bottom)) {
92 height = GGLint(c->state.scissor.bottom) - yd;