Home
last modified time | relevance | path

Searched refs:kHalf_GrSLType (Results 1 – 25 of 57) sorted by relevance

123

/third_party/flutter/skia/src/gpu/effects/
DGrSRGBEffect.cpp23 GrShaderVar("x", kHalf_GrSLType), in emitCode()
27 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
36 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLBlend.cpp150 fsBuilder->emitFunction(kHalf_GrSLType, in add_lum_function()
159 GrShaderVar("alpha", kHalf_GrSLType), in add_lum_function()
194 fsBuilder->emitFunction(kHalf_GrSLType, in add_sat_function()
206 GrShaderVar("minComp", kHalf_GrSLType), in add_sat_function()
207 GrShaderVar("midComp", kHalf_GrSLType), in add_sat_function()
208 GrShaderVar("maxComp", kHalf_GrSLType), in add_sat_function()
209 GrShaderVar("sat", kHalf_GrSLType), in add_sat_function()
DGrGLSLColorSpaceXformHelper.h32 fSrcTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
DGrGLSL.cpp15 case kHalf_GrSLType: in GrGLSLTypeString()
DGrGLSLShaderBuilder.cpp116 const GrShaderVar gTFArgs[] = { GrShaderVar("x", kHalf_GrSLType) }; in appendColorGamutXform()
131 this->emitFunction(kHalf_GrSLType, name, SK_ARRAY_COUNT(gTFArgs), gTFArgs, body.c_str(), in appendColorGamutXform()
/third_party/flutter/skia/src/effects/
DSkHighContrastFilter.cpp243 fContrastUni = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
303 GrShaderVar("p", kHalf_GrSLType), in emitCode()
304 GrShaderVar("q", kHalf_GrSLType), in emitCode()
305 GrShaderVar("t", kHalf_GrSLType), in emitCode()
307 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
/third_party/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h31 fSrcTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
DGrGLSL.cpp33 case kHalf_GrSLType: return "half"; in GrGLSLTypeString()
/third_party/flutter/skia/src/shaders/
DSkPerlinNoiseShader.cpp877 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
882 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
1009 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1013 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1263 fZUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "z"); in emitCode()
1278 GrShaderVar("x", kHalf_GrSLType) in emitCode()
1287 fragBuilder->emitFunction(kHalf_GrSLType, "perm", SK_ARRAY_COUNT(permArgs), permArgs, in emitCode()
1292 GrShaderVar("x", kHalf_GrSLType), in emitCode()
1300 fragBuilder->emitFunction(kHalf_GrSLType, "grad", SK_ARRAY_COUNT(gradArgs), gradArgs, in emitCode()
1305 GrShaderVar("a", kHalf_GrSLType), in emitCode()
[all …]
/third_party/flutter/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1741 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1747 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1748 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1749 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1750 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1751 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1752 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1753 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1758 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1765 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1769 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1775 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1776 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1777 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1778 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1779 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1780 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1781 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1785 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1790 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp26 fCoverages.reset(kHalf_GrSLType, scope); in onEmitVaryings()
38 if (kHalf_GrSLType == fCoverages.type()) { in emitFragmentCoverageCode()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrAlphaThresholdFragmentProcessor.cpp40 innerThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
42 outerThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
DGrRRectBlurEffect.cpp71 cornerRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
75 blurRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrSweepGradientLayout.cpp32 biasVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "bias"); in emitCode()
34 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "scale"); in emitCode()
/third_party/skia/src/gpu/
DGrUniformDataManager.cpp38 case kHalf_GrSLType: in copyUniforms()
119 this->set<1, kFloat_GrSLType, kHalf_GrSLType>(u, &v0); in set1f()
125 this->setv<1, kFloat_GrSLType, kHalf_GrSLType>(u, arrayCount, v); in set1fv()
DGrSPIRVVaryingHandler.cpp20 case kHalf_GrSLType: in grsltype_to_location_size()
DGrSPIRVUniformHandler.cpp55 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
112 case kHalf_GrSLType: // fall through in grsltype_to_size()
/third_party/skia/src/gpu/vk/
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
/third_party/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.cpp51 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
133 case kHalf_GrSLType: // fall through in grsltype_to_vk_size()
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
DGrDawnUniformHandler.cpp57 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
134 case kHalf_GrSLType: // fall through in grsltype_to_size()
/third_party/skia/include/private/
DGrTypesPriv.h315 kHalf_GrSLType, enumerator
381 case kHalf_GrSLType: in SK_MAKE_BITFIELD_OPS()
450 case kHalf_GrSLType: in GrSLTypeIsIntegralType()
485 case kHalf_GrSLType: in GrSLTypeVecLength()
582 case kHalf_GrSLType: in GrSLTypeIsCombinedSamplerType()
/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp209 kHalf_GrSLType, "KernelBias"); in emitCode()
216 fGainUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode()
217 fBiasUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode()

123