Home
last modified time | relevance | path

Searched refs:getRenderTargetClipBounds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DCanvasStateTests.cpp60 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/
DCanvasState.h121 const Rect& getRenderTargetClipBounds() const { return mSnapshot->getRenderTargetClip(); } in getRenderTargetClipBounds() function
DOpenGLRenderer.h312 const Rect& getRenderTargetClipBounds() const { return mState.getRenderTargetClipBounds(); } in getRenderTargetClipBounds() function
DFrameBuilder.cpp443 if (CC_LIKELY(!mCanvasState.getRenderTargetClipBounds().isEmpty())) { in deferShadow()