Searched refs:getRenderTargetClipBounds (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasStateTests.cpp | 60 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(200, 200)); in TEST() 72 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(100, 100)); in TEST() 75 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(10, 10, 100, 100)); in TEST() 78 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(50, 50, 150, 150)); in TEST() 125 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(10, 10)); in TEST() 128 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(200, 200)); // verify restore in TEST() 149 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(10, 10)); in TEST() 152 ASSERT_EQ(state.getRenderTargetClipBounds(), Rect(10, 10)); // verify not restored in TEST()
|
/frameworks/base/libs/hwui/ |
D | CanvasState.h | 121 const Rect& getRenderTargetClipBounds() const { return mSnapshot->getRenderTargetClip(); } in getRenderTargetClipBounds() function
|
D | OpenGLRenderer.h | 312 const Rect& getRenderTargetClipBounds() const { return mState.getRenderTargetClipBounds(); } in getRenderTargetClipBounds() function
|
D | FrameBuilder.cpp | 443 if (CC_LIKELY(!mCanvasState.getRenderTargetClipBounds().isEmpty())) { in deferShadow()
|