Home
last modified time | relevance | path

Searched refs:scissor (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/
DBakedOpRenderer.cpp173 mRenderState.scissor().setEnabled(false); in clearColorBuffer()
176 mRenderState.scissor().setEnabled(true); in clearColorBuffer()
177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, in clearColorBuffer()
212 mRenderState.scissor().setEnabled(false); in drawRects()
296 mRenderState.scissor().setEnabled(clip != nullptr); in prepareRender()
298 mRenderState.scissor().set(mRenderTarget.viewportHeight, clip->rect); in prepareRender()
DOpenGLRenderer.cpp176 mRenderState.scissor().setEnabled(true); in clear()
177 mRenderState.scissor().set(left, getViewportHeight() - bottom, right - left, bottom - top); in clear()
183 mRenderState.scissor().reset(); in clear()
220 mRenderState.scissor().reset(); in resumeAfterLayer()
251 if (mRenderState.scissor().setEnabled(true) || prevDirtyClip) { in callDrawGLFunction()
301 mRenderState.scissor().setEnabled(true); in renderOverdraw()
302 mRenderState.scissor().set(clip->left, in renderOverdraw()
702 mRenderState.scissor().setEnabled(true); in createFboLayer()
703 mRenderState.scissor().set(clip.left - 1.0f, bounds.getHeight() - clip.bottom - 1.0f, in createFboLayer()
730 mRenderState.scissor().setEnabled(mScissorOptimizationDisabled || clipRequired); in composeLayer()
[all …]
DLayerRenderer.cpp73 mRenderState.scissor().setEnabled(false); in clear()
76 mRenderState.scissor().reset(); in clear()
433 renderState.scissor().setEnabled(false); in copyLayer()
DReadback.cpp161 renderState.scissor().setEnabled(false); in copySurfaceInto()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp191 scissor().invalidate(); in resumeFromFunctorInvoke()
201 scissor().setEnabled(false); in debugOverdraw()
401 scissor().dump(); in dump()
DRenderState.h98 Scissor& scissor() { return *mScissor; } in scissor() function
/frameworks/native/opengl/libagl/
Dmatrix.cpp653 c->viewport.scissor.x, in ogles_surfaceport()
654 c->viewport.scissor.y, in ogles_surfaceport()
655 c->viewport.scissor.w, in ogles_surfaceport()
656 c->viewport.scissor.h); in ogles_surfaceport()
668 c->viewport.scissor.x = x; in ogles_scissor()
669 c->viewport.scissor.y = y; in ogles_scissor()
670 c->viewport.scissor.w = w; in ogles_scissor()
671 c->viewport.scissor.h = h; in ogles_scissor()
677 c->rasterizer.procs.scissor(c, x, y, w, h); in ogles_scissor()
Dcontext.h533 } scissor; member
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger_hwc1.cpp2000 const Rect& scissor(hw->getScissor()); in doComposeSurfaces() local
2001 if (scissor != bounds) { in doComposeSurfaces()
2008 engine.setScissor(scissor.left, height - scissor.bottom, in doComposeSurfaces()
2009 scissor.getWidth(), scissor.getHeight()); in doComposeSurfaces()
DSurfaceFlinger.cpp1984 const Rect& scissor(displayDevice->getScissor()); in doComposeSurfaces() local
1985 if (scissor != bounds) { in doComposeSurfaces()
1992 mRenderEngine->setScissor(scissor.left, height - scissor.bottom, in doComposeSurfaces()
1993 scissor.getWidth(), scissor.getHeight()); in doComposeSurfaces()