Home
last modified time | relevance | path

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

12345

/external/skia/tests/
DGrQuadCropTest.cpp24 static void run_crop_axis_aligned_test(skiatest::Reporter* r, const SkRect& clipRect, GrAA clipAA, in run_crop_axis_aligned_test()
31 clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll}; in run_crop_axis_aligned_test()
69 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test()
76 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test()
83 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test()
90 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test()
98 static void run_crop_fully_covered_test(skiatest::Reporter* r, GrAA clipAA, in run_crop_fully_covered_test()
114 clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll}; in run_crop_fully_covered_test()
141 GrQuadAAFlags expectedFlags = clipAA == GrAA::kYes ? GrQuadAAFlags::kAll in run_crop_fully_covered_test()
182 run_crop_axis_aligned_test(r, kInsideClipRect, GrAA::kNo, viewMatrix, localMatrix); in test_axis_aligned_all_clips()
[all …]
/external/skia/src/gpu/
DGrRenderTargetContext.h179 GrAA,
195 GrAA aa, in fillRectToRect()
200 aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone}; in fillRectToRect()
209 GrAA aa, in fillRectWithLocalMatrix()
215 aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone}; in fillRectWithLocalMatrix()
225 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
245 void fillQuadWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, in fillQuadWithEdgeAA()
263 void drawQuadSet(const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix,
274 const SkRect& srcRect, const SkRect& dstRect, GrAA aa, GrQuadAAFlags edgeAA, in drawTexture()
294 const SkPoint dstQuad[4], GrAA aa, GrQuadAAFlags edgeAA, in drawTextureQuad()
[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()
546 GrAA(element->isAA())); in clipOutsideElement()
552 GrAA(element->isAA())); in clipOutsideElement()
590 Invert(!element->isInverseFilled()), GrAA(element->isAA())); in clipOutsideElement()
608 GrClipEdgeType GrReducedClip::GetClipEdgeType(Invert invert, GrAA aa) { in GetClipEdgeType()
610 return (GrAA::kYes == aa) ? GrClipEdgeType::kFillAA : GrClipEdgeType::kFillBW; in GetClipEdgeType()
612 return (GrAA::kYes == aa) ? GrClipEdgeType::kInverseFillAA : GrClipEdgeType::kInverseFillBW; in GetClipEdgeType()
617 Invert invert, GrAA aa) { in addAnalyticFP()
[all …]
DGrReducedClip.h126 static GrClipEdgeType GetClipEdgeType(Invert, GrAA);
127 ClipResult addAnalyticFP(const SkRect& deviceSpaceRect, Invert, GrAA);
128 ClipResult addAnalyticFP(const SkRRect& deviceSpaceRRect, Invert, GrAA);
129 ClipResult addAnalyticFP(const SkPath& deviceSpacePath, Invert, GrAA);
DGrSWMaskHelper.cpp39 void GrSWMaskHelper::drawRect(const SkRect& rect, const SkMatrix& matrix, SkRegion::Op op, GrAA aa, in drawRect()
43 paint.setAntiAlias(GrAA::kYes == aa); in drawRect()
57 GrAA aa, uint8_t alpha) { in drawShape()
61 paint.setAntiAlias(GrAA::kYes == aa); in drawShape()
DGrRenderTargetContext.cpp380 inline GrAAType GrRenderTargetContext::chooseAAType(GrAA aa) { in chooseAAType()
381 if (GrAA::kNo == aa) { in chooseAAType()
560 this->fillRectToRect(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), r, r); in drawPaint()
567 this->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), r, in drawPaint()
604 const GrUserStencilSettings* stencilSettings, GrAA* aa, DrawQuad* quad) { in attemptQuadOptimization()
662 GrAA clipAA = stencilSettings ? *aa : GrAA::kNo; in attemptQuadOptimization()
702 if (*aa == GrAA::kNo && clipAA == GrAA::kYes && in attemptQuadOptimization()
706 *aa = GrAA::kYes; in attemptQuadOptimization()
762 GrAA aa, in drawFilledQuad()
785 GrAAType aaType = ss ? (aa == GrAA::kYes ? GrAAType::kMSAA : GrAAType::kNone) in drawFilledQuad()
[all …]
DGrRenderTargetContextPriv.h57 GrAA doStencilMSAA, const SkMatrix& viewMatrix, const SkRect& rect,
68 const GrHardClip&, GrAA doStencilMSAA, const SkMatrix& viewMatrix, sk_sp<const GrPath>);
78 GrAA doStencilMSAA,
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);
DGrFixedClip.cpp32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect()
42 *aa = GrAA::kNo; in isRRect()
DGrSoftwarePathRenderer.cpp101 renderTargetContext->priv().stencilRect(clip, &userStencilSettings, std::move(paint), GrAA::kNo, in DrawNonAARect()
200 GrAA aa) in SoftwarePathData()
209 GrAA getAA() const { return fAA; } in getAA()
215 GrAA fAA;
335 GrAA aa = GrAA(GrAAType::kCoverage == args.fAAType); in onDrawPath()
DSkGpuDevice_drawTexture.cpp176 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in draw_texture()
201 float buffer = 0.5f * (aa == GrAA::kYes) + in draw_texture()
239 const SkMatrix& srcToDst, GrAA aa, GrQuadAAFlags aaFlags, in draw_texture_producer()
360 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in drawImageQuad()
484 set[i].fHasClip ? dstClips + dstClipIndex : nullptr, GrAA::kYes, in drawEdgeAAImageSet()
508 filter, mode, GrAA::kYes, constraint, in drawEdgeAAImageSet()
554 image, &set[i].fSrcRect, &set[i].fDstRect, clip, GrAA::kYes, in drawEdgeAAImageSet()
617 GrAA(paint.isAntiAlias()), in drawTextureProducer()
/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()
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()
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.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);
DGrFixedClip.cpp32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect()
42 *aa = GrAA::kNo; in isRRect()
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()
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()
/external/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp123 stencilClip, GrAA(doStencilMSAA), viewMatrix, std::move(path)); in onDrawPath()
155 GrAA doStencilMSAA = GrAA::kNo; in onDrawPath()
157 doStencilMSAA = GrAA::kYes; in onDrawPath()
165 args.fContext, viewMatrix, std::move(args.fPaint), GrAA(doStencilMSAA), in onDrawPath()
DGrDrawPathOp.h25 GrPathRendering::FillType, GrAA);
74 GrRecordingContext*, const SkMatrix& viewMatrix, GrPaint&&, GrAA, sk_sp<const GrPath>);
85 GrDrawPathOp(const SkMatrix& viewMatrix, GrPaint&& paint, GrAA aa, sk_sp<const GrPath> path) in GrDrawPathOp()
DGrDrawPathOp.cpp30 GrPathRendering::FillType fill, GrAA aa) in GrDrawPathOpBase()
35 , fDoAA(GrAA::kYes == aa) in GrDrawPathOpBase()
72 GrAA aa, in Make()
/external/skia/src/gpu/effects/generated/
DGrConfigConversionEffect.h97 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
112 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
120 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()

12345