Home
last modified time | relevance | path

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

/third_party/skia/gm/
Dwindowrectangles.cpp59 bool isAA = element->isAA(); in coverClipStack() local
65 canvas->clipPath(element->getDeviceSpacePath(), op, isAA); in coverClipStack()
68 canvas->clipRRect(element->getDeviceSpaceRRect(), op, isAA); in coverClipStack()
71 canvas->clipRect(element->getDeviceSpaceRect(), op, isAA); in coverClipStack()
Dstrokedlines.cpp98 for (auto isAA : { true, false }) { in draw_row()
103 tmp.setAntiAlias(isAA); in draw_row()
/third_party/flutter/skia/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()
540 this->addWindowRectangle(element->getDeviceSpaceRect(), element->isAA()); in clipOutsideElement()
541 if (!element->isAA()) { in clipOutsideElement()
546 GrAA(element->isAA())); in clipOutsideElement()
[all …]
DGrClipStackClip.cpp57 bool isAA; in isRRect() local
58 if (fStack->isRRect(*rtBounds, rr, &isAA)) { in isRRect()
59 *aa = GrAA(isAA); in isRRect()
119 auto aaType = (element->isAA()) ? GrAAType::kCoverage : GrAAType::kNone; in PathNeedsSWRenderer()
432 GrAA aa = GrAA(element->isAA()); in draw_clip_elements_to_mask_helper()
/third_party/flutter/skia/gm/
Dwindowrectangles.cpp108 bool isAA = element->isAA(); in onCoverClipStack() local
111 canvas->clipPath(element->getDeviceSpacePath(), op, isAA); in onCoverClipStack()
114 canvas->clipRRect(element->getDeviceSpaceRRect(), op, isAA); in onCoverClipStack()
117 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()
/third_party/flutter/skia/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()
971 *aa = back->isAA(); in isRRect()
981 *aa = back->isAA(); in isRRect()
1011 *aa = back->isAA(); in isRRect()
DSkClipStackDevice.cpp70 if (element->isAA()) { in onClipIsAA()
DSkCanvas.cpp1384 const bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRect() local
1386 FOR_EACH_TOP_DEVICE(device->clipRect(rect, op, isAA)); in onClipRect()
1390 isAA); in onClipRect()
1422 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRRect() local
1424 FOR_EACH_TOP_DEVICE(device->clipRRect(rrect, op, isAA)); in onClipRRect()
1427 isAA); in onClipRRect()
1459 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipPath() local
1461 FOR_EACH_TOP_DEVICE(device->clipPath(path, op, isAA)); in onClipPath()
1466 (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()
/third_party/skia/tests/
DTextureOpTest.cpp53 const GrSurfaceProxyView& proxyView, bool isAA) { in create_op() argument
58 quad.fEdgeFlags = isAA ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in create_op()
69 isAA ? GrAAType::kCoverage in create_op()
DClipStackTest.cpp828 bool isAA; in test_is_rrect_deep_rect_stack() local
831 if (stack.isRRect(kTargetBounds, &rrect, &isAA)) { in test_is_rrect_deep_rect_stack()
833 REPORTER_ASSERT(reporter, aa == isAA); in test_is_rrect_deep_rect_stack()
848 bool isAA; in test_is_rrect_deep_rect_stack() local
849 REPORTER_ASSERT(reporter, !stack.isRRect(kTargetBounds, &rrect, &isAA)); in test_is_rrect_deep_rect_stack()
/third_party/skia/src/core/
DSkDevice.cpp580 bool isAA, bool fillsBounds) { in op() argument
582 fIsAA |= isAA; in op()
587 if (!fClipBounds.intersect(isAA ? devBounds.roundOut() : devBounds.round())) { in op()
598 if (SkRectPriv::Subtract(fClipBounds, isAA ? devBounds.roundIn() : devBounds.round(), in op()
DSkClipStack.cpp723 element.isAA())) { in pushElement()
732 prior->fDoAA = element.isAA(); in pushElement()
889 *aa = back->isAA(); in isRRect()
899 *aa = back->isAA(); in isRRect()
929 *aa = back->isAA(); in isRRect()
DSkDevice.h539 ClipState(const SkIRect& bounds, bool isAA, bool isRect) in ClipState()
542 , fIsAA(isAA) in ClipState()
546 bool isAA, bool fillsBounds);
DSkRasterClip.h36 bool isAA() const { return !fIsBW; } in isAA() function
DSkClipStackDevice.cpp65 if (element->isAA()) { in onClipIsAA()
DSkBitmapDevice.cpp690 return !rc.isEmpty() && rc.isAA(); in onClipIsAA()
695 if (rc.isAA()) { in onAsRgnClip()
DSkCanvas.cpp1434 const bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRect() local
1437 this->topDevice()->clipRect(rect, op, isAA); in onClipRect()
1512 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipRRect() local
1515 this->topDevice()->clipRRect(rrect, op, isAA); in onClipRRect()
1544 bool isAA = kSoft_ClipEdgeStyle == edgeStyle; in onClipPath() local
1547 this->topDevice()->clipPath(path, op, isAA); in onClipPath()
DSkClipStack.h151 bool isAA() const { return fDoAA; } in isAA() function
/third_party/flutter/skia/tests/
DClipStackTest.cpp931 element.isAA()); in add_elem_to_stack()
935 element.isAA()); in add_elem_to_stack()
939 element.isAA()); in add_elem_to_stack()
1441 bool isAA; in test_is_rrect_deep_rect_stack() local
1444 if (stack.isRRect(kTargetBounds, &rrect, &isAA)) { in test_is_rrect_deep_rect_stack()
1446 REPORTER_ASSERT(reporter, aa == isAA); in test_is_rrect_deep_rect_stack()
1461 bool isAA; in test_is_rrect_deep_rect_stack() local
1462 REPORTER_ASSERT(reporter, !stack.isRRect(kTargetBounds, &rrect, &isAA)); in test_is_rrect_deep_rect_stack()
/third_party/flutter/skia/src/ports/
DSkFontHost_win.cpp1100 const bool isAA = !isLCD(fRec); in generateImage() local
1117 if (isAA && !(fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag)) { in generateImage()
1157 } else if (isAA) { in generateImage()
/third_party/skia/src/ports/
DSkFontHost_win.cpp1097 const bool isAA = !isLCD(fRec); in generateImage() local
1114 if (isAA && !(fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag)) { in generateImage()
1154 } else if (isAA) { in generateImage()