Home
last modified time | relevance | path

Searched refs:kHalf4_GrSLType (Results 1 – 25 of 101) sorted by relevance

12345

/external/skia/tests/sksl/fp/
DGrNestedCall.cpp28 fragBuilder->emitFunctionPrototype(kHalf4_GrSLType, func1_name.c_str(), {func1_args, 0}); in emitCode()
29 fragBuilder->emitFunctionPrototype(kHalf4_GrSLType, func2_name.c_str(), {func2_args, 0}); in emitCode()
30 fragBuilder->emitFunctionPrototype(kHalf4_GrSLType, func3_name.c_str(), {func3_args, 0}); in emitCode()
34 …fragBuilder->emitFunction(kHalf4_GrSLType, func1_name.c_str(), {func1_args, 0}, func1_impl.c_str()… in emitCode()
38 …fragBuilder->emitFunction(kHalf4_GrSLType, func2_name.c_str(), {func2_args, 0}, func2_impl.c_str()… in emitCode()
DGrFunction.cpp22 …rVar = args.fUniformHandler->addUniform(&_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "color"); in emitCode()
24 const GrShaderVar flip_args[] = { GrShaderVar("c", kHalf4_GrSLType) }; in emitCode()
25 fragBuilder->emitFunction(kHalf4_GrSLType, flip_name.c_str(), {flip_args, 1}, in emitCode()
DGrUniform.cpp22 …rVar = args.fUniformHandler->addUniform(&_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "color"); in emitCode()
DGrInlinedFunction.cpp22 …rVar = args.fUniformHandler->addUniform(&_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "color"); in emitCode()
DGrChildProcessorWithInputExpression.cpp22 …rVar = args.fUniformHandler->addUniform(&_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "color"); in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp44 GrShaderVar params[] = { GrShaderVar(args.fInputColor, kHalf4_GrSLType), in writeProcessorFunction()
79 this->emitFunction(kHalf4_GrSLType, funcName.c_str(), {params, paramCount}, in writeProcessorFunction()
121 fCustomColorOutput = &fOutputs.emplace_back(DeclaredColorOutputName(), kHalf4_GrSLType, in enableCustomOutput()
140 fOutputs.emplace_back(DeclaredSecondaryColorOutputName(), kHalf4_GrSLType, in enableSecondaryOutput()
DGrGLSLShaderBuilder.cpp221 const GrShaderVar gGamutXformArgs[] = { GrShaderVar("color", kHalf4_GrSLType) }; in appendColorGamutXform()
227 this->emitFunction(kHalf4_GrSLType, gamutXformFuncName.c_str(), in appendColorGamutXform()
240 GrShaderVar("color", useFloat ? kFloat4_GrSLType : kHalf4_GrSLType)}; in appendColorGamutXform()
263 this->emitFunction(kHalf4_GrSLType, colorXformFuncName.c_str(), in appendColorGamutXform()
DGrGLSL.cpp44 case kHalf4_GrSLType: return "half4"; in GrGLSLTypeString()
/external/skia/src/gpu/effects/generated/
DGrClampFragmentProcessor.cpp30 const GrShaderVar clampedPM_args[] = {GrShaderVar("inputColor", kHalf4_GrSLType)}; in emitCode()
31 fragBuilder->emitFunction(kHalf4_GrSLType, in emitCode()
/external/skqp/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp149 const GrShaderVar gGamutXformArgs[] = { GrShaderVar("color", kHalf4_GrSLType) }; in appendColorGamutXform()
154 this->emitFunction(kHalf4_GrSLType, "gamut_xform", SK_ARRAY_COUNT(gGamutXformArgs), in appendColorGamutXform()
160 const GrShaderVar gColorXformArgs[] = { GrShaderVar("color", kHalf4_GrSLType) }; in appendColorGamutXform()
184 this->emitFunction(kHalf4_GrSLType, "color_xform", SK_ARRAY_COUNT(gColorXformArgs), in appendColorGamutXform()
DGrGLSLFragmentShaderBuilder.cpp139 fOutputs.push_back().set(kHalf4_GrSLType, DeclaredColorOutputName(), in enableCustomOutput()
158 fOutputs.push_back().set(kHalf4_GrSLType, DeclaredSecondaryColorOutputName(), in enableSecondaryOutput()
DGrGLSL.cpp21 case kHalf4_GrSLType: in GrGLSLTypeString()
/external/skqp/src/gpu/gradients/
DGrSingleIntervalGradientColorizer.cpp30 fStartVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
32 fEndVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
DGrClampedGradientEffect.cpp34 kFragment_GrShaderFlag, kHalf4_GrSLType, kDefault_GrSLPrecision, "leftBorderColor"); in emitCode()
36 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
/external/skia/src/gpu/gradients/generated/
DGrSingleIntervalGradientColorizer.cpp33 &_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "start"); in emitCode()
35 &_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "end"); in emitCode()
DGrClampedGradientEffect.cpp38 &_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "leftBorderColor"); in emitCode()
40 &_outer, kFragment_GrShaderFlag, kHalf4_GrSLType, "rightBorderColor"); in emitCode()
/external/skqp/bench/
DVertexColorSpaceBench.cpp46 fInColor = {"inColor", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType}; in GP()
49 fInColor = {"inColor", kFloat4_GrVertexAttribType, kHalf4_GrSLType}; in GP()
52 fInColor = {"inColor", kHalf4_GrVertexAttribType, kHalf4_GrSLType}; in GP()
72 GrGLSLVarying varying(kHalf4_GrSLType); in createGLSLInstance()
/external/skia/src/gpu/effects/
DGrBezierEffect.h107 {"inConicCoeffs", kFloat4_GrVertexAttribType, kHalf4_GrSLType}
175 {"inHairQuadEdge", kFloat4_GrVertexAttribType, kHalf4_GrSLType}
/external/skia/bench/
DVertexColorSpaceBench.cpp61 GrGLSLVarying varying(kHalf4_GrSLType); in createGLSLInstance()
109 fInColor = {"inColor", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType}; in GP()
112 fInColor = {"inColor", kFloat4_GrVertexAttribType, kHalf4_GrSLType}; in GP()
115 fInColor = {"inColor", kHalf4_GrVertexAttribType, kHalf4_GrSLType}; in GP()
/external/skqp/src/gpu/effects/
DGrBezierEffect.h123 {"inConicCoeffs", kFloat4_GrVertexAttribType, kHalf4_GrSLType}
208 {"inHairQuadEdge", kFloat4_GrVertexAttribType, kHalf4_GrSLType}
/external/skqp/src/gpu/
DGrGeometryProcessor.h36 kHalf4_GrSLType }; in MakeColorAttribute()
DGrDefaultGeoProcFactory.cpp92 GrGLSLVarying varying(kHalf4_GrSLType); in onEmitCode()
102 kHalf4_GrSLType, in onEmitCode()
362 indicesGPUType = kHalf4_GrSLType; in DefaultGeoProc()
366 kHalf4_GrSLType}; in DefaultGeoProc()
/external/skqp/include/private/
DGrTypesPriv.h371 kHalf4_GrSLType, enumerator
453 case kHalf4_GrSLType: in GrSLTypeIsFloatType()
526 case kHalf4_GrSLType: in GrSLTypeVecLength()
595 case kHalf4_GrSLType: in GrSLTypeIsCombinedSamplerType()
663 case kHalf4_GrSLType: in GrSLTypeAcceptsPrecision()
695 case kHalf4_GrSLType: in GrSLTypeTemporarilyAcceptsPrecision()
/external/skia/src/gpu/tessellate/
DGrDrawAtlasPathOp.cpp23 {"color", kFloat4_GrVertexAttribType, kHalf4_GrSLType},
65 GrGLSLVarying color(kHalf4_GrSLType); in onEmitCode()
/external/skqp/src/gpu/vk/
DGrVkVaryingHandler.cpp26 case kHalf4_GrSLType: in grsltype_to_location_size()

12345