Home
last modified time | relevance | path

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

123

/external/skqp/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()
DGrAlphaThresholdFragmentProcessor.cpp41 kFragment_GrShaderFlag, kHalf_GrSLType, kDefault_GrSLPrecision, "innerThreshold"); in emitCode()
43 kFragment_GrShaderFlag, kHalf_GrSLType, kDefault_GrSLPrecision, "outerThreshold"); in emitCode()
/external/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()
/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp150 fsBuilder->emitFunction(kHalf_GrSLType, in add_lum_function()
159 GrShaderVar("alpha", kHalf_GrSLType), in add_lum_function()
195 fsBuilder->emitFunction(kHalf_GrSLType, in add_sat_function()
207 GrShaderVar("minComp", kHalf_GrSLType), in add_sat_function()
208 GrShaderVar("midComp", kHalf_GrSLType), in add_sat_function()
209 GrShaderVar("maxComp", kHalf_GrSLType), in add_sat_function()
210 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()
/external/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()
/external/skqp/src/effects/
DSkHighContrastFilter.cpp242 fContrastUni = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
302 GrShaderVar("p", kHalf_GrSLType), in emitCode()
303 GrShaderVar("q", kHalf_GrSLType), in emitCode()
304 GrShaderVar("t", kHalf_GrSLType), in emitCode()
306 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h31 fSrcTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
DGrGLSL.cpp15 case kHalf_GrSLType: in GrGLSLTypeString()
/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp876 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
881 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
1002 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1006 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1256 fZUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "z"); in emitCode()
1271 GrShaderVar("x", kHalf_GrSLType) in emitCode()
1280 fragBuilder->emitFunction(kHalf_GrSLType, "perm", SK_ARRAY_COUNT(permArgs), permArgs, in emitCode()
1285 GrShaderVar("x", kHalf_GrSLType), in emitCode()
1293 fragBuilder->emitFunction(kHalf_GrSLType, "grad", SK_ARRAY_COUNT(gradArgs), gradArgs, in emitCode()
1298 GrShaderVar("a", kHalf_GrSLType), in emitCode()
[all …]
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp876 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
881 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
1008 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1012 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1262 fZUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "z"); in emitCode()
1277 GrShaderVar("x", kHalf_GrSLType) in emitCode()
1286 fragBuilder->emitFunction(kHalf_GrSLType, "perm", SK_ARRAY_COUNT(permArgs), permArgs, in emitCode()
1291 GrShaderVar("x", kHalf_GrSLType), in emitCode()
1299 fragBuilder->emitFunction(kHalf_GrSLType, "grad", SK_ARRAY_COUNT(gradArgs), gradArgs, in emitCode()
1304 GrShaderVar("a", kHalf_GrSLType), in emitCode()
[all …]
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1742 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1748 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1749 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1750 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1751 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1752 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1753 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1754 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1759 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1766 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp1819 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1825 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1826 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1827 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1828 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1829 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1830 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1831 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1836 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1843 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/external/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()
/external/skqp/src/gpu/gradients/
DGrSweepGradientLayout.cpp31 fBiasVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
33 fScaleVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
/external/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()
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp26 fCoverages.reset(kHalf_GrSLType, scope); in onEmitVaryings()
38 if (kHalf_GrSLType == fCoverages.type()) { in emitFragmentCoverageCode()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp25 fCoverages.reset(kHalf_GrSLType, scope); in onEmitVaryings()
36 if (kHalf_GrSLType == fCoverages.type()) { in onEmitFragmentCode()
/external/skqp/include/private/
DGrTypesPriv.h368 kHalf_GrSLType, enumerator
450 case kHalf_GrSLType: in GrSLTypeIsFloatType()
496 case kHalf_GrSLType: in GrSLTypeVecLength()
592 case kHalf_GrSLType: in GrSLTypeIsCombinedSamplerType()
660 case kHalf_GrSLType: in GrSLTypeAcceptsPrecision()
692 case kHalf_GrSLType: in GrSLTypeTemporarilyAcceptsPrecision()
/external/skia/src/gpu/dawn/
DGrDawnVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
/external/skia/src/gpu/vk/
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
DGrVkUniformHandler.cpp51 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
133 case kHalf_GrSLType: // fall through in grsltype_to_vk_size()
/external/skqp/src/gpu/vk/
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()

123