Home
last modified time | relevance | path

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

/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/core/
DSkClipStack.cpp80 return this->getDeviceSpaceRect() == element.getDeviceSpaceRect(); in operator ==()
114 return this->getDeviceSpaceRect().contains(rect); in contains()
131 return this->getDeviceSpaceRect().contains(rrect.getBounds()); in contains()
150 fDeviceSpacePath->addRect(this->getDeviceSpaceRect()); in invertShapeFillType()
259 path->addRect(this->getDeviceSpaceRect()); in asDeviceSpacePath()
318 if (!SkRect::Intersects(this->getDeviceSpaceRect(), newR)) { in rectRectIntersectAllowed()
323 if (this->getDeviceSpaceRect().contains(newR)) { in rectRectIntersectAllowed()
518 fFiniteBound = this->getDeviceSpaceRect(); in updateBoundAndGenID()
523 prior->rectRectIntersectAllowed(this->getDeviceSpaceRect(), fDoAA))) { in updateBoundAndGenID()
816 if (prior->rectRectIntersectAllowed(element.getDeviceSpaceRect(), in pushElement()
[all …]
DSkClipStack.h117 const SkRect& getDeviceSpaceRect() const { in getDeviceSpaceRect() function
/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/skia/src/gpu/
DGrReducedClip.cpp520 SkASSERT(element->getBounds() == element->getDeviceSpaceRect()); in clipInsideElement()
524 fAAClipRect = element->getDeviceSpaceRect(); in clipInsideElement()
531 } else if (!fAAClipRect.intersect(element->getDeviceSpaceRect())) { in clipInsideElement()
566 this->addWindowRectangle(element->getDeviceSpaceRect(), element->isAA()); in clipOutsideElement()
571 return this->addAnalyticRect(element->getDeviceSpaceRect(), Invert::kYes, in clipOutsideElement()
745 element->getDeviceSpaceRect()); in stencil_element()
775 rtc->drawRect(&clip, std::move(paint), aa, viewMatrix, element->getDeviceSpaceRect()); in draw_element()
887 helper.drawRect(element->getDeviceSpaceRect(), SkMatrix::I(), op, aa); in drawStencilClipMask()
DGrClipStackClip.cpp440 helper.drawRect(element->getDeviceSpaceRect(), translate, (SkRegion::Op)op, aa, 0xFF); in draw_clip_elements_to_mask_helper()
/external/skia/src/pdf/
DSkPDFGraphicStackState.cpp37 elementRect = element->getDeviceSpaceRect(); in is_rect()
/external/skqp/gm/
Dwindowrectangles.cpp91 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in onCoverClipStack()
/external/skia/tests/
DClipStackTest.cpp187 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators()
203 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); in test_iterators()
218 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[3]); in test_iterators()
942 stack->clipRect(element.getDeviceSpaceRect(), SkMatrix::I(), element.getOp(), in add_elem_to_stack()
1516 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == answer); in DEF_TEST()
/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/gm/
Dwindowrectangles.cpp119 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in onCoverClipStack()
/external/skia/src/svg/
DSkSVGDevice.cpp753 rect.addRectAttributes(e->getDeviceSpaceRect()); in syncClipStack()
/external/skqp/src/pdf/
DSkPDFDevice.cpp230 elementRect = element->getDeviceSpaceRect(); in is_rect()