Searched refs:scissor (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/opengl/libagl/
H A Dmatrix.cpp653 c->viewport.scissor.x,
654 c->viewport.scissor.y,
655 c->viewport.scissor.w,
656 c->viewport.scissor.h);
668 c->viewport.scissor.x = x;
669 c->viewport.scissor.y = y;
670 c->viewport.scissor.w = w;
671 c->viewport.scissor.h = h;
677 c->rasterizer.procs.scissor(c, x, y, w, h);
H A Dcontext.h529 } scissor; member in struct:android::gl::viewport_t
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1506 // scissor on the main display. It should never be needed
1510 const Rect scissor(tr.transform(hw->getViewport()));
1511 if (scissor != bounds) {
1512 // scissor doesn't match the screen's dimensions, so we
1514 // the GL scissor so we don't draw anything where we shouldn't
1516 glScissor(scissor.left, height - scissor.bottom,
1517 scissor.getWidth(), scissor.getHeight());
1521 // enable scissor fo
[all...]

Completed in 217 milliseconds