Home
last modified time | relevance | path

Searched refs:isAA (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/gpu/
DGrReducedClip.cpp77 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { in GrReducedClip()
400 if (newElement->isAA()) { in walkStack()
486 if (element->isAA()) { in walkStack()
504 if (!element->isAA()) { in clipInsideElement()
522 if (element->isAA()) { in clipInsideElement()
541 GrAA(element->isAA())); in clipInsideElement()
545 Invert(element->isInverseFilled()), GrAA(element->isAA())); in clipInsideElement()
566 this->addWindowRectangle(element->getDeviceSpaceRect(), element->isAA()); in clipOutsideElement()
567 if (!element->isAA()) { in clipOutsideElement()
572 GrAA(element->isAA())); in clipOutsideElement()
[all …]
DGrClipStackClip.cpp47 bool isAA; in preApply() local
51 if (fStack->isRRect(SkRect::Make(deviceRect), &result.fRRect, &isAA)) { in preApply()
56 result.fAA = GrAA(isAA); in preApply()
114 auto aaType = (element->isAA()) ? GrAAType::kCoverage : GrAAType::kNone; in PathNeedsSWRenderer()
418 GrAA aa = GrAA(element->isAA()); in draw_clip_elements_to_mask_helper()
/external/skqp/src/gpu/
DGrReducedClip.cpp77 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { in GrReducedClip()
381 if (newElement->isAA()) { in walkStack()
467 if (element->isAA()) { in walkStack()
483 if (!element->isAA()) { in clipInsideElement()
501 if (element->isAA()) { in clipInsideElement()
520 GrAA(element->isAA())); in clipInsideElement()
524 Invert(element->isInverseFilled()), GrAA(element->isAA())); in clipInsideElement()
541 this->addWindowRectangle(element->getDeviceSpaceRect(), element->isAA()); in clipOutsideElement()
542 if (!element->isAA()) { in clipOutsideElement()
547 GrAA(element->isAA())); in clipOutsideElement()
[all …]
DGrClipStackClip.cpp56 bool isAA; in isRRect() local
57 if (fStack->isRRect(*rtBounds, rr, &isAA)) { in isRRect()
58 *aa = GrAA(isAA); in isRRect()
126 canDrawArgs.fAAType = GrChooseAAType(GrAA(element->isAA()), in PathNeedsSWRenderer()
426 GrAA aa = GrAA(element->isAA()); in draw_clip_elements_to_mask_helper()
/external/skia/src/core/
DSkRasterClip.h45 bool isAA() const { return fAA; } in isAA() function
61 void opRect(const SkRect&, const SkMatrix&, const SkIRect& limit, SkRegion::Op, bool isAA);
62 void opRRect(const SkRRect&, const SkMatrix&, const SkIRect& limit, SkRegion::Op, bool isAA);
63 void opPath(const SkPath&, const SkMatrix&, const SkIRect& limit, SkRegion::Op, bool isAA);
94 bool isAA() const { return !fIsBW; } in isAA() function
DSkClipStack.cpp817 element.isAA())) { in pushElement()
826 prior->fDoAA = element.isAA(); in pushElement()
1002 *aa = back->isAA(); in isRRect()
1012 *aa = back->isAA(); in isRRect()
1042 *aa = back->isAA(); in isRRect()
DSkClipStackDevice.cpp77 if (element->isAA()) { in onClipIsAA()
DSkBitmapDevice.cpp701 return !rc.isEmpty() && rc.isAA(); in onClipIsAA()
706 if (rc.isAA()) { in onAsRgnClip()
DSkCanvas.cpp1396 const bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRect() local
1399 this->topDevice()->clipRect(rect, op, isAA); in onClipRect()
1432 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRRect() local
1435 this->topDevice()->clipRRect(rrect, op, isAA); in onClipRRect()
1464 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipPath() local
1467 this->topDevice()->clipPath(path, op, isAA); in onClipPath()
DSkClipStack.h146 bool isAA() const { return fDoAA; } in isAA() function
DSkDevice.h507 bool onClipIsAA() const override { return this->clip().isAA(); } in onClipIsAA()
/external/skqp/src/core/
DSkRasterClip.h43 void opRect(const SkRect&, const SkMatrix&, const SkIRect& limit, SkRegion::Op, bool isAA);
44 void opRRect(const SkRRect&, const SkMatrix&, const SkIRect& limit, SkRegion::Op, bool isAA);
45 void opPath(const SkPath&, const SkMatrix&, const SkIRect& limit, SkRegion::Op, bool isAA);
75 bool isAA() const { return !fIsBW; } in isAA() function
DSkClipStack.cpp752 bool isAA = false; in asPath() local
774 isAA = (isAA || element->isAA()); in asPath()
777 return isAA; in asPath()
794 element.isAA())) { in pushElement()
803 prior->fDoAA = element.isAA(); in pushElement()
976 *aa = back->isAA(); in isRRect()
1000 *aa = back->isAA(); in isRRect()
DSkClipStackDevice.cpp70 if (element->isAA()) { in onClipIsAA()
DSkCanvas.cpp1397 const bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRect() local
1399 FOR_EACH_TOP_DEVICE(device->clipRect(rect, op, isAA)); in onClipRect()
1403 isAA); in onClipRect()
1435 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRRect() local
1437 FOR_EACH_TOP_DEVICE(device->clipRRect(rrect, op, isAA)); in onClipRRect()
1440 isAA); in onClipRRect()
1472 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipPath() local
1474 FOR_EACH_TOP_DEVICE(device->clipPath(path, op, isAA)); in onClipPath()
1479 (SkRegion::Op)op, isAA); in onClipPath()
DSkClipStack.h131 bool isAA() const { return fDoAA; } in isAA() function
DSkBitmapDevice.cpp783 return !rc.isEmpty() && rc.isAA(); in onClipIsAA()
788 if (rc.isAA()) { in onAsRgnClip()
/external/skqp/gm/
Dwindowrectangles.cpp82 bool isAA = element->isAA(); in onCoverClipStack() local
85 canvas->clipPath(element->getDeviceSpacePath(), op, isAA); in onCoverClipStack()
88 canvas->clipRRect(element->getDeviceSpaceRRect(), op, isAA); in onCoverClipStack()
91 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in onCoverClipStack()
Dstrokedlines.cpp79 for (auto isAA : { true, false }) { in draw_row()
84 tmp.setAntiAlias(isAA); in draw_row()
/external/skia/tests/
DTextureOpTest.cpp51 const GrSurfaceProxyView& proxyView, bool isAA) { in create_op() argument
56 quad.fEdgeFlags = isAA ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in create_op()
67 isAA ? GrAAType::kCoverage in create_op()
DClipStackTest.cpp943 element.isAA()); in add_elem_to_stack()
947 element.isAA()); in add_elem_to_stack()
951 element.isAA()); in add_elem_to_stack()
1466 bool isAA; in test_is_rrect_deep_rect_stack() local
1469 if (stack.isRRect(kTargetBounds, &rrect, &isAA)) { in test_is_rrect_deep_rect_stack()
1471 REPORTER_ASSERT(reporter, aa == isAA); in test_is_rrect_deep_rect_stack()
1486 bool isAA; in test_is_rrect_deep_rect_stack() local
1487 REPORTER_ASSERT(reporter, !stack.isRRect(kTargetBounds, &rrect, &isAA)); in test_is_rrect_deep_rect_stack()
/external/skia/gm/
Dwindowrectangles.cpp107 bool isAA = element->isAA(); in onCoverClipStack() local
113 canvas->clipPath(element->getDeviceSpacePath(), op, isAA); in onCoverClipStack()
116 canvas->clipRRect(element->getDeviceSpaceRRect(), op, isAA); in onCoverClipStack()
119 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in onCoverClipStack()
Dstrokedlines.cpp98 for (auto isAA : { true, false }) { in draw_row()
103 tmp.setAntiAlias(isAA); in draw_row()
/external/skqp/tests/
DClipStackTest.cpp929 element.isAA()); in add_elem_to_stack()
933 element.isAA()); in add_elem_to_stack()
937 element.isAA()); in add_elem_to_stack()
/external/skqp/src/ports/
DSkFontHost_win.cpp1157 const bool isAA = !isLCD(fRec); in generateImage() local
1174 if (isAA && !(fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag)) { in generateImage()
1214 } else if (isAA) { in generateImage()

12