Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/
DGrRenderTargetContext.h99 GrAA,
115 GrAA aa, in fillRectToRect()
120 aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone, in fillRectToRect()
129 GrAA,
140 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
156 void fillQuadWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
169 void drawQuadSet(const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix,
180 const SkRect& dstRect, GrAA, GrQuadAAFlags, SkCanvas::SrcRectConstraint,
191 const SkPoint dstQuad[4], GrAA, GrQuadAAFlags, const SkRect* domain,
212 SkBlendMode mode, GrAA aa, const SkMatrix& viewMatrix,
[all …]
DGrReducedClip.cpp120 ClipResult::kNotClipped == this->addAnalyticFP(fAAClipRect, Invert::kNo, GrAA::kYes)) { in GrReducedClip()
520 GrAA(element->isAA())); in clipInsideElement()
524 Invert(element->isInverseFilled()), GrAA(element->isAA())); in clipInsideElement()
547 GrAA(element->isAA())); in clipOutsideElement()
553 GrAA(element->isAA())); in clipOutsideElement()
591 Invert(!element->isInverseFilled()), GrAA(element->isAA())); in clipOutsideElement()
610 GrClipEdgeType GrReducedClip::GetClipEdgeType(Invert invert, GrAA aa) { in GetClipEdgeType()
612 return (GrAA::kYes == aa) ? GrClipEdgeType::kFillAA : GrClipEdgeType::kFillBW; in GetClipEdgeType()
614 return (GrAA::kYes == aa) ? GrClipEdgeType::kInverseFillAA : GrClipEdgeType::kInverseFillBW; in GetClipEdgeType()
619 Invert invert, GrAA aa) { in addAnalyticFP()
[all …]
DGrReducedClip.h127 static GrClipEdgeType GetClipEdgeType(Invert, GrAA);
128 ClipResult addAnalyticFP(const SkRect& deviceSpaceRect, Invert, GrAA);
129 ClipResult addAnalyticFP(const SkRRect& deviceSpaceRRect, Invert, GrAA);
130 ClipResult addAnalyticFP(const SkPath& deviceSpacePath, Invert, GrAA);
DGrRenderTargetContext.cpp122 GrAAType GrChooseAAType(GrAA aa, GrFSAAType fsaaType, GrAllowMixedSamples allowMixedSamples, in GrChooseAAType()
124 if (GrAA::kNo == aa) { in GrChooseAAType()
454 GrAA aa = GrAA::kNo; in drawPaint()
540 bool GrRenderTargetContext::drawFilledRectAsClear(const GrClip& clip, GrPaint&& paint, GrAA aa, in drawFilledRectAsClear()
568 GrAA clipAA; in drawFilledRectAsClear()
579 clipAA = GrAA::kNo; in drawFilledRectAsClear()
636 if (clipAA == GrAA::kYes) { in drawFilledRectAsClear()
637 aa = GrAA::kYes; in drawFilledRectAsClear()
648 GrAA aa, in drawFilledRect()
674 GrAA aa, in drawRect()
[all …]
DGrSWMaskHelper.cpp37 void GrSWMaskHelper::drawRect(const SkRect& rect, const SkMatrix& matrix, SkRegion::Op op, GrAA aa, in drawRect()
41 paint.setAntiAlias(GrAA::kYes == aa); in drawRect()
55 GrAA aa, uint8_t alpha) { in drawShape()
59 paint.setAntiAlias(GrAA::kYes == aa); in drawShape()
DGrRenderTargetContextPriv.h81 GrAA,
93 GrAA,
98 const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& m, const SkRect& rect,
DGrSWMaskHelper.h49 void drawRect(const SkRect& rect, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
52 void drawShape(const GrShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
DGrSoftwarePathRenderer.cpp206 GrAA aa) in SoftwarePathData()
215 GrAA getAA() const { return fAA; } in getAA()
221 GrAA fAA;
335 GrAA aa = GrAAType::kCoverage == args.fAAType ? GrAA::kYes : GrAA::kNo; in onDrawPath()
DGrFixedClip.cpp32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect()
42 *aa = GrAA::kNo; in isRRect()
DSkGpuDevice_drawTexture.cpp176 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in draw_texture()
202 float buffer = 0.5f * (aa == GrAA::kYes) + in draw_texture()
238 const SkMatrix& srcToDst, GrAA aa, GrQuadAAFlags aaFlags, in draw_texture_producer()
357 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in drawImageQuad()
478 GrAA::kYes, SkToGrQuadAAFlags(set[i].fAAFlags), in tmp_drawImageSetV3()
501 filter, mode, GrAA::kYes, this->ctm(), in tmp_drawImageSetV3()
597 GrAA(paint.isAntiAlias()), in drawTextureProducer()
DGrClipStackClip.cpp52 bool GrClipStackClip::isRRect(const SkRect& origRTBounds, SkRRect* rr, GrAA* aa) const { in isRRect()
59 *aa = GrAA(isAA); in isRRect()
127 canDrawArgs.fAAType = GrChooseAAType(GrAA(element->isAA()), in PathNeedsSWRenderer()
428 GrAA aa = GrAA(element->isAA()); in draw_clip_elements_to_mask_helper()
438 helper.drawRect(temp, translate, SkRegion::kXOR_Op, GrAA::kNo, 0xFF); in draw_clip_elements_to_mask_helper()
DSkGpuDevice.cpp323 fRenderTargetContext->drawPath(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawPoints()
396 fRenderTargetContext->drawRect(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRect()
430 fRenderTargetContext->fillQuadWithEdgeAA(this->clip(), std::move(grPaint), GrAA::kYes, grAA, in tmp_drawEdgeAAQuad()
434 fRenderTargetContext->fillRectWithEdgeAA(this->clip(), std::move(grPaint), GrAA::kYes, grAA, in tmp_drawEdgeAAQuad()
471 fRenderTargetContext->drawRRect(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRRect()
497 GrAA(paint.isAntiAlias()), this->ctm(), outer, inner); in drawDRRect()
532 fRenderTargetContext->drawRegion(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawRegion()
552 fRenderTargetContext->drawOval(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawOval()
570 fRenderTargetContext->drawArc(this->clip(), std::move(grPaint), GrAA(paint.isAntiAlias()), in drawArc()
627 this->clip(), std::move(grPaint), GrAA(newPaint.isAntiAlias()), m, rect, local); in drawStrokedLine()
[all …]
/external/skqp/src/gpu/
DGrRenderTargetContext.h99 GrAA,
115 GrAA,
125 GrAA,
145 void drawQuadSet(const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix,
186 GrAA,
216 GrAA,
232 GrAA,
247 GrAA,
301 GrAA aa,
318 GrAA,
[all …]
DGrReducedClip.cpp120 ClipResult::kNotClipped == this->addAnalyticFP(fAAClipRect, Invert::kNo, GrAA::kYes)) { in GrReducedClip()
520 GrAA(element->isAA())); in clipInsideElement()
524 Invert(element->isInverseFilled()), GrAA(element->isAA())); in clipInsideElement()
547 GrAA(element->isAA())); in clipOutsideElement()
553 GrAA(element->isAA())); in clipOutsideElement()
591 Invert(!element->isInverseFilled()), GrAA(element->isAA())); in clipOutsideElement()
610 GrClipEdgeType GrReducedClip::GetClipEdgeType(Invert invert, GrAA aa) { in GetClipEdgeType()
612 return (GrAA::kYes == aa) ? GrClipEdgeType::kFillAA : GrClipEdgeType::kFillBW; in GetClipEdgeType()
614 return (GrAA::kYes == aa) ? GrClipEdgeType::kInverseFillAA : GrClipEdgeType::kInverseFillBW; in GetClipEdgeType()
619 Invert invert, GrAA aa) { in addAnalyticFP()
[all …]
DGrReducedClip.h127 static GrClipEdgeType GetClipEdgeType(Invert, GrAA);
128 ClipResult addAnalyticFP(const SkRect& deviceSpaceRect, Invert, GrAA);
129 ClipResult addAnalyticFP(const SkRRect& deviceSpaceRRect, Invert, GrAA);
130 ClipResult addAnalyticFP(const SkPath& deviceSpacePath, Invert, GrAA);
DSkGpuDevice_drawTexture.cpp101 const SkRect* dst, GrAA aa, SkCanvas::SrcRectConstraint constraint, in draw_texture()
137 GrQuadAAFlags aaFlags = aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in draw_texture()
149 GrAA aa = GrAA(paint.isAntiAlias()); in drawPinnedTextureProxy()
168 GrAA aa = GrAA(paint.isAntiAlias()); in drawTextureProducer()
307 GrAA aa = GrAA(paint.isAntiAlias()); in drawTextureProducerImpl()
DGrRenderTargetContext.cpp117 GrAAType GrChooseAAType(GrAA aa, GrFSAAType fsaaType, GrAllowMixedSamples allowMixedSamples, in GrChooseAAType()
119 if (GrAA::kNo == aa) { in GrChooseAAType()
458 GrAA aa = GrAA::kNo; in drawPaint()
544 bool GrRenderTargetContext::drawFilledRectAsClear(const GrClip& clip, GrPaint&& paint, GrAA aa, in drawFilledRectAsClear()
572 GrAA clipAA; in drawFilledRectAsClear()
583 clipAA = GrAA::kNo; in drawFilledRectAsClear()
640 if (clipAA == GrAA::kYes) { in drawFilledRectAsClear()
641 aa = GrAA::kYes; in drawFilledRectAsClear()
652 GrAA aa, in drawFilledRect()
678 GrAA aa, in drawRect()
[all …]
DGrSWMaskHelper.cpp37 void GrSWMaskHelper::drawRect(const SkRect& rect, const SkMatrix& matrix, SkRegion::Op op, GrAA aa, in drawRect()
41 paint.setAntiAlias(GrAA::kYes == aa); in drawRect()
55 GrAA aa, uint8_t alpha) { in drawShape()
59 paint.setAntiAlias(GrAA::kYes == aa); in drawShape()
DGrSWMaskHelper.h48 void drawRect(const SkRect& rect, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
51 void drawShape(const GrShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
DGrSoftwarePathRenderer.cpp203 GrAA aa) in SoftwarePathData()
212 GrAA getAA() const { return fAA; } in getAA()
218 GrAA fAA;
332 GrAA aa = GrAAType::kCoverage == args.fAAType ? GrAA::kYes : GrAA::kNo; in onDrawPath()
DGrFixedClip.cpp32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect()
42 *aa = GrAA::kNo; in isRRect()
DGrClipStackClip.cpp51 bool GrClipStackClip::isRRect(const SkRect& origRTBounds, SkRRect* rr, GrAA* aa) const { 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()
436 helper.drawRect(temp, translate, SkRegion::kXOR_Op, GrAA::kNo, 0xFF); in draw_clip_elements_to_mask_helper()
DGrRenderTargetContextPriv.h81 GrAA,
93 GrAA,
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.h97 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
118 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.h97 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
118 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()

1234