Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DClipArea.h115 struct ClipRegion : ClipBase { struct
116 explicit ClipRegion(const SkRegion& region) : ClipBase(ClipMode::Region), region(region) {} in ClipRegion() function
117 ClipRegion() : ClipBase(ClipMode::Region) {} in ClipRegion() argument
DClipArea.cpp367 serialization = allocator.create<ClipRegion>(mClipRegion); in serializeClip()
384 return reinterpret_cast<const ClipRegion*>(scb)->region; in getRegion()
452 ClipRegion* regionClip = allocator.create<ClipRegion>(); in serializeIntersectedClip()
DBakedOpRenderer.cpp275 auto&& region = reinterpret_cast<const ClipRegion*>(clip)->region; in setupStencilRegion()
/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp166 auto clipRegion = reinterpret_cast<const ClipRegion*>(serializedClip); in TEST()
244 ClipRegion recordedClip; in TEST()
255 auto clipRegion = reinterpret_cast<const ClipRegion*>(resolvedClip); in TEST()
292 ClipRegion recordedClip; in TEST()
304 auto clipRegion = reinterpret_cast<const ClipRegion*>(resolvedClip); in TEST()