Home
last modified time | relevance | path

Searched refs:getDeviceSpaceRect (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DSkClipStack.cpp69 return this->getDeviceSpaceRect() == element.getDeviceSpaceRect(); in operator ==()
97 return this->getDeviceSpaceRect().contains(rect); in contains()
113 return this->getDeviceSpaceRect().contains(rrect.getBounds()); in contains()
131 fDeviceSpacePath.get()->addRect(this->getDeviceSpaceRect()); in invertShapeFillType()
230 path->addRect(this->getDeviceSpaceRect()); in asDeviceSpacePath()
283 if (!SkRect::Intersects(this->getDeviceSpaceRect(), newR)) { in rectRectIntersectAllowed()
288 if (this->getDeviceSpaceRect().contains(newR)) { in rectRectIntersectAllowed()
483 fFiniteBound = this->getDeviceSpaceRect(); in updateBoundAndGenID()
488 prior->rectRectIntersectAllowed(this->getDeviceSpaceRect(), fDoAA))) { in updateBoundAndGenID()
793 if (prior->rectRectIntersectAllowed(element.getDeviceSpaceRect(), in pushElement()
[all …]
DSkClipStack.h110 const SkRect& getDeviceSpaceRect() const { in getDeviceSpaceRect() function
/external/skqp/src/core/
DSkClipStack.cpp69 return this->getDeviceSpaceRect() == element.getDeviceSpaceRect(); in operator ==()
97 return this->getDeviceSpaceRect().contains(rect); in contains()
113 return this->getDeviceSpaceRect().contains(rrect.getBounds()); in contains()
131 fDeviceSpacePath.get()->addRect(this->getDeviceSpaceRect()); in invertShapeFillType()
230 path->addRect(this->getDeviceSpaceRect()); in asDeviceSpacePath()
283 if (!SkRect::Intersects(this->getDeviceSpaceRect(), newR)) { in rectRectIntersectAllowed()
288 if (this->getDeviceSpaceRect().contains(newR)) { in rectRectIntersectAllowed()
483 fFiniteBound = this->getDeviceSpaceRect(); in updateBoundAndGenID()
488 prior->rectRectIntersectAllowed(this->getDeviceSpaceRect(), fDoAA))) { in updateBoundAndGenID()
793 if (prior->rectRectIntersectAllowed(element.getDeviceSpaceRect(), in pushElement()
[all …]
DSkClipStack.h110 const SkRect& getDeviceSpaceRect() const { in getDeviceSpaceRect() function
/external/skia/src/gpu/
DGrReducedClip.cpp499 SkASSERT(element->getBounds() == element->getDeviceSpaceRect()); in clipInsideElement()
503 fAAClipRect = element->getDeviceSpaceRect(); in clipInsideElement()
510 } else if (!fAAClipRect.intersect(element->getDeviceSpaceRect())) { in clipInsideElement()
541 this->addWindowRectangle(element->getDeviceSpaceRect(), element->isAA()); in clipOutsideElement()
546 return this->addAnalyticFP(element->getDeviceSpaceRect(), Invert::kYes, in clipOutsideElement()
696 element->getDeviceSpaceRect()); in stencil_element()
726 rtc->drawRect(clip, std::move(paint), aa, viewMatrix, element->getDeviceSpaceRect()); in draw_element()
895 element->getDeviceSpaceRect()); in drawStencilClipMask()
936 element->getDeviceSpaceRect()); in drawStencilClipMask()
DGrClipStackClip.cpp451 helper.drawRect(element->getDeviceSpaceRect(), translate, (SkRegion::Op)op, aa, 0xFF); in draw_clip_elements_to_mask_helper()
/external/skqp/src/gpu/
DGrReducedClip.cpp499 SkASSERT(element->getBounds() == element->getDeviceSpaceRect()); in clipInsideElement()
503 fAAClipRect = element->getDeviceSpaceRect(); in clipInsideElement()
510 } else if (!fAAClipRect.intersect(element->getDeviceSpaceRect())) { in clipInsideElement()
541 this->addWindowRectangle(element->getDeviceSpaceRect(), element->isAA()); in clipOutsideElement()
546 return this->addAnalyticFP(element->getDeviceSpaceRect(), Invert::kYes, in clipOutsideElement()
696 element->getDeviceSpaceRect()); in stencil_element()
726 rtc->drawRect(clip, std::move(paint), aa, viewMatrix, element->getDeviceSpaceRect()); in draw_element()
895 element->getDeviceSpaceRect()); in drawStencilClipMask()
936 element->getDeviceSpaceRect()); in drawStencilClipMask()
DGrClipStackClip.cpp449 helper.drawRect(element->getDeviceSpaceRect(), translate, (SkRegion::Op)op, aa, 0xFF); in draw_clip_elements_to_mask_helper()
/external/skqp/tests/
DClipStackTest.cpp185 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators()
201 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators()
216 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[3]); in test_iterators()
928 stack->clipRect(element.getDeviceSpaceRect(), SkMatrix::I(), element.getOp(), in add_elem_to_stack()
1454 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == answer); in DEF_TEST()
/external/skia/tests/
DClipStackTest.cpp185 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators()
201 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators()
216 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[3]); in test_iterators()
928 stack->clipRect(element.getDeviceSpaceRect(), SkMatrix::I(), element.getOp(), in add_elem_to_stack()
1489 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == answer); in DEF_TEST()
/external/skqp/gm/
Dwindowrectangles.cpp91 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in onCoverClipStack()
/external/skia/gm/
Dwindowrectangles.cpp92 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in onCoverClipStack()
/external/skia/src/pdf/
DSkPDFDevice.cpp230 elementRect = element->getDeviceSpaceRect(); in is_rect()
/external/skqp/src/pdf/
DSkPDFDevice.cpp230 elementRect = element->getDeviceSpaceRect(); in is_rect()