Home
last modified time | relevance | path

Searched refs:tighterBounds (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrReducedClip.cpp330 SkIRect* tighterBounds, in ReduceClipStack() argument
362 if (tighterBounds) { in ReduceClipStack()
363 *tighterBounds = queryBounds; in ReduceClipStack()
371 if (tighterBounds) { in ReduceClipStack()
372 isectRect.roundOut(tighterBounds); in ReduceClipStack()
373 SkRect scalarTighterBounds = SkRect::Make(*tighterBounds); in ReduceClipStack()
407 if (tighterBounds) { in ReduceClipStack()
410 if (!tighterBounds->intersect(queryBounds, stackIBounds)) { in ReduceClipStack()
412 tighterBounds->setEmpty(); in ReduceClipStack()
414 bounds = tighterBounds; in ReduceClipStack()
[all …]
DGrReducedClip.h45 SkIRect* tighterBounds = nullptr,
/external/skia/tests/
DClipStackTest.cpp1079 SkIRect tighterBounds; // If this is empty, the query will not pass tighter bounds in test_reduced_clip_stack_genid() member
1132 … testCases[i].tighterBounds.isEmpty() ? nullptr : &tightBounds); in test_reduced_clip_stack_genid()
1140 if (!testCases[i].tighterBounds.isEmpty()) { in test_reduced_clip_stack_genid()
1141 REPORTER_ASSERT(reporter, tightBounds == testCases[i].tighterBounds); in test_reduced_clip_stack_genid()
1142 SkASSERT(tightBounds == testCases[i].tighterBounds); in test_reduced_clip_stack_genid()