Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp91 fragBuilder->codeAppendf("%s = sum * %s + %s;", args.fOutputColor, gain, bias); in emitCode()
93 args.fOutputColor, args.fOutputColor, args.fOutputColor); in emitCode()
102 fragBuilder->codeAppendf("%s.a = c.a;", args.fOutputColor); in emitCode()
103 fragBuilder->codeAppendf("%s.rgb = sum.rgb * %s + %s;", args.fOutputColor, gain, bias); in emitCode()
104 fragBuilder->codeAppendf("%s.rgb *= %s.a;", args.fOutputColor, args.fOutputColor); in emitCode()
108 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
DGrBitmapTextGeoProc.cpp46 varyingHandler->addPassThroughAttribute(cte.inColor(), args.fOutputColor); in onEmitCode()
48 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
67 fragBuilder->codeAppendf("%s = ", args.fOutputColor); in onEmitCode()
68 fragBuilder->appendTextureLookupAndModulate(args.fOutputColor, in onEmitCode()
DGrConstColorProcessor.cpp32 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, colorUni); in emitCode()
35 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputColor, args.fInputColor, in emitCode()
39 fragBuilder->codeAppendf("%s = %s.a * %s;", args.fOutputColor, args.fInputColor, in emitCode()
DGrXfermodeFragmentProcessor.cpp112 args.fOutputColor, in emitCode()
117 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in emitCode()
249 GrGLSLBlend::AppendMode(fragBuilder, inputColor, childStr, args.fOutputColor, mode); in emitCode()
251 GrGLSLBlend::AppendMode(fragBuilder, childStr, inputColor, args.fOutputColor, mode); in emitCode()
DGrYUVEffect.cpp108 fragBuilder->codeAppendf("%s = vec4(", args.fOutputColor); in emitCode()
245 args.fOutputColor, uniName, uniName, uniName, uniName, in emitCode()
257 args.fOutputColor, uniName, uniName, uniName, uniName); in emitCode()
267 args.fOutputColor, uniName, uniName); in emitCode()
DGrConvolutionEffect.cpp56 fragBuilder->codeAppendf("%s = vec4(0, 0, 0, 0);", args.fOutputColor); in emitCode()
79 fragBuilder->codeAppendf("\t\t%s += ", args.fOutputColor); in emitCode()
89 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
DGrConfigConversionEffect.cpp40 fragBuilder->codeAppendf("%s = %s.%s;", args.fOutputColor, tmpVar.c_str(), in emitCode()
75 fragBuilder->codeAppendf("%s = %s.%s;", args.fOutputColor, tmpVar.c_str(), in emitCode()
79 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
DGrDitherEffect.cpp84 args.fOutputColor, GrGLSLExpr4(args.fInputColor).c_str()); in emitCode()
DGrSimpleTextureEffect.cpp18 fragBuilder->codeAppendf("%s = ", args.fOutputColor); in emitCode()
DGrConvexPolyEffect.cpp137 fragBuilder->codeAppendf("\t\t%s = %s;\n", args.fOutputColor, in emitCode()
215 fragBuilder->codeAppendf("\t%s = %s;\n", args.fOutputColor, in emitCode()
DGrOvalEffect.cpp144 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, in emitCode()
341 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentProcessor.h67 , fOutputColor(outputColor) in EmitArgs()
75 const char* fOutputColor; member
DGrGLSLPrimitiveProcessor.h54 , fOutputColor(outputColor) in EmitArgs()
65 const char* fOutputColor; member
DGrGLSLFragmentProcessor.cpp24 this->internalEmitChild(childIndex, inputColor, args.fOutputColor, args); in emitChild()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp922 fsBuilder->codeAppendf("\n\t\t%s = vec4(0.0);", args.fOutputColor); in emitCode()
934 fsBuilder->codeAppendf("\n\t\t\t%s += ", args.fOutputColor); in emitCode()
972 args.fOutputColor,args.fOutputColor); in emitCode()
976 fsBuilder->codeAppendf("\n\t\t%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode()
980 args.fOutputColor, args.fOutputColor, in emitCode()
981 args.fOutputColor, args.fOutputColor); in emitCode()
1268 fsBuilder->codeAppendf("%s = vec4(r, g, b, a);", args.fOutputColor); in emitCode()
1271 fsBuilder->codeAppendf("%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode()
1275 args.fOutputColor, args.fOutputColor, in emitCode()
1276 args.fOutputColor, args.fOutputColor); in emitCode()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp277 args.fOutputColor, in emitCode()
282 args.fOutputColor, args.fOutputColor); in emitCode()
283 fragBuilder->codeAppendf("\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
/external/skia/src/effects/
DSkTableColorFilter.cpp437 fragBuilder->codeAppendf("\t\t%s.a = ", args.fOutputColor); in emitCode()
442 fragBuilder->codeAppendf("\t\t%s.r = ", args.fOutputColor); in emitCode()
447 fragBuilder->codeAppendf("\t\t%s.g = ", args.fOutputColor); in emitCode()
452 fragBuilder->codeAppendf("\t\t%s.b = ", args.fOutputColor); in emitCode()
457 fragBuilder->codeAppendf("\t\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
DSkPerlinNoiseShader.cpp784 fragBuilder->codeAppendf("\n\t\t%s = vec4(0.0);", args.fOutputColor); in emitCode()
796 fragBuilder->codeAppendf("%s += ", args.fOutputColor); in emitCode()
834 args.fOutputColor,args.fOutputColor); in emitCode()
838 … fragBuilder->codeAppendf("\n\t\t%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode()
842 args.fOutputColor, args.fOutputColor, in emitCode()
843 args.fOutputColor, args.fOutputColor); in emitCode()
DSkMorphologyImageFilter.cpp289 fragBuilder->codeAppendf("\t\t%s = vec4(1, 1, 1, 1);\n", args.fOutputColor); in emitCode()
293 fragBuilder->codeAppendf("\t\t%s = vec4(0, 0, 0, 0);\n", args.fOutputColor); in emitCode()
329 fragBuilder->codeAppendf("\t\t\t%s = %s(%s, ", args.fOutputColor, func, args.fOutputColor); in emitCode()
340 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
DSkLumaColorFilter.cpp79 args.fOutputColor); in emitCode()
DSkMagnifierImageFilter.cpp161 fragBuilder->codeAppendf("\t\t%s = output_color;", args.fOutputColor); in emitCode()
163 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp262 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode()
281 args.fOutputColor, in emitCode()
532 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode()
555 args.fOutputColor, in emitCode()
746 args.fOutputColor, in emitCode()
1013 args.fOutputColor, in emitCode()
1233 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode()
1266 args.fOutputColor, in emitCode()
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp78 varyingHandler->addPassThroughAttribute(gp.inColor(), args.fOutputColor); in onEmitCode()
80 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
DGrFragmentProcessor.cpp158 fragBuilder->codeAppendf("%s.rgb *= %s.rgb;", args.fOutputColor, in MulOutputByInputUnpremulColor()
160 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in MulOutputByInputUnpremulColor()
/external/skia/tests/
DGLProgramsTest.cpp52 fragBuilder->codeAppendf("%s = %s;\n", args.fOutputColor, args.fInputColor); in emitCode()
54 fragBuilder->codeAppendf("%s = vec4(1.0);\n", args.fOutputColor); in emitCode()

12