Home
last modified time | relevance | path

Searched refs:getRenderTargetClip (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
DBakedOpState.cpp112 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryConstruct()
125 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryConstructUnbounded()
131 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryStrokeableOpConstruct()
149 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryShadowOpConstruct()
DCanvasState.h121 const Rect& getRenderTargetClipBounds() const { return mSnapshot->getRenderTargetClip(); } in getRenderTargetClipBounds()
156 …ne const Rect& currentRenderTargetClip() const { return currentSnapshot()->getRenderTargetClip(); } in currentRenderTargetClip()
DSnapshot.h162 const Rect& getRenderTargetClip() const { return mClipArea->getClipRect(); } in getRenderTargetClip() function
DFrameBuilder.cpp277 bool quickRejected = mCanvasState.currentSnapshot()->getRenderTargetClip().isEmpty() in deferNodePropsAndOps()
857 saveLayerBounds.doIntersect(previous->getRenderTargetClip()); in deferBeginLayerOp()
912 saveLayerBounds.doIntersect(previous->getRenderTargetClip()); in deferEndLayerOp()
950 dstRect.doIntersect(mCanvasState.currentSnapshot()->getRenderTargetClip()); in deferBeginUnclippedLayerOp()
DRecordingCanvas.cpp139 && visibleBounds.contains(previous.getRenderTargetClip()))) { in saveLayer()
146 visibleBounds.doIntersect(previous.getRenderTargetClip()); in saveLayer()
DOpenGLRenderer.cpp1088 .setModelViewOffsetRect(0, 0, Rect(currentSnapshot()->getRenderTargetClip())) in clearLayerRegions()
/frameworks/base/libs/hwui/tests/unit/
DSnapshotTests.cpp62 EXPECT_EQ(Rect(50, 50, 75, 75), child->getRenderTargetClip()); in TEST()
72 EXPECT_EQ(Rect(10, 10, 75, 75), child->getRenderTargetClip()); in TEST()