Searched refs:CoverageMode (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/src/gpu/ops/ |
D | QuadPerEdgeAA.cpp | 32 using CoverageMode = skgpu::v1::QuadPerEdgeAA::CoverageMode; typedef 49 CoverageMode mode = spec.coverageMode(); in write_quad_generic() 56 << If(mode == CoverageMode::kWithPosition, coverage[i]); in write_quad_generic() 61 *vb << GrVertexColor(color * (mode == CoverageMode::kWithColor ? coverage[i] : 1.f), in write_quad_generic() 100 SkASSERT(spec.coverageMode() == CoverageMode::kNone || in write_2d_color() 101 spec.coverageMode() == CoverageMode::kWithColor); in write_2d_color() 112 SkASSERT(spec.coverageMode() == CoverageMode::kWithColor || coverage[i] == 1.f); in write_2d_color() 132 SkASSERT(spec.coverageMode() == CoverageMode::kNone); in write_2d_uv() 159 SkASSERT(spec.coverageMode() == CoverageMode::kNone || in write_2d_color_uv() 160 spec.coverageMode() == CoverageMode::kWithColor); in write_2d_color_uv() [all …]
|
D | QuadPerEdgeAA.h | 31 enum class CoverageMode { kNone, kWithPosition, kWithColor }; enum 100 CoverageMode coverageMode() const;
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCPathProcessor.h | 52 enum class CoverageMode : bool { enum 57 static CoverageMode GetCoverageMode(GrCCAtlas::CoverageType coverageType) { in GetCoverageMode() 59 ? CoverageMode::kCoverageCount in GetCoverageMode() 60 : CoverageMode::kLiteral; in GetCoverageMode() 64 CoverageMode, const GrTexture* atlasTexture, const GrSwizzle&, 81 const CoverageMode fCoverageMode;
|
D | GrCCDrawPathsOp.h | 88 GrCCPathProcessor::CoverageMode, GrTextureProxy* atlasProxy, int instanceIdx); 138 GrCCPathProcessor::CoverageMode fCoverageMode;
|
D | GrCCPathProcessor.cpp | 82 GrCCPathProcessor::GrCCPathProcessor(CoverageMode coverageMode, const GrTexture* atlasTexture, in GrCCPathProcessor() 154 bool isCoverageCount = (CoverageMode::kCoverageCount == proc.fCoverageMode); in onEmitCode()
|
D | GrCCDrawPathsOp.cpp | 405 GrCCPathProcessor::CoverageMode coverageMode, GrTextureProxy* atlasProxy, int instanceIdx) { in recordInstance()
|
/third_party/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 245 , fCoverageMode(CoverageMode::kArea) { in DegenerateQuadSample() 306 if (fCoverageMode == CoverageMode::kArea) { in onDrawContent() 308 } else if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent() 312 SkASSERT(fCoverageMode == CoverageMode::kGPUMesh); in onDrawContent() 333 if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent() 350 if (fCoverageMode == CoverageMode::kGPUMesh) { in onDrawContent() 397 enum class CoverageMode { enum in DegenerateQuadSample 404 CoverageMode fCoverageMode; 519 fCoverageMode = CoverageMode::kArea; in onChar() 522 fCoverageMode = CoverageMode::kEdgeDistance; in onChar() [all …]
|
/third_party/flutter/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 239 , fCoverageMode(CoverageMode::kArea) { in DegenerateQuadSample() 300 if (fCoverageMode == CoverageMode::kArea) { in onDrawContent() 302 } else if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent() 306 SkASSERT(fCoverageMode == CoverageMode::kGPUMesh); in onDrawContent() 327 if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent() 344 if (fCoverageMode == CoverageMode::kGPUMesh) { in onDrawContent() 391 enum class CoverageMode { enum in DegenerateQuadSample 398 CoverageMode fCoverageMode; 512 fCoverageMode = CoverageMode::kArea; in onChar() 515 fCoverageMode = CoverageMode::kEdgeDistance; in onChar() [all …]
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 641 enum class CoverageMode { enum 647 static CoverageMode get_mode_for_spec(const GrQuadPerEdgeAA::VertexSpec& spec) { in get_mode_for_spec() 654 return CoverageMode::kWithColor; in get_mode_for_spec() 656 return CoverageMode::kWithPosition; in get_mode_for_spec() 659 return CoverageMode::kNone; in get_mode_for_spec() 666 CoverageMode mode, const V4f& coverage, SkPMColor4f color4f, in write_quad() 675 If(mode == CoverageMode::kWithPosition, coverage[i])); in write_quad() 681 color4f * (mode == CoverageMode::kWithColor ? coverage[i] : 1.f), wide)); in write_quad() 748 CoverageMode mode = get_mode_for_spec(spec); in Tessellate() 766 SkASSERT(mode == CoverageMode::kWithPosition || mode == CoverageMode::kWithColor); in Tessellate() [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrTestUtils.h | 133 enum CoverageMode { in GrRandomCoverage() enum 140 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in GrRandomCoverage()
|
/third_party/skia/src/gpu/ |
D | GrTestUtils.cpp | 392 enum CoverageMode { in RandomCoverage() enum 399 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in RandomCoverage()
|