Home
last modified time | relevance | path

Searched refs:fCoverage (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp53 key |= fCoverage == 0xff ? 0x80 : 0; in addToKey()
88 if (dgp.fCoverage != fCoverage && !dgp.hasVertexCoverage()) { in setData()
89 pdman.set1f(fCoverageUniform, GrNormalizeByteToFloat(dgp.fCoverage)); in setData()
90 fCoverage = dgp.fCoverage; in setData()
173 } else if (gp.fCoverage == 0xff) { in onEmitCode()
190 uint8_t fCoverage = 0xFF; member in DefaultGeoProc::Impl
211 , fCoverage(coverage) in DefaultGeoProc()
236 uint8_t fCoverage; member in DefaultGeoProc
302 uint8_t inCoverage = coverage.fCoverage; in Make()
DGrDefaultGeoProcFactory.h46 explicit Coverage(uint8_t coverage) : fType(kUniform_Type), fCoverage(coverage) {} in Coverage()
47 Coverage(Type type) : fType(type), fCoverage(0xff) { in Coverage()
52 uint8_t fCoverage; member
/third_party/flutter/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp57 uint8_t coverage() const { return fCoverage; } in coverage()
65 , fCoverage(0xff) {} in GLSLProcessor()
197 if (dgp.coverage() != fCoverage && !dgp.hasVertexCoverage()) { in setData()
199 fCoverage = dgp.coverage(); in setData()
209 uint8_t fCoverage; member in DefaultGeoProc::GLSLProcessor
239 , fCoverage(coverage) in DefaultGeoProc()
265 uint8_t fCoverage; member in DefaultGeoProc
330 uint8_t inCoverage = coverage.fCoverage; in Make()
DGrDefaultGeoProcFactory.h53 explicit Coverage(uint8_t coverage) : fType(kUniform_Type), fCoverage(coverage) {} in Coverage()
54 Coverage(Type type) : fType(type), fCoverage(0xff) { in Coverage()
59 uint8_t fCoverage; member
/third_party/flutter/skia/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp474 float fCoverage; member
672 (*vert)[0].fCoverage = floatCoverage; in add_line()
674 (*vert)[1].fCoverage = floatCoverage; in add_line()
683 (*vert)[0].fCoverage = floatCoverage * length; in add_line()
685 (*vert)[1].fCoverage = floatCoverage * length; in add_line()
691 (*vert)[2].fCoverage = 0; in add_line()
693 (*vert)[3].fCoverage = 0; in add_line()
695 (*vert)[4].fCoverage = 0; in add_line()
697 (*vert)[5].fCoverage = 0; in add_line()
816 , fCoverage(coverage) { in AAHairlineOp()
[all …]
DGrDefaultPathRenderer.cpp380 , fCoverage(coverage) in DefaultPathOp()
473 uint8_t coverage() const { return fCoverage; } in coverage()
485 uint8_t fCoverage; member in __anon30e8e0b30111::DefaultPathOp
DGrQuadPerEdgeAA.cpp1009 coverage.vsOut(), gp.fCoverage.name()); in createGLSLInstance()
1077 fCoverage = {"coverage", kFloat_GrVertexAttribType, kFloat_GrSLType}; in initializeAttrs()
1116 Attribute fCoverage; // Used for non-perspective position to avoid Intel Metal issues member in GrQuadPerEdgeAA::QuadPerEdgeAAGeometryProcessor
DGrFillRRectOp.cpp253 float fCoverage; member
/third_party/skia/src/gpu/ops/
DAAHairLinePathRenderer.cpp483 float fCoverage; member
705 (*vert)[0].fCoverage = floatCoverage; in add_line()
707 (*vert)[1].fCoverage = floatCoverage; in add_line()
716 (*vert)[0].fCoverage = floatCoverage * length; in add_line()
718 (*vert)[1].fCoverage = floatCoverage * length; in add_line()
724 (*vert)[2].fCoverage = 0; in add_line()
726 (*vert)[3].fCoverage = 0; in add_line()
728 (*vert)[4].fCoverage = 0; in add_line()
730 (*vert)[5].fCoverage = 0; in add_line()
787 , fCoverage(coverage) { in AAHairlineOp()
[all …]
DDefaultPathRenderer.cpp426 , fCoverage(coverage) in DefaultPathOp()
561 uint8_t coverage() const { return fCoverage; } in coverage()
573 uint8_t fCoverage; member in __anonc7ae49a50111::DefaultPathOp
DQuadPerEdgeAA.cpp780 coverage.vsOut(), gp.fCoverage.name()); in makeProgramImpl()
867 fCoverage = {"coverage", kFloat_GrVertexAttribType, kFloat_GrSLType}; in initializeAttrs()
904 Attribute fCoverage; // Used for non-perspective position to avoid Intel Metal issues member in skgpu::v1::QuadPerEdgeAA::QuadPerEdgeAAGeometryProcessor
DFillRRectOp.cpp394 float fCoverage; member
/third_party/flutter/skia/src/core/
DSkAutoBlitterChoose.h39 if (draw.fCoverage) {
41 SkBlitter* coverageBlitter = SkBlitter::Choose(*draw.fCoverage, *matrix, SkPaint(),
DSkBitmapDevice.h68 return fCoverage ? &fCoverage->pixmap() : nullptr; in accessCoverage()
165 std::unique_ptr<SkBitmap> fCoverage; // if non-null, will have the same dimensions as fBitmap variable
DSkDraw_text.cpp29 if (fCoverage) { in paintMasks()
32 SkBlitter::Choose(*fCoverage, *fMatrix, SkPaint(), &alloc, true)); in paintMasks()
DSkBitmapDevice.cpp120 fDraw.fCoverage = dev->accessCoverage(); in SkDrawTiler()
197 fCoverage = dev->accessCoverage(); in BDDraw()
245 fCoverage = skstd::make_unique<SkBitmap>(*coverage); in SkBitmapDevice()
564 if (src->fCoverage) { in drawDevice()
571 draw.drawBitmap(*src->fCoverage.get(), in drawDevice()
DSkDraw.h162 const SkPixmap* fCoverage{nullptr};
/third_party/skia/src/core/
DSkAutoBlitterChoose.h41 if (draw.fCoverage) {
44 SkBlitter::Choose(*draw.fCoverage, *matrixProvider, SkPaint(), &fAlloc, true,
DSkBitmapDevice.h68 return fCoverage ? &fCoverage->pixmap() : nullptr; in accessCoverage()
160 std::unique_ptr<SkBitmap> fCoverage; // if non-null, will have the same dimensions as fBitmap variable
DSkDraw_text.cpp44 if (fCoverage) { in paintMasks()
48 *fCoverage, *fMatrixProvider, SkPaint(), &alloc, true, fRC->clipShader())); in paintMasks()
DSkBitmapDevice.cpp119 fDraw.fCoverage = dev->accessCoverage(); in SkDrawTiler()
197 fCoverage = dev->accessCoverage(); in BDDraw()
245 fCoverage = std::make_unique<SkBitmap>(*coverage); in SkBitmapDevice()
574 if (src->fCoverage) { in drawDevice()
584 draw.drawBitmap(*src->fCoverage, SkMatrix::I(), nullptr, sampling, deviceAsShader); in drawDevice()
DSkDraw.h165 const SkPixmap* fCoverage{nullptr};