Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrReducedClip.cpp54 SkRect stackBounds; in GrReducedClip() local
56 stack.getBounds(&stackBounds, &stackBoundsType, &iior); in GrReducedClip()
58 if (GrClip::IsOutsideClip(stackBounds, queryBounds)) { in GrReducedClip()
69 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { in GrReducedClip()
71 stackBounds.round(&fScissor); in GrReducedClip()
76 if (GrClip::IsInsideClip(stackBounds, queryBounds)) { in GrReducedClip()
82 SkAssertResult(tightBounds.intersect(stackBounds, queryBounds)); in GrReducedClip()
90 fAAClipRect = stackBounds; in GrReducedClip()
100 SkAssertResult(tighterQuery.intersect(GrClip::GetPixelBounds(stackBounds))); in GrReducedClip()
/external/skia/src/gpu/
DGrReducedClip.cpp54 SkRect stackBounds; in GrReducedClip() local
56 stack.getBounds(&stackBounds, &stackBoundsType, &iior); in GrReducedClip()
58 if (GrClip::IsOutsideClip(stackBounds, queryBounds)) { in GrReducedClip()
69 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { in GrReducedClip()
71 stackBounds.round(&fScissor); in GrReducedClip()
76 if (GrClip::IsInsideClip(stackBounds, queryBounds)) { in GrReducedClip()
82 SkAssertResult(tightBounds.intersect(stackBounds, queryBounds)); in GrReducedClip()
90 fAAClipRect = stackBounds; in GrReducedClip()
100 SkAssertResult(tighterQuery.intersect(GrClip::GetPixelBounds(stackBounds))); in GrReducedClip()
/external/skqp/tests/
DClipStackTest.cpp841 SkRect stackBounds; in test_invfill_diff_bug() local
843 stack.getBounds(&stackBounds, &stackBoundsType); in test_invfill_diff_bug()
845 REPORTER_ASSERT(reporter, stackBounds.isEmpty()); in test_invfill_diff_bug()
1043 SkRect stackBounds; in test_reduced_clip_stack() local
1045 stack.getBounds(&stackBounds, &stackBoundsType); in test_reduced_clip_stack()
1131 SkIRect stackBounds = IXYWH(0, 0, 76, 76); in test_reduced_clip_stack_genid() local
1171 { XYWH(0, 0, 100, 100), 4, genIDD, GrReducedClip::InitialState::kAllOut, stackBounds }, in test_reduced_clip_stack_genid()
1237 SkRect stackBounds; in test_aa_query() local
1238 stack.getBounds(&stackBounds, &stackBoundsType); in test_aa_query()
1263 stackBounds.round(&expectedScissor); in test_aa_query()
[all …]
/external/skia/tests/
DClipStackTest.cpp841 SkRect stackBounds; in test_invfill_diff_bug() local
843 stack.getBounds(&stackBounds, &stackBoundsType); in test_invfill_diff_bug()
845 REPORTER_ASSERT(reporter, stackBounds.isEmpty()); in test_invfill_diff_bug()
1043 SkRect stackBounds; in test_reduced_clip_stack() local
1045 stack.getBounds(&stackBounds, &stackBoundsType); in test_reduced_clip_stack()
1131 SkIRect stackBounds = IXYWH(0, 0, 76, 76); in test_reduced_clip_stack_genid() local
1171 { XYWH(0, 0, 100, 100), 4, genIDD, GrReducedClip::InitialState::kAllOut, stackBounds }, in test_reduced_clip_stack_genid()
1237 SkRect stackBounds; in test_aa_query() local
1238 stack.getBounds(&stackBounds, &stackBoundsType); in test_aa_query()
1263 stackBounds.round(&expectedScissor); in test_aa_query()
[all …]
/external/skqp/src/core/
DSkBitmapDevice.cpp594 const SkIRect& stackBounds = fRCStack.rc().getBounds(); in validateDevBounds() local
595 SkASSERT(drawClipBounds == stackBounds); in validateDevBounds()
/external/skia/src/core/
DSkBitmapDevice.cpp605 const SkIRect& stackBounds = fRCStack.rc().getBounds(); in validateDevBounds() local
606 SkASSERT(drawClipBounds == stackBounds); in validateDevBounds()