Searched refs:scissor (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 172 // Full viewport is being cleared - disable scissor 173 mRenderState.scissor().setEnabled(false); 175 // Requested rect is subset of viewport - scissor to it to avoid over-clearing 176 mRenderState.scissor().setEnabled(true); 177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, 211 // Should should scissor/set mHasDrawn safely. 212 mRenderState.scissor().setEnabled(false); 258 continue; // will be outside of scissor, skip 295 // Prepare scissor (done before stencil, to simplify filling stencil) 296 mRenderState.scissor() [all...] |
H A D | OpenGLRenderer.cpp | 176 mRenderState.scissor().setEnabled(true); 177 mRenderState.scissor().set(left, getViewportHeight() - bottom, right - left, bottom - top); 183 mRenderState.scissor().reset(); 220 mRenderState.scissor().reset(); 251 if (mRenderState.scissor().setEnabled(true) || prevDirtyClip) { 301 mRenderState.scissor().setEnabled(true); 302 mRenderState.scissor().set(clip->left, 702 mRenderState.scissor().setEnabled(true); 703 mRenderState.scissor().set(clip.left - 1.0f, bounds.getHeight() - clip.bottom - 1.0f, 730 mRenderState.scissor() [all...] |
H A D | LayerRenderer.cpp | 73 mRenderState.scissor().setEnabled(false); 76 mRenderState.scissor().reset(); 433 renderState.scissor().setEnabled(false);
|
H A D | Readback.cpp | 162 renderState.scissor().setEnabled(false);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 191 scissor().invalidate(); 201 scissor().setEnabled(false); 401 scissor().dump();
|
H A D | RenderState.h | 98 Scissor& scissor() { return *mScissor; } function in class:android::uirenderer::RenderState
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 653 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 D | context.h | 534 } scissor; member in struct:android::gl::viewport_t
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 2086 // we remove the scissor part 2106 // scissor on the main display. It should never be needed 2109 const Rect& scissor(displayDevice->getScissor()); 2110 if (scissor != bounds) { 2111 // scissor doesn't match the screen's dimensions, so we 2113 // the GL scissor so we don't draw anything where we shouldn't 2115 // enable scissor for this frame 2117 mRenderEngine->setScissor(scissor.left, height - scissor.bottom, 2118 scissor [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 2006 // we remove the scissor part 2026 // scissor on the main display. It should never be needed 2029 const Rect& scissor(hw->getScissor()); 2030 if (scissor != bounds) { 2031 // scissor doesn't match the screen's dimensions, so we 2033 // the GL scissor so we don't draw anything where we shouldn't 2035 // enable scissor for this frame 2037 engine.setScissor(scissor.left, height - scissor.bottom, 2038 scissor [all...] |
Completed in 148 milliseconds