Home
last modified time | relevance | path

Searched refs:tightBounds (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPathOpsTightBoundsTest.cpp30 SkRect tightBounds; in testTightBoundsLines() local
31 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsLines()
32 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds); in testTightBoundsLines()
80 SkRect tightBounds; in testTightBoundsQuads() local
81 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsQuads()
82 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds)); in testTightBoundsQuads()
105 tightBounds.roundOut(&tightOut); in testTightBoundsQuads()
DClipStackTest.cpp967 SkIRect* tightBounds = r.nextBool() ? &tBounds : nullptr; in test_reduced_clip_stack() local
973 tightBounds); in test_reduced_clip_stack()
988 if (tightBounds) { in test_reduced_clip_stack()
989 reducedStack.clipDevRect(*tightBounds, SkRegion::kIntersect_Op); in test_reduced_clip_stack()
1030 SkIRect tightBounds; in test_reduced_clip_stack_genid() local
1037 &tightBounds); in test_reduced_clip_stack_genid()
1125 SkIRect tightBounds; in test_reduced_clip_stack_genid() local
1132 … testCases[i].tighterBounds.isEmpty() ? nullptr : &tightBounds); 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()
[all …]