Home
last modified time | relevance | path

Searched refs:srcCoverage (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp92 const char* srcCoverage, in DefaultCoverageModulation() argument
98 if (srcCoverage) { in DefaultCoverageModulation()
99 fragBuilder->codeAppendf("%s *= %s;", outColor, srcCoverage); in DefaultCoverageModulation()
100 fragBuilder->codeAppendf("%s = %s;", outColorSecondary, srcCoverage); in DefaultCoverageModulation()
104 } else if (srcCoverage) { in DefaultCoverageModulation()
106 outColor, srcCoverage, outColor, srcCoverage, dstColor); in DefaultCoverageModulation()
DGrGLSLXferProcessor.h76 const char* srcCoverage,
100 const char* srcCoverage, in emitBlendCodeForDstRead() argument
/external/skia/src/effects/
DSkAvoidXfermode.cpp248 const char* srcCoverage, in add_avoid_code() argument
265 if (srcCoverage) { in add_avoid_code()
266 fragBuilder->codeAppendf("%s *= %s;", kCoverageName, srcCoverage); in add_avoid_code()
409 const char* srcCoverage, in emitBlendCodeForDstRead() argument
425 dstColor, srcCoverage, in emitBlendCodeForDstRead()
DSkArithmeticMode_gpu.cpp200 const char* srcCoverage, in emitBlendCodeForDstRead() argument
213 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DSkPixelXorXfermode.cpp277 const char* srcCoverage, in emitBlendCodeForDstRead() argument
290 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp206 const char* srcCoverage, in emitBlendCodeForDstRead() argument
214 fragBuilder->codeAppendf("%s = 1.0 - %s;", outColor, srcCoverage); in emitBlendCodeForDstRead()
216 fragBuilder->codeAppendf("%s = %s;", outColor, srcCoverage); in emitBlendCodeForDstRead()
DGrCustomXfermode.cpp167 const char* srcCoverage, in emitBlendCodeForDstRead() argument
178 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
DGrPorterDuffXferProcessor.cpp552 const char* srcCoverage, in emitBlendCodeForDstRead() argument
562 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/tools/debugger/
DSkOverdrawMode.cpp184 const char* srcCoverage, in emitBlendCodeForDstRead() argument
192 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, in emitBlendCodeForDstRead()
/external/skia/src/core/
DSkXfermodeU64.cpp24 static Sk4f lerp_by_coverage(const Sk4f& src, const Sk4f& dst, uint8_t srcCoverage) { in lerp_by_coverage() argument
25 return dst + (src - dst) * Sk4f(srcCoverage * (1/255.0f)); in lerp_by_coverage()
DSkXfermode4f.cpp21 static Sk4f lerp(const Sk4f& src, const Sk4f& dst, uint8_t srcCoverage) { in lerp() argument
22 return dst + (src - dst) * Sk4f(srcCoverage * (1/255.0f)); in lerp()