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.h533 } scissor; member in struct:android::gl::viewport_t
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1842 // we remove the scissor part
1862 // scissor on the main display. It should never be needed
1865 const Rect& scissor(hw->getScissor());
1866 if (scissor != bounds) {
1867 // scissor doesn't match the screen's dimensions, so we
1869 // the GL scissor so we don't draw anything where we shouldn't
1871 // enable scissor for this frame
1873 engine.setScissor(scissor.left, height - scissor.bottom,
1874 scissor
[all...]

Completed in 365 milliseconds