/external/skia/tests/ |
D | GrQuadCropTest.cpp | 24 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/ |
D | GrRenderTargetContext.h | 179 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 …]
|
D | GrReducedClip.cpp | 120 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 …]
|
D | GrReducedClip.h | 126 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);
|
D | GrSWMaskHelper.cpp | 39 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()
|
D | GrRenderTargetContext.cpp | 380 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 …]
|
D | GrRenderTargetContextPriv.h | 57 GrAA doStencilMSAA, const SkMatrix& viewMatrix, const SkRect& rect, 68 const GrHardClip&, GrAA doStencilMSAA, const SkMatrix& viewMatrix, sk_sp<const GrPath>); 78 GrAA doStencilMSAA,
|
D | GrSWMaskHelper.h | 49 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);
|
D | GrFixedClip.cpp | 32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect() 42 *aa = GrAA::kNo; in isRRect()
|
D | GrSoftwarePathRenderer.cpp | 101 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()
|
D | SkGpuDevice_drawTexture.cpp | 176 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/ |
D | GrRenderTargetContext.h | 99 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 …]
|
D | GrReducedClip.cpp | 120 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 …]
|
D | GrReducedClip.h | 127 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);
|
D | SkGpuDevice_drawTexture.cpp | 101 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()
|
D | GrSWMaskHelper.cpp | 37 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()
|
D | GrRenderTargetContext.cpp | 117 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 …]
|
D | GrSWMaskHelper.h | 48 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);
|
D | GrFixedClip.cpp | 32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect() 42 *aa = GrAA::kNo; in isRRect()
|
D | GrSoftwarePathRenderer.cpp | 203 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()
|
D | GrClipStackClip.cpp | 51 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/ |
D | GrStencilAndCoverPathRenderer.cpp | 123 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()
|
D | GrDrawPathOp.h | 25 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()
|
D | GrDrawPathOp.cpp | 30 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/ |
D | GrConfigConversionEffect.h | 97 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()
|