Searched refs:ClipMode (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/ |
D | ClipArea.cpp | 190 : mMode(ClipMode::Rectangle) { in ClipArea() 205 mMode = ClipMode::Rectangle; in setEmpty() 213 mMode = ClipMode::Rectangle; in setClip() 224 case ClipMode::Rectangle: in clipRectWithTransform() 227 case ClipMode::RectangleList: in clipRectWithTransform() 230 case ClipMode::Region: in clipRectWithTransform() 269 mMode = ClipMode::Rectangle; in enterRectangleMode() 304 ALOG_ASSERT(mMode == ClipMode::Rectangle); in enterRectangleListMode() 305 mMode = ClipMode::RectangleList; in enterRectangleListMode() 323 ClipMode oldMode = mMode; in enterRegionMode() [all …]
|
D | ClipArea.h | 91 enum class ClipMode { enum 100 ClipBase(ClipMode mode) in ClipBase() 103 : mode(ClipMode::Rectangle) in ClipBase() 105 const ClipMode mode; 121 : ClipBase(ClipMode::RectangleList) in ClipRectList() 128 : ClipBase(ClipMode::Region) in ClipRegion() 131 : ClipBase(ClipMode::Region) {} in ClipRegion() 166 return ClipMode::Region == mMode; in isRegion() 170 return mMode == ClipMode::Rectangle; in isSimple() 174 return mMode == ClipMode::RectangleList; in isRectangleList() [all …]
|
D | BakedOpRenderer.cpp | 244 …LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist"); in setupStencilRectList() 278 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); in setupStencilRegion() 304 if (CC_UNLIKELY(clip && clip->mode != ClipMode::Rectangle)) { in prepareRender() 321 if (clip->mode == ClipMode::RectangleList) { in prepareRender() 330 if (CC_LIKELY(clip->mode == ClipMode::RectangleList)) { in prepareRender()
|
D | BakedOpState.h | 83 || CC_UNLIKELY(clipState->mode != ClipMode::Rectangle); in requiresClip()
|
D | BakedOpState.cpp | 162 && computedState.clipState->mode == ClipMode::Rectangle in setupOpacity()
|
D | FrameBuilder.cpp | 595 || state.computedState.clipState->mode == ClipMode::Rectangle; in hasMergeableClip()
|
D | BakedOpDispatcher.cpp | 248 if (clipState->mode != ClipMode::Rectangle in renderTextShadow()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ClipAreaTests.cpp | 134 ASSERT_EQ(ClipMode::Rectangle, serializedClip->mode); in TEST() 148 ASSERT_EQ(ClipMode::RectangleList, serializedClip->mode); in TEST() 164 ASSERT_EQ(ClipMode::Region, serializedClip->mode); in TEST() 208 ASSERT_EQ(ClipMode::Rectangle, resolvedClip->mode); in TEST() 227 ASSERT_EQ(ClipMode::RectangleList, resolvedClip->mode); in TEST() 249 ASSERT_EQ(ClipMode::Region, resolvedClip->mode); in TEST() 273 EXPECT_EQ(ClipMode::Rectangle, resolvedClip->mode); in TEST()
|
D | RecordingCanvasTests.cpp | 482 ASSERT_EQ(ClipMode::Rectangle, op.localClip->mode); in TEST()
|
D | FrameBuilderTests.cpp | 1116 EXPECT_EQ(ClipMode::Rectangle, state.computedState.clipState->mode); in RENDERTHREAD_TEST() 1703 ASSERT_EQ(ClipMode::Rectangle, state.computedState.clipState->mode); in RENDERTHREAD_TEST()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 58 if ((clipStatePtr)->mode == ClipMode::Rectangle) { \
|