Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DBakedOpState.cpp114 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryConstruct()
127 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryConstructUnbounded()
134 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryStrokeableOpConstruct()
151 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryShadowOpConstruct()
DCanvasState.h121 const Rect& getRenderTargetClipBounds() const { return mSnapshot->getRenderTargetClip(); } in getRenderTargetClipBounds()
154 …ne const Rect& currentRenderTargetClip() const { return currentSnapshot()->getRenderTargetClip(); } in currentRenderTargetClip()
DSnapshot.h139 const Rect& getRenderTargetClip() const { return mClipArea->getClipRect(); } in getRenderTargetClip() function
DFrameBuilder.cpp280 bool quickRejected = mCanvasState.currentSnapshot()->getRenderTargetClip().isEmpty() in deferNodePropsAndOps()
863 saveLayerBounds.doIntersect(previous->getRenderTargetClip()); in deferBeginLayerOp()
918 saveLayerBounds.doIntersect(previous->getRenderTargetClip()); in deferEndLayerOp()
956 dstRect.doIntersect(mCanvasState.currentSnapshot()->getRenderTargetClip()); in deferBeginUnclippedLayerOp()
DRecordingCanvas.cpp139 && visibleBounds.contains(previous.getRenderTargetClip()))) { in saveLayer()
146 visibleBounds.doIntersect(previous.getRenderTargetClip()); in saveLayer()
/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()