/external/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 62 GrAAType aaType, in Make() argument 70 GrResolveAATypeForQuad(aaType, edgeAA, deviceQuad, deviceQuadType, &aaType, &edgeAA); in Make() 71 return Helper::FactoryHelper<FillRectOp>(context, std::move(paint), aaType, edgeAA, in Make() 77 FillRectOp(Helper::MakeArgs args, SkPMColor4f paintColor, GrAAType aaType, in FillRectOp() argument 82 , fHelper(args, aaType, stencil) in FillRectOp() 95 HasAABloat(aaType == GrAAType::kCoverage), IsZeroArea::kNo); in FillRectOp() 143 GrProcessorAnalysisCoverage coverage = fHelper.aaType() == GrAAType::kCoverage ? in finalize() 202 fHelper.usesLocalCoords(), Domain::kNo, fHelper.aaType(), in onPrepareDraws() 261 if ((fHelper.aaType() == GrAAType::kCoverage || in onCombineIfPossible() 262 that->fHelper.aaType() == GrAAType::kCoverage) && in onCombineIfPossible() [all …]
|
D | GrTextureOp.cpp | 117 GrAAType aaType, in Make() argument 138 nullptr, GrQuadType::kRect, aaType, aaFlags, std::move(textureColorSpaceXform)); in Make() 146 GrAAType aaType, in Make() argument 169 &grSrcQuad, GrQuadType::kStandard, aaType, aaFlags, in Make() 174 int cnt, GrSamplerState::Filter filter, GrAAType aaType, in Make() argument 180 return std::unique_ptr<GrDrawOp>(new (mem) TextureOp(set, cnt, filter, aaType, viewMatrix, in Make() 243 return this->aaType() == GrAAType::kMSAA ? FixedFunctionFlags::kUsesHWAA in fixedFunctionFlags() 259 const GrPerspQuad* srcQuad, GrQuadType srcQuadType, GrAAType aaType, in TextureOp() argument 267 GrResolveAATypeForQuad(aaType, aaFlags, dstQuad, dstQuadType, &aaType, &aaFlags); in TextureOp() 268 fAAType = static_cast<unsigned>(aaType); in TextureOp() [all …]
|
D | GrFillRectOp.h | 32 GrAAType aaType, 40 GrAAType aaType, 49 GrAAType aaType, 60 GrAAType aaType, 71 GrAAType aaType, 81 GrAAType aaType, 88 GrAAType aaType, 96 GrAAType aaType,
|
D | GrRegionOp.cpp | 47 GrAAType aaType, in Make() argument 50 aaType, stencilSettings); in Make() 54 const SkMatrix& viewMatrix, const SkRegion& region, GrAAType aaType, in RegionOp() argument 57 , fHelper(helperArgs, aaType, stencilSettings) in RegionOp() 181 GrAAType aaType, in Make() argument 183 if (aaType != GrAAType::kNone && aaType != GrAAType::kMSAA) { in Make() 186 return RegionOp::Make(context, std::move(paint), viewMatrix, region, aaType, stencilSettings); in Make() 213 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local 215 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE() 217 return RegionOp::Make(context, std::move(paint), viewMatrix, region, aaType, in GR_DRAW_OP_TEST_DEFINE()
|
D | GrSimpleMeshDrawOpHelper.cpp | 14 GrSimpleMeshDrawOpHelper::GrSimpleMeshDrawOpHelper(const MakeArgs& args, GrAAType aaType, in GrSimpleMeshDrawOpHelper() argument 18 , fAAType((int)aaType) in GrSimpleMeshDrawOpHelper() 23 if (GrAATypeIsHW(aaType)) { in GrSimpleMeshDrawOpHelper() 38 return GrAATypeIsHW((this->aaType())) ? GrDrawOp::FixedFunctionFlags::kUsesHWAA in fixedFunctionFlags() 59 (noneAsCoverageAA && none_as_coverage_aa_compatible(this->aaType(), that.aaType()))); in isCompatible() 118 switch (this->aaType()) { in dumpInfo() 138 const MakeArgs& args, GrAAType aaType, const GrUserStencilSettings* stencilSettings, in GrSimpleMeshDrawOpHelperWithStencil() argument 140 : INHERITED(args, aaType, flags) in GrSimpleMeshDrawOpHelperWithStencil()
|
D | GrTessellatingPathRenderer.cpp | 181 GrAAType aaType, in Make() argument 185 aaType, stencilSettings); in Make() 209 GrAAType aaType, in TessellatingPathOp() argument 212 , fHelper(helperArgs, aaType, stencilSettings) in TessellatingPathOp() 217 , fAntiAlias(GrAAType::kCoverage == aaType) { in TessellatingPathOp() 415 GrAAType aaType; in GR_DRAW_OP_TEST_DEFINE() local 417 aaType = kAATypes[random->nextULessThan(SK_ARRAY_COUNT(kAATypes))]; in GR_DRAW_OP_TEST_DEFINE() 418 } while(GrAAType::kMSAA == aaType && GrFSAAType::kUnifiedMSAA != fsaaType); in GR_DRAW_OP_TEST_DEFINE() 425 aaType, GrGetRandomStencil(random, context)); in GR_DRAW_OP_TEST_DEFINE()
|
D | GrDefaultPathRenderer.cpp | 345 GrAAType aaType, in Make() argument 349 coverage, viewMatrix, isHairline, aaType, in Make() 374 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument 377 , fHelper(helperArgs, aaType, stencilSettings) in DefaultPathOp() 492 GrAAType aaType, in internalDrawPath() argument 500 SkASSERT(GrAAType::kCoverage != aaType); in internalDrawPath() 616 GrFillRectOp::MakeWithLocalMatrix(context, std::move(paint), aaType, viewM, in internalDrawPath() 625 newCoverage, viewMatrix, isHairline, aaType, devBounds, in internalDrawPath() 630 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath() 700 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local [all …]
|
D | GrDrawAtlasOp.cpp | 91 const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount, in DrawAtlasOp() argument 93 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fColor(color) { in DrawAtlasOp() 269 GrAAType aaType, in Make() argument 275 viewMatrix, aaType, in Make() 335 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local 337 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE() 340 return GrDrawAtlasOp::Make(context, std::move(paint), viewMatrix, aaType, spriteCount, in GR_DRAW_OP_TEST_DEFINE()
|
D | GrDrawPathOp.cpp | 28 GrPathRendering::FillType fill, GrAAType aaType) in GrDrawPathOpBase() argument 33 , fAAType(aaType) in GrDrawPathOpBase() 81 GrAAType aaType, in Make() argument 85 return pool->allocate<GrDrawPathOp>(viewMatrix, std::move(paint), aaType, path); in Make()
|
D | GrSimpleMeshDrawOpHelper.h | 117 GrAAType aaType() const { return static_cast<GrAAType>(fAAType); } in aaType() function 119 void setAAType(GrAAType aaType) { in setAAType() argument 120 fAAType = static_cast<unsigned>(aaType); in setAAType() 179 using GrSimpleMeshDrawOpHelper::aaType;
|
/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 61 GrAAType aaType, in Make() argument 69 GrResolveAATypeForQuad(aaType, edgeAA, deviceQuad, deviceQuadType, &aaType, &edgeAA); in Make() 70 return Helper::FactoryHelper<FillRectOp>(context, std::move(paint), aaType, edgeAA, in Make() 76 FillRectOp(Helper::MakeArgs args, SkPMColor4f paintColor, GrAAType aaType, in FillRectOp() argument 81 , fHelper(args, aaType, stencil) in FillRectOp() 94 HasAABloat(aaType == GrAAType::kCoverage), IsZeroArea::kNo); in FillRectOp() 141 GrProcessorAnalysisCoverage coverage = fHelper.aaType() == GrAAType::kCoverage ? in finalize() 168 GrAAType aaType, const SkMatrix& viewMatrix, 181 fHelper.aaType(), fHelper.compatibleWithAlphaAsCoverage()); in onPrepareDraws() 236 if ((fHelper.aaType() == GrAAType::kCoverage || in onCombineIfPossible() [all …]
|
D | GrTextureOp.cpp | 105 GrAAType aaType, in Make() argument 113 std::move(proxy), filter, color, srcRect, dstRect, aaType, aaFlags, constraint, in Make() 118 int cnt, GrSamplerState::Filter filter, GrAAType aaType, in Make() argument 124 return std::unique_ptr<GrDrawOp>(new (mem) TextureOp(set, cnt, filter, aaType, viewMatrix, in Make() 186 return this->aaType() == GrAAType::kMSAA ? FixedFunctionFlags::kUsesHWAA in fixedFunctionFlags() 196 const SkRect& srcRect, const SkRect& dstRect, GrAAType aaType, GrQuadAAFlags aaFlags, in TextureOp() argument 208 GrResolveAATypeForQuad(aaType, aaFlags, quad, quadType, &aaType, &aaFlags); in TextureOp() 209 fAAType = static_cast<unsigned>(aaType); in TextureOp() 227 aaType != GrAAType::kCoverage) { in TextureOp() 237 this->setBounds(bounds, HasAABloat(aaType == GrAAType::kCoverage), IsZeroArea::kNo); in TextureOp() [all …]
|
D | GrFillRectOp.h | 31 GrAAType aaType, 39 GrAAType aaType, 48 GrAAType aaType, 59 GrAAType aaType, 69 GrAAType aaType, 76 GrAAType aaType, 84 GrAAType aaType,
|
D | GrRegionOp.cpp | 45 GrAAType aaType, in Make() argument 48 aaType, stencilSettings); in Make() 52 const SkMatrix& viewMatrix, const SkRegion& region, GrAAType aaType, in RegionOp() argument 55 , fHelper(helperArgs, aaType, stencilSettings) in RegionOp() 175 GrAAType aaType, in Make() argument 177 if (aaType != GrAAType::kNone && aaType != GrAAType::kMSAA) { in Make() 180 return RegionOp::Make(context, std::move(paint), viewMatrix, region, aaType, stencilSettings); in Make() 207 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local 209 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE() 211 return RegionOp::Make(context, std::move(paint), viewMatrix, region, aaType, in GR_DRAW_OP_TEST_DEFINE()
|
D | GrSimpleMeshDrawOpHelper.cpp | 14 GrSimpleMeshDrawOpHelper::GrSimpleMeshDrawOpHelper(const MakeArgs& args, GrAAType aaType, in GrSimpleMeshDrawOpHelper() argument 18 , fAAType((int)aaType) in GrSimpleMeshDrawOpHelper() 23 if (GrAATypeIsHW(aaType)) { in GrSimpleMeshDrawOpHelper() 38 return GrAATypeIsHW((this->aaType())) ? GrDrawOp::FixedFunctionFlags::kUsesHWAA in fixedFunctionFlags() 59 (noneAsCoverageAA && none_as_coverage_aa_compatible(this->aaType(), that.aaType()))); in isCompatible() 77 bool isMixedSamples = this->aaType() == GrAAType::kMixedSamples; in finalizeProcessors() 106 switch (this->aaType()) { in dumpInfo() 162 const MakeArgs& args, GrAAType aaType, const GrUserStencilSettings* stencilSettings, in GrSimpleMeshDrawOpHelperWithStencil() argument 164 : INHERITED(args, aaType, flags) in GrSimpleMeshDrawOpHelperWithStencil()
|
D | GrTessellatingPathRenderer.cpp | 181 GrAAType aaType, in Make() argument 185 aaType, stencilSettings); in Make() 209 GrAAType aaType, in TessellatingPathOp() argument 212 , fHelper(helperArgs, aaType, stencilSettings) in TessellatingPathOp() 217 , fAntiAlias(GrAAType::kCoverage == aaType) { in TessellatingPathOp() 411 GrAAType aaType; in GR_DRAW_OP_TEST_DEFINE() local 413 aaType = kAATypes[random->nextULessThan(SK_ARRAY_COUNT(kAATypes))]; in GR_DRAW_OP_TEST_DEFINE() 414 } while(GrAAType::kMSAA == aaType && GrFSAAType::kUnifiedMSAA != fsaaType); in GR_DRAW_OP_TEST_DEFINE() 421 aaType, GrGetRandomStencil(random, context)); in GR_DRAW_OP_TEST_DEFINE()
|
D | GrDefaultPathRenderer.cpp | 349 GrAAType aaType, in Make() argument 353 coverage, viewMatrix, isHairline, aaType, in Make() 378 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument 381 , fHelper(helperArgs, aaType, stencilSettings) in DefaultPathOp() 493 GrAAType aaType, in internalDrawPath() argument 501 SkASSERT(GrAAType::kCoverage != aaType); in internalDrawPath() 617 GrFillRectOp::MakeWithLocalMatrix(context, std::move(paint), aaType, viewM, in internalDrawPath() 626 newCoverage, viewMatrix, isHairline, aaType, devBounds, in internalDrawPath() 631 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath() 701 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local [all …]
|
D | GrDrawPathOp.cpp | 16 GrPathRendering::FillType fill, GrAAType aaType) in GrDrawPathOpBase() argument 21 , fAAType(aaType) in GrDrawPathOpBase() 69 GrAAType aaType, in Make() argument 73 return pool->allocate<GrDrawPathOp>(viewMatrix, std::move(paint), aaType, path); in Make()
|
D | GrSimpleMeshDrawOpHelper.h | 121 GrAAType aaType() const { return static_cast<GrAAType>(fAAType); } in aaType() function 123 void setAAType(GrAAType aaType) { in setAAType() argument 124 fAAType = static_cast<unsigned>(aaType); in setAAType() 172 using GrSimpleMeshDrawOpHelper::aaType;
|
D | GrDrawAtlasOp.cpp | 31 const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount, in GrDrawAtlasOp() argument 33 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fColor(color) { in GrDrawAtlasOp() 255 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local 257 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE() 260 return GrDrawAtlasOp::Make(context, std::move(paint), viewMatrix, aaType, spriteCount, in GR_DRAW_OP_TEST_DEFINE()
|
D | GrStrokeRectOp.cpp | 114 GrAAType aaType) { in Make() argument 123 if (stroke.getStyle() == SkStrokeRec::kHairline_Style && aaType != GrAAType::kMSAA) { in Make() 128 stroke, aaType); in Make() 133 const SkStrokeRec& stroke, GrAAType aaType) in NonAAStrokeRectOp() argument 134 : INHERITED(ClassID()), fHelper(helperArgs, aaType, flags) { in NonAAStrokeRectOp() 737 GrAAType aaType, in Make() argument 741 if (aaType == GrAAType::kCoverage) { in Make() 748 return NonAAStrokeRectOp::Make(context, std::move(paint), viewMatrix, rect, stroke, aaType); in Make() 788 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local 790 aaType = random->nextBool() ? GrAAType::kMSAA : GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() [all …]
|
/external/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 639 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawFilledRectAsClear() local 641 GrFillRectOp::Make(fContext, std::move(paint), aaType, SkMatrix::I(), in drawFilledRectAsClear() 667 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawFilledRect() local 668 this->addDrawOp(clip, GrFillRectOp::Make(fContext, std::move(paint), aaType, viewMatrix, in drawFilledRect() 732 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawRect() local 733 op = GrStrokeRectOp::Make(fContext, std::move(paint), aaType, viewMatrix, rect, stroke); in drawRect() 748 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawQuadSet() local 749 this->addDrawOp(clip, GrFillRectOp::MakeSet(fContext, std::move(paint), aaType, viewMatrix, in drawQuadSet() 796 GrAAType aaType, in stencilPath() argument 805 SkASSERT(aaType != GrAAType::kCoverage); in stencilPath() [all …]
|
/external/skqp/src/gpu/ |
D | GrRenderTargetContext.cpp | 643 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawFilledRectAsClear() local 645 GrFillRectOp::Make(fContext, std::move(paint), aaType, SkMatrix::I(), in drawFilledRectAsClear() 671 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawFilledRect() local 672 this->addDrawOp(clip, GrFillRectOp::Make(fContext, std::move(paint), aaType, viewMatrix, in drawFilledRect() 736 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawRect() local 737 op = GrStrokeRectOp::Make(fContext, std::move(paint), aaType, viewMatrix, rect, stroke); in drawRect() 752 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawQuadSet() local 753 this->addDrawOp(clip, GrFillRectOp::MakeSet(fContext, std::move(paint), aaType, viewMatrix, in drawQuadSet() 800 GrAAType aaType, in stencilPath() argument 809 SkASSERT(aaType != GrAAType::kCoverage); in stencilPath() [all …]
|
/external/skqp/tests/ |
D | PathRendererCacheTests.cpp | 35 GrAAType aaType, in draw_path() argument 56 aaType, in draw_path() 75 GrAAType aaType = GrAAType::kNone, in test_path() argument 99 draw_path(ctx.get(), rtc.get(), path, pathRenderer.get(), aaType, style); in test_path()
|
/external/skia/tests/ |
D | PathRendererCacheTests.cpp | 35 GrAAType aaType, in draw_path() argument 56 aaType, in draw_path() 75 GrAAType aaType = GrAAType::kNone, in test_path() argument 99 draw_path(ctx.get(), rtc.get(), path, pathRenderer.get(), aaType, style); in test_path()
|