Home
last modified time | relevance | path

Searched refs:CoverageType (Results 1 – 19 of 19) sorted by relevance

/third_party/flutter/skia/src/gpu/ccpr/
DGrCCAtlas.h50 enum class CoverageType { enum
56 static constexpr GrColorType CoverageTypeToColorType(CoverageType coverageType) { in CoverageTypeToColorType()
58 case CoverageType::kFP16_CoverageCount: in CoverageTypeToColorType()
60 case CoverageType::kA8_Multisample: in CoverageTypeToColorType()
61 case CoverageType::kA8_LiteralCoverage: in CoverageTypeToColorType()
71 const LazyInstantiateAtlasCallback&, CoverageType, const GrCaps&);
73 GrCCAtlas(CoverageType, const Specs&, const GrCaps&);
111 const CoverageType fCoverageType;
132 using CoverageType = GrCCAtlas::CoverageType;
134 GrCCAtlasStack(CoverageType coverageType, const GrCCAtlas::Specs& specs, const GrCaps* caps) in GrCCAtlasStack()
[all …]
DGrCoverageCountingPathRenderer.h30 using CoverageType = GrCCAtlas::CoverageType;
32 static bool IsSupported(const GrCaps&, CoverageType* = nullptr);
42 CoverageType coverageType() const { return fCoverageType; } in coverageType()
88 GrCoverageCountingPathRenderer(CoverageType, AllowCaching, uint32_t contextUniqueID);
100 const CoverageType fCoverageType;
DGrCoverageCountingPathRenderer.cpp21 bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps, CoverageType* coverageType) { in IsSupported()
38 *coverageType = CoverageType::kFP16_CoverageCount; in IsSupported()
48 *coverageType = CoverageType::kA8_Multisample; in IsSupported()
58 CoverageType coverageType; in CreateIfSupported()
67 CoverageType coverageType, AllowCaching allowCaching, uint32_t contextUniqueID) in GrCoverageCountingPathRenderer()
143 if (CoverageType::kFP16_CoverageCount != fCoverageType) { in onCanDrawPath()
199 if (CoverageType::kA8_Multisample == fCoverageType) { in makeClipProcessor()
223 CoverageType::kFP16_CoverageCount == fCoverageType); in makeClipProcessor()
DGrCCPerFlushResources.cpp24 using CoverageType = GrCCAtlas::CoverageType; typedef
168 GrOnFlushResourceProvider* onFlushRP, CoverageType coverageType, in GrCCPerFlushResources()
175 , fFiller((CoverageType::kFP16_CoverageCount == coverageType) in GrCCPerFlushResources()
185 , fCopyAtlasStack(CoverageType::kA8_LiteralCoverage, specs.fCopyAtlasSpecs, in GrCCPerFlushResources()
210 if (CoverageType::kA8_Multisample == coverageType) { in GrCCPerFlushResources()
239 if (CoverageType::kA8_LiteralCoverage == cachedAtlas->coverageType()) { in upgradeEntryToLiteralCoverageAtlas()
429 if (GrCCAtlas::CoverageType::kA8_Multisample == this->renderedPathCoverageType()) { in renderShapeInAtlas()
465 if (GrCCAtlas::CoverageType::kA8_Multisample == this->renderedPathCoverageType()) { in renderDeviceSpacePathInAtlas()
487 SkASSERT(GrCCAtlas::CoverageType::kA8_Multisample == this->renderedPathCoverageType()); in recordStencilResolveInstance()
507 SkASSERT(GrCCAtlas::CoverageType::kA8_Multisample != this->renderedPathCoverageType() || in finalize()
[all …]
DGrCCAtlas.cpp54 … const LazyInstantiateAtlasCallback& callback, CoverageType coverageType, const GrCaps& caps) { in MakeLazyAtlasProxy()
61 case CoverageType::kFP16_CoverageCount: in MakeLazyAtlasProxy()
65 case CoverageType::kA8_Multisample: in MakeLazyAtlasProxy()
70 case CoverageType::kA8_LiteralCoverage: in MakeLazyAtlasProxy()
87 GrCCAtlas::GrCCAtlas(CoverageType coverageType, const Specs& specs, const GrCaps& caps) in GrCCAtlas()
242 auto colorType = (CoverageType::kFP16_CoverageCount == fCoverageType) in makeRenderTargetContext()
DGrCCPerFlushResources.h71 GrOnFlushResourceProvider*, GrCCAtlas::CoverageType,const GrCCPerFlushResourceSpecs&);
75 GrCCAtlas::CoverageType renderedPathCoverageType() const { in renderedPathCoverageType()
189 if (GrCCAtlas::CoverageType::kA8_Multisample == this->renderedPathCoverageType()) { in debugOnly_didReuseRenderedPath()
DGrCCPathProcessor.h57 static CoverageMode GetCoverageMode(GrCCAtlas::CoverageType coverageType) { in GetCoverageMode()
58 return (GrCCAtlas::CoverageType::kFP16_CoverageCount == coverageType) in GetCoverageMode()
DGrCCDrawPathsOp.cpp233 using CoverageType = GrCCAtlas::CoverageType; in accountForOwnPath() typedef
248 if (CoverageType::kA8_LiteralCoverage == cachedAtlas->coverageType()) { in accountForOwnPath()
350 SkASSERT(GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
356 fColor = (GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
DGrCCPathCache.h291 GrCCCachedAtlas(GrCCAtlas::CoverageType type, const GrUniqueKey& textureKey, in GrCCCachedAtlas()
302 GrCCAtlas::CoverageType coverageType() const { return fCoverageType; } in coverageType()
324 const GrCCAtlas::CoverageType fCoverageType;
DGrCoverageCountingPathRenderer_none.cpp10 bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps, CoverageType*) { in IsSupported() argument
DGrCCClipPath.h41 GrCCAtlas::CoverageType atlasCoverageType, const GrCaps&);
DGrCCClipPath.cpp18 GrCCAtlas::CoverageType atlasCoverageType, const GrCaps& caps) { in init()
DGrCCPathCache.cpp384 SkASSERT(GrCCAtlas::CoverageType::kA8_LiteralCoverage != fCachedAtlas->coverageType()); in upgradeToLiteralCoverageAtlas()
/third_party/flutter/skia/gm/
Dpreservefillrule.cpp63 using CoverageType = GrCCAtlas::CoverageType; in onDraw() typedef
122 CoverageType atlasCoverageType = entry->cachedAtlas()->coverageType(); in onDraw()
129 ERR_MSG_ASSERT(CoverageType::kA8_LiteralCoverage == atlasCoverageType); in onDraw()
/third_party/vk-gl-cts/framework/common/
DtcuRasterizationVerifier.hpp36 enum CoverageType enum
153 CoverageType calculateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& …
159 CoverageType calculateUnderestimateLineCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const fl…
165 CoverageType calculateUnderestimateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, cons…
DtcuRasterizationVerifier.cpp710 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], in verifyTriangleGroupInterpolationWithInterpolator()
2376 CoverageType calculateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& … in calculateTriangleCoverage()
2523 CoverageType calculateUnderestimateLineCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const fl… in calculateUnderestimateLineCoverage()
2568 CoverageType calculateUnderestimateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, cons… in calculateUnderestimateTriangleCoverage()
2744 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], in verifyTriangleGroupRasterization()
2758 CoverageType resultCoverage = COVERAGE_PARTIAL; in verifyTriangleGroupRasterization()
2772 …const CoverageType friendCoverage = calculateTriangleCoverage(scene.triangles[friendTriNdx].positi… in verifyTriangleGroupRasterization()
2810 CoverageType referenceCoverage = (CoverageType)coverageMap.getAccess().getPixelUint(x, y).x(); in verifyTriangleGroupRasterization()
2836 && (CoverageType)coverageMap.getAccess().getPixelUint(x + dx, y + dy).x() != COVERAGE_NONE) in verifyTriangleGroupRasterization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp142 Res.CoverageType = SanitizerCoverageOptions::SCK_None; in getOptions()
145 Res.CoverageType = SanitizerCoverageOptions::SCK_Function; in getOptions()
148 Res.CoverageType = SanitizerCoverageOptions::SCK_BB; in getOptions()
151 Res.CoverageType = SanitizerCoverageOptions::SCK_Edge; in getOptions()
154 Res.CoverageType = SanitizerCoverageOptions::SCK_Edge; in getOptions()
164 Options.CoverageType = std::max(Options.CoverageType, CLOpts.CoverageType); in OverrideFromCL()
361 if (Options.CoverageType == SanitizerCoverageOptions::SCK_None) in instrumentModule()
527 if (Options.CoverageType == SanitizerCoverageOptions::SCK_Function && in shouldInstrumentBlock()
592 if (Options.CoverageType >= SanitizerCoverageOptions::SCK_Edge) in instrumentFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DInstrumentation.h167 } CoverageType = SCK_None; member
/third_party/flutter/skia/tests/
DGrCCPRTest.cpp594 using CoverageType = GrCCAtlas::CoverageType; in onRun() typedef
631 REPORTER_ASSERT(reporter, CoverageType::kA8_LiteralCoverage in onRun()
868 GrCCAtlas::CoverageType::kA8_Multisample == ccpr->coverageType()) { in run()