Searched refs:getRenderTargetClip (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/ |
D | BakedOpState.cpp | 112 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()
|
D | CanvasState.h | 121 const Rect& getRenderTargetClipBounds() const { return mSnapshot->getRenderTargetClip(); } in getRenderTargetClipBounds() 156 …ne const Rect& currentRenderTargetClip() const { return currentSnapshot()->getRenderTargetClip(); } in currentRenderTargetClip()
|
D | Snapshot.h | 162 const Rect& getRenderTargetClip() const { return mClipArea->getClipRect(); } in getRenderTargetClip() function
|
D | FrameBuilder.cpp | 277 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()
|
D | RecordingCanvas.cpp | 139 && visibleBounds.contains(previous.getRenderTargetClip()))) { in saveLayer() 146 visibleBounds.doIntersect(previous.getRenderTargetClip()); in saveLayer()
|
D | OpenGLRenderer.cpp | 1088 .setModelViewOffsetRect(0, 0, Rect(currentSnapshot()->getRenderTargetClip())) in clearLayerRegions()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SnapshotTests.cpp | 62 EXPECT_EQ(Rect(50, 50, 75, 75), child->getRenderTargetClip()); in TEST() 72 EXPECT_EQ(Rect(10, 10, 75, 75), child->getRenderTargetClip()); in TEST()
|