Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/ops/
DGrDashLinePathRenderer.cpp42 aaMode = GrDashOp::AAMode::kCoverage; in onDrawPath()
50 case GrAAType::kCoverage: in onDrawPath()
51 aaMode = GrDashOp::AAMode::kCoverage; in onDrawPath()
DGrMeshDrawOp.h34 return (aa1 == GrAAType::kNone && aa2 == GrAAType::kCoverage) || in CanUpgradeAAOnMerge()
35 (aa1 == GrAAType::kCoverage && aa2 == GrAAType::kNone); in CanUpgradeAAOnMerge()
101 bool willBeAA = (aaType == GrAAType::kCoverage) || willBeUpgradedToAA; in CombinedQuadCountWillOverflow()
DGrQuadPerEdgeAA.h76 , fUsesCoverageAA(aa == GrAAType::kCoverage) in VertexSpec()
78 , fRequiresGeometrySubset(aa == GrAAType::kCoverage && in VertexSpec()
DGrTextureOp.cpp473 this->setBounds(quad->fDevice.bounds(), HasAABloat(aaType == GrAAType::kCoverage), in TextureOp()
622 this->setBounds(bounds, HasAABloat(netAAType == GrAAType::kCoverage), IsHairline::kNo); in TextureOp()
826 if (op.fMetadata.aaType() == GrAAType::kCoverage) { in characterize()
827 overallAAType = GrAAType::kCoverage; in characterize()
951 fMetadata.fAAType = static_cast<uint16_t>(GrAAType::kCoverage); in propagateCoverageAAThroughoutChain()
955 SkASSERT(tex->fMetadata.aaType() == GrAAType::kCoverage || in propagateCoverageAAThroughoutChain()
957 tex->fMetadata.fAAType = static_cast<uint16_t>(GrAAType::kCoverage); in propagateCoverageAAThroughoutChain()
962 SkASSERT(tex->fMetadata.aaType() == GrAAType::kCoverage || in propagateCoverageAAThroughoutChain()
964 tex->fMetadata.fAAType = static_cast<uint16_t>(GrAAType::kCoverage); in propagateCoverageAAThroughoutChain()
1325 SkASSERT(aaType == GrAAType::kCoverage); in AddTextureSetOps()
[all …]
DGrDashOp.h24 kCoverage, enumerator
DGrFillRectOp.cpp87 this->setBounds(quad->fDevice.bounds(), HasAABloat(aaType == GrAAType::kCoverage), in FillRectOp()
141 auto coverage = fHelper.aaType() == GrAAType::kCoverage in finalize()
356 fHelper.setAAType(GrAAType::kCoverage); in onCombineIfPossible()
432 this->setBounds(newBounds, HasAABloat(fHelper.aaType() == GrAAType::kCoverage), in addQuad()
562 aaType = (numSamples > 1) ? GrAAType::kMSAA : GrAAType::kCoverage; in GR_DRAW_OP_TEST_DEFINE()
DGrTriangulatingPathRenderer.cpp219 case GrAAType::kCoverage: in onCanDrawPath()
276 , fAntiAlias(GrAAType::kCoverage == aaType) { in TriangulatingPathOp()
632 static constexpr GrAAType kAATypes[] = {GrAAType::kNone, GrAAType::kMSAA, GrAAType::kCoverage}; in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/tests/
DTessellatingPathRendererTests.cpp702 test_path(ctx, rtc.get(), create_path_17(), nonInvertibleMatrix, GrAAType::kCoverage, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
706 test_path(ctx, rtc.get(), create_path_20(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
707 test_path(ctx, rtc.get(), create_path_21(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
710 test_path(ctx, rtc.get(), create_path_25(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
711 test_path(ctx, rtc.get(), create_path_26(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
712 test_path(ctx, rtc.get(), create_path_27(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
713 test_path(ctx, rtc.get(), create_path_28(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
716 test_path(ctx, rtc.get(), create_path_31(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
723 test_path(ctx, rtc.get(), create_path_38(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
726 test_path(ctx, rtc.get(), create_path_41(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
DPathRendererCacheTests.cpp145 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage);
153 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage,
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp94 HasAABloat(aaType == GrAAType::kCoverage), IsZeroArea::kNo); in FillRectOp()
141 GrProcessorAnalysisCoverage coverage = fHelper.aaType() == GrAAType::kCoverage ? in finalize()
236 if ((fHelper.aaType() == GrAAType::kCoverage || in onCombineIfPossible()
237 that->fHelper.aaType() == GrAAType::kCoverage) && in onCombineIfPossible()
260 if (fHelper.aaType() == GrAAType::kNone && that->fHelper.aaType() == GrAAType::kCoverage) { in onCombineIfPossible()
261 fHelper.setAAType(GrAAType::kCoverage); in onCombineIfPossible()
300 this->setBounds(newBounds, HasAABloat(fHelper.aaType() == GrAAType::kCoverage), in addQuad()
415 aaType == GrAAType::kCoverage ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone, in Make()
427 aaType == GrAAType::kCoverage ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone, in MakeWithLocalMatrix()
439 aaType == GrAAType::kCoverage ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone, in MakeWithLocalRect()
[all …]
DGrDashLinePathRenderer.cpp41 case GrAAType::kCoverage: in onDrawPath()
43 aaMode = GrDashOp::AAMode::kCoverage; in onDrawPath()
DGrTextureOp.cpp227 aaType != GrAAType::kCoverage) { in TextureOp()
237 this->setBounds(bounds, HasAABloat(aaType == GrAAType::kCoverage), IsZeroArea::kNo); in TextureOp()
291 this->setBounds(bounds, HasAABloat(this->aaType() == GrAAType::kCoverage), IsZeroArea::kNo); in TextureOp()
351 if (op.aaType() == GrAAType::kCoverage) { in onPrepareDraws()
352 SkASSERT(aaType == GrAAType::kCoverage || aaType == GrAAType::kNone); in onPrepareDraws()
353 aaType = GrAAType::kCoverage; in onPrepareDraws()
457 if (!((this->aaType() == GrAAType::kCoverage && that->aaType() == GrAAType::kNone) || in onCombineIfPossible()
458 (that->aaType() == GrAAType::kCoverage && this->aaType() == GrAAType::kNone))) { in onCombineIfPossible()
482 fAAType = static_cast<unsigned>(GrAAType::kCoverage); in onCombineIfPossible()
631 aaType = (fsaaType == GrFSAAType::kUnifiedMSAA) ? GrAAType::kMSAA : GrAAType::kCoverage; in GR_DRAW_OP_TEST_DEFINE()
DGrSimpleMeshDrawOpHelper.cpp43 return (aa1 == GrAAType::kNone && aa2 == GrAAType::kCoverage) || in none_as_coverage_aa_compatible()
44 (aa1 == GrAAType::kCoverage && aa2 == GrAAType::kNone); in none_as_coverage_aa_compatible()
110 case GrAAType::kCoverage: in dumpInfo()
DGrDashOp.h23 kCoverage, enumerator
DGrTessellatingPathRenderer.cpp155 if (GrAAType::kCoverage == args.fAAType) { in onCanDrawPath()
217 , fAntiAlias(GrAAType::kCoverage == aaType) { in TessellatingPathOp()
410 static constexpr GrAAType kAATypes[] = {GrAAType::kNone, GrAAType::kMSAA, GrAAType::kCoverage}; in GR_DRAW_OP_TEST_DEFINE()
DGrQuadPerEdgeAA.h42 , fUsesCoverageAA(aa == GrAAType::kCoverage) in VertexSpec()
DGrStrokeRectOp.cpp332 , fHelper(helperArgs, GrAAType::kCoverage) in AAStrokeRectOp()
360 , fHelper(helperArgs, GrAAType::kCoverage) in AAStrokeRectOp()
741 if (aaType == GrAAType::kCoverage) { in Make()
766 return GrFillRectOp::Make(context, std::move(paint), GrAAType::kCoverage, viewMatrix, in MakeNested()
/external/skia/tests/
DTriangulatingPathRendererTests.cpp760 test_path(ctx, rtc.get(), create_path_17(), nonInvertibleMatrix, GrAAType::kCoverage, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
762 test_path(ctx, rtc.get(), create_path_20(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
763 test_path(ctx, rtc.get(), create_path_21(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
764 test_path(ctx, rtc.get(), create_path_25(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
765 test_path(ctx, rtc.get(), create_path_26(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
766 test_path(ctx, rtc.get(), create_path_27(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
767 test_path(ctx, rtc.get(), create_path_28(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
768 test_path(ctx, rtc.get(), create_path_31(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
769 test_path(ctx, rtc.get(), create_path_38(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
770 test_path(ctx, rtc.get(), create_path_41(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
DBulkRectTest.cpp235 test(reporter, dContext, noAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
249 test(reporter, dContext, alternateAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
264 test(reporter, dContext, runOfNonAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
279 test(reporter, dContext, fixedAA, GrAAType::kCoverage, SkBlendMode::kSrcATop, in run_test()
293 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
306 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
DPathRendererCacheTests.cpp166 GrAAType::kCoverage);
175 GrAAType::kCoverage, style);
/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp33 (args.fAAType == GrAAType::kCoverage || args.fAAType == GrAAType::kNone)) { in onCanDrawPath()
257 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType; in onDrawPath()
332 GrAA aa = GrAAType::kCoverage == args.fAAType ? GrAA::kYes : GrAA::kNo; in onDrawPath()
DGrRenderTargetContext.cpp129 return GrAAType::kCoverage; in GrChooseAAType()
134 : GrAAType::kCoverage; in GrChooseAAType()
809 SkASSERT(aaType != GrAAType::kCoverage); in stencilPath()
854 SkASSERT(GrAAType::kCoverage != aaType); in stencilRect()
1119 if (GrAAType::kCoverage == aaType) { in drawRRect()
1361 if (GrAAType::kCoverage == aaType && SkRRectPriv::IsCircle(*inner) in drawFilledDRRect()
1385 if (GrAAType::kCoverage == aaType) { in drawFilledDRRect()
1424 if (GrAAType::kCoverage == aaType) { in drawFilledDRRect()
1525 if (GrAAType::kCoverage == aaType) { in drawOval()
1573 if (GrAAType::kCoverage == aaType) { in drawArc()
[all …]
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp344 return (this->numSamples() > 1) ? GrAAType::kMSAA : GrAAType::kCoverage; in chooseAAType()
768 GrAAType aaType = (fCanUseDynamicMSAA) ? GrAAType::kCoverage : this->chooseAAType(aa); in drawRect()
1083 bool preferFillRRectOverCircle = aaType == GrAAType::kCoverage && in drawRRect()
1089 GrAAType::kCoverage == aaType && in drawRRect()
1104 if (!op && (GrAAType::kCoverage == aaType || fCanUseDynamicMSAA)) { in drawRRect()
1391 bool preferFillRRectOverCircle = aaType == GrAAType::kCoverage && in drawOval()
1397 GrAAType::kCoverage == aaType && in drawOval()
1417 if (!op && (GrAAType::kCoverage == aaType || fCanUseDynamicMSAA)) { in drawOval()
1450 if (GrAAType::kCoverage == aaType || fCanUseDynamicMSAA) { in drawArc()
1720 if (aaType == GrAAType::kCoverage || in drawSimpleShape()
[all …]
DGrSoftwarePathRenderer.cpp34 (args.fAAType == GrAAType::kCoverage || args.fAAType == GrAAType::kNone)) { in onCanDrawPath()
243 args.fShape->hasUnstyledKey() && (GrAAType::kCoverage == args.fAAType); in onDrawPath()
328 GrAA aa = GrAA(GrAAType::kCoverage == args.fAAType); in onDrawPath()
/external/drm_hwcomposer/include/
Ddrmhwcomposer.h126 kCoverage = HWC_BLENDING_COVERAGE, enumerator

123