Home
last modified time | relevance | path

Searched refs:fOutputColor (Results 1 – 25 of 99) sorted by relevance

1234

/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.cpp35 args.fOutputColor, args.fInputColor, (int)_outer.pmConversion(), args.fOutputColor, in emitCode()
36 args.fOutputColor, args.fOutputColor, args.fOutputColor, args.fOutputColor, in emitCode()
37 args.fOutputColor, args.fOutputColor); in emitCode()
DGrMatrixConvolutionEffect.cpp96 fragBuilder->codeAppendf("%s = sum * %s + %s;", args.fOutputColor, gain, bias); in emitCode()
97 fragBuilder->codeAppendf("%s.a = saturate(%s.a);", args.fOutputColor, args.fOutputColor); in emitCode()
99 args.fOutputColor, args.fOutputColor, args.fOutputColor); in emitCode()
108 fragBuilder->codeAppendf("%s.a = c.a;", args.fOutputColor); in emitCode()
109 … fragBuilder->codeAppendf("%s.rgb = saturate(sum.rgb * %s + %s);", args.fOutputColor, gain, bias); in emitCode()
110 fragBuilder->codeAppendf("%s.rgb *= %s.a;", args.fOutputColor, args.fOutputColor); in emitCode()
112 fragBuilder->codeAppendf("%s *= %s;\n", args.fOutputColor, args.fInputColor); in emitCode()
DGrConstColorProcessor.cpp35 (int)_outer.mode(), args.fOutputColor, in emitCode()
36 args.fUniformHandler->getUniformCStr(fColorVar), args.fOutputColor, in emitCode()
38 args.fOutputColor, args.fInputColor, in emitCode()
DGrPremulInputFragmentProcessor.cpp26 fragBuilder->codeAppendf("%s = %s;\n%s.xyz *= %s.w;\n", args.fOutputColor, args.fInputColor, in emitCode()
27 args.fOutputColor, args.fInputColor); in emitCode()
DGrBitmapTextGeoProc.cpp51 varyingHandler->addPassThroughAttribute(btgp.inColor(), args.fOutputColor); in onEmitCode()
53 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
74 fragBuilder->codeAppendf("%s = %s * texColor;", args.fOutputColor, args.fOutputColor); in onEmitCode()
DGrGaussianConvolutionFragmentProcessor.cpp61 fragBuilder->codeAppendf("%s = half4(0, 0, 0, 0);", args.fOutputColor); in emitCode()
108 fragBuilder->codeAppendf("%s += ", args.fOutputColor); in emitCode()
116 fragBuilder->codeAppendf("%s *= %s;\n", args.fOutputColor, args.fInputColor); in emitCode()
DGrXfermodeFragmentProcessor.cpp235 args.fOutputColor, in emitCode()
240 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in emitCode()
457 … GrGLSLBlend::AppendMode(fragBuilder, args.fInputColor, childStr, args.fOutputColor, mode); in emitCode()
459 … GrGLSLBlend::AppendMode(fragBuilder, childStr, args.fInputColor, args.fOutputColor, mode); in emitCode()
DGrLumaColorFilterEffect.cpp28 args.fInputColor, args.fOutputColor); in emitCode()
DGrRectBlurEffect.cpp78 args.fOutputColor, args.fInputColor, args.fUniformHandler->getUniformCStr(fRectVar), in emitCode()
100 args.fOutputColor, args.fInputColor); in emitCode()
DGrBlurredEdgeFragmentProcessor.cpp34 args.fInputColor, (int)_outer.mode(), args.fOutputColor); in emitCode()
/external/skqp/src/gpu/gradients/
DGrClampedGradientEffect.cpp45 args.fOutputColor, args.fOutputColor, in emitCode()
46 args.fUniformHandler->getUniformCStr(fLeftBorderColorVar), args.fOutputColor, in emitCode()
52 args.fOutputColor, _child0.c_str(), in emitCode()
53 (_outer.makePremul() ? "true" : "false"), args.fOutputColor, in emitCode()
54 args.fOutputColor); in emitCode()
DGrTiledGradientEffect.cpp43 args.fOutputColor, (_outer.mirror() ? "true" : "false")); in emitCode()
48 args.fOutputColor, _child0.c_str(), in emitCode()
49 (_outer.makePremul() ? "true" : "false"), args.fOutputColor, in emitCode()
50 args.fOutputColor); in emitCode()
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp48 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
50 varyingHandler->addPassThroughAttribute(btgp.inColor(), args.fOutputColor); in onEmitCode()
52 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
72 fragBuilder->codeAppendf("%s = %s * texColor;", args.fOutputColor, args.fOutputColor); in onEmitCode()
DGrShadowGeoProc.cpp33 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
34 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
DGrBezierEffect.cpp80 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
81 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
291 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
292 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
DGrDistanceFieldGeoProc.cpp56 fragBuilder->codeAppendf("half4 %s;\n", args.fOutputColor); in onEmitCode()
57 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
351 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
352 varyingHandler->addPassThroughAttribute(dfPathEffect.inColor(), args.fOutputColor); in onEmitCode()
620 fragBuilder->codeAppendf("half4 %s;\n", args.fOutputColor); in onEmitCode()
621 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
/external/skqp/src/core/
DSkColorMatrixFilterRowMajor255.cpp215 args.fOutputColor, in emitCode()
220 args.fOutputColor, args.fOutputColor); in emitCode()
221 fragBuilder->codeAppendf("\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
/external/skqp/src/effects/
DSkTableColorFilter.cpp363 fragBuilder->codeAppendf("\t\t%s.a = ", args.fOutputColor); in emitCode()
368 fragBuilder->codeAppendf("\t\t%s.r = ", args.fOutputColor); in emitCode()
373 fragBuilder->codeAppendf("\t\t%s.g = ", args.fOutputColor); in emitCode()
378 fragBuilder->codeAppendf("\t\t%s.b = ", args.fOutputColor); in emitCode()
383 fragBuilder->codeAppendf("\t\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp1022 fragBuilder->codeAppendf("\n\t\t%s = half4(0.0);", args.fOutputColor); in emitCode()
1034 fragBuilder->codeAppendf("\n\t\t\t%s += ", args.fOutputColor); in emitCode()
1072 args.fOutputColor,args.fOutputColor); in emitCode()
1076 fragBuilder->codeAppendf("\n\t\t%s = saturate(%s);", args.fOutputColor, args.fOutputColor); in emitCode()
1080 args.fOutputColor, args.fOutputColor, in emitCode()
1081 args.fOutputColor, args.fOutputColor); in emitCode()
1375 fragBuilder->codeAppendf("%s = half4(r, g, b, a);", args.fOutputColor); in emitCode()
1378 fragBuilder->codeAppendf("%s = saturate(%s);", args.fOutputColor, args.fOutputColor); in emitCode()
1382 args.fOutputColor, args.fOutputColor, in emitCode()
1383 args.fOutputColor, args.fOutputColor); in emitCode()
/external/skqp/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.h86 , fOutputColor(outputColor) in EmitArgs()
98 const char* fOutputColor; member
DGrGLSLFragmentProcessor.h113 , fOutputColor(outputColor) in EmitArgs()
121 const char* fOutputColor; member
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.h87 , fOutputColor(outputColor) in EmitArgs()
98 const char* fOutputColor; member
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp80 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
103 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, varying.fsIn()); in onEmitCode()
105 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
/external/skia/src/gpu/tessellate/
DGrStrokeTessellateShader.cpp393 args.fFragBuilder->codeAppendf("half4 %s = %s;", args.fOutputColor, colorUniformName); in onEmitCode()
400 args.fFragBuilder->codeAppendf("half4 %s = tesColor;", args.fOutputColor); in onEmitCode()
1260 args.fFragBuilder->codeAppendf("half4 %s = %s;", args.fOutputColor, colorUniformName); in onEmitCode()
1263 args.fFragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
1265 shader.fAttribs.back(), args.fOutputColor, in onEmitCode()
/external/skqp/src/gpu/
DGrColorSpaceXform.cpp73 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputColor, xformedColor.c_str(), in emitCode()
78 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, xformedColor.c_str()); in emitCode()

1234