Home
last modified time | relevance | path

Searched refs:clipSideFlags (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DBakedOpState.cpp25 int clipSideFlags = 0; in computeClipSideFlags() local
26 if (clip.left > bounds.left) clipSideFlags |= OpClipSideFlags::Left; in computeClipSideFlags()
27 if (clip.top > bounds.top) clipSideFlags |= OpClipSideFlags::Top; in computeClipSideFlags()
28 if (clip.right < bounds.right) clipSideFlags |= OpClipSideFlags::Right; in computeClipSideFlags()
29 if (clip.bottom < bounds.bottom) clipSideFlags |= OpClipSideFlags::Bottom; in computeClipSideFlags()
30 return clipSideFlags; in computeClipSideFlags()
67 clipSideFlags = computeClipSideFlags(clipRect, clippedBounds); in ResolvedRenderState()
90 clipSideFlags = OpClipSideFlags::Full; in ResolvedRenderState()
98 , clipSideFlags(OpClipSideFlags::Full) in ResolvedRenderState()
105 , clipSideFlags(computeClipSideFlags(clipRect->rect, dstRect)) in ResolvedRenderState()
DBakedOpState.h46 int clipSideFlags; member
82 return clipSideFlags != OpClipSideFlags::None in requiresClip()
94 int clipSideFlags = 0; variable
DLayerBuilder.cpp81 , mClipSideFlags(op->computedState.clipSideFlags) { in MergingOpBatch()
154 const int newFlags = op->computedState.clipSideFlags; in canMergeWith()
190 mClipSideFlags |= op->computedState.clipSideFlags; in mergeOp()
DBakedOpDispatcher.cpp87 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; in onMergedBitmapOps()
193 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; in onMergedPatchOps()
329 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; in onMergedTextOps()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpStateTests.cpp42 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state.clipSideFlags); in TEST()
58 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state.clipSideFlags); in TEST()
120 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state.clipSideFlags); in __anon75946a2b0402()
255 EXPECT_EQ(0, bakedState->computedState.clipSideFlags); in TEST()
270 EXPECT_EQ(0, bakedState->computedState.clipSideFlags); in TEST()
DFrameBuilderTests.cpp233 state.computedState.clipSideFlags); in RENDERTHREAD_TEST()
447 opList.clipSideFlags); in RENDERTHREAD_TEST()
516 EXPECT_EQ(OpClipSideFlags::Top, opList.clipSideFlags); in RENDERTHREAD_TEST()
517 EXPECT_EQ(OpClipSideFlags::Top, opList.states[0]->computedState.clipSideFlags); in RENDERTHREAD_TEST()
518 EXPECT_EQ(OpClipSideFlags::None, opList.states[1]->computedState.clipSideFlags); in RENDERTHREAD_TEST()
590 ASSERT_EQ(0, state->computedState.clipSideFlags) in RENDERTHREAD_TEST()