Home
last modified time | relevance | path

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

123

/external/skia/src/effects/
DSkOverdrawColorFilter.cpp130 fragBuilder->codeAppendf("%s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
138 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
144 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
150 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
156 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
162 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
168 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
DSkTableColorFilter.cpp462 fragBuilder->codeAppendf("\t\t%s.a = ", args.fOutputColor); in emitCode()
467 fragBuilder->codeAppendf("\t\t%s.r = ", args.fOutputColor); in emitCode()
472 fragBuilder->codeAppendf("\t\t%s.g = ", args.fOutputColor); in emitCode()
477 fragBuilder->codeAppendf("\t\t%s.b = ", args.fOutputColor); in emitCode()
482 fragBuilder->codeAppendf("\t\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
DSkPerlinNoiseShader.cpp779 fragBuilder->codeAppendf("\n\t\t%s = vec4(0.0);", args.fOutputColor); in emitCode()
791 fragBuilder->codeAppendf("%s += ", args.fOutputColor); in emitCode()
829 args.fOutputColor,args.fOutputColor); in emitCode()
833 … fragBuilder->codeAppendf("\n\t\t%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode()
837 args.fOutputColor, args.fOutputColor, in emitCode()
838 args.fOutputColor, args.fOutputColor); in emitCode()
DSkArithmeticImageFilter.cpp256 args.fOutputColor, kUni, kUni, kUni, kUni); in onCreateGLSLInstance()
257 fragBuilder->codeAppendf("%s = clamp(%s, 0.0, 1.0);\n", args.fOutputColor, in onCreateGLSLInstance()
258 args.fOutputColor); in onCreateGLSLInstance()
260 fragBuilder->codeAppendf("%s.rgb = min(%s.rgb, %s.a);", args.fOutputColor, in onCreateGLSLInstance()
261 args.fOutputColor, args.fOutputColor); in onCreateGLSLInstance()
DSkMorphologyImageFilter.cpp229 fragBuilder->codeAppendf("\t\t%s = vec4(1, 1, 1, 1);\n", args.fOutputColor); in emitCode()
233 fragBuilder->codeAppendf("\t\t%s = vec4(0, 0, 0, 0);\n", args.fOutputColor); in emitCode()
269 fragBuilder->codeAppendf("\t\t\t%s = %s(%s, ", args.fOutputColor, func, args.fOutputColor); in emitCode()
280 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp101 fragBuilder->codeAppendf("%s = sum * %s + %s;", args.fOutputColor, gain, bias); in emitCode()
102 fragBuilder->codeAppendf("%s.a = clamp(%s.a, 0, 1);", args.fOutputColor, args.fOutputColor); in emitCode()
104 args.fOutputColor, args.fOutputColor, args.fOutputColor); in emitCode()
113 fragBuilder->codeAppendf("%s.a = c.a;", args.fOutputColor); in emitCode()
114 …fragBuilder->codeAppendf("%s.rgb = clamp(sum.rgb * %s + %s, 0, 1);", args.fOutputColor, gain, bias… in emitCode()
115 fragBuilder->codeAppendf("%s.rgb *= %s.a;", args.fOutputColor, args.fOutputColor); in emitCode()
119 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
DGrConstColorProcessor.cpp31 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, colorUni); in emitCode()
34 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputColor, args.fInputColor, in emitCode()
38 fragBuilder->codeAppendf("%s = %s.a * %s;", args.fOutputColor, args.fInputColor, in emitCode()
DGrBitmapTextGeoProc.cpp45 varyingHandler->addPassThroughAttribute(cte.inColor(), args.fOutputColor); in onEmitCode()
47 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
64 fragBuilder->codeAppendf("%s = ", args.fOutputColor); in onEmitCode()
65 fragBuilder->appendTextureLookupAndModulate(args.fOutputColor, in onEmitCode()
DGrBlurredEdgeFragmentProcessor.cpp44 fragBuilder->codeAppendf("%s = vec4(factor*color.g);", args.fOutputColor); in emitCode()
46 fragBuilder->codeAppendf("%s = vec4(factor*color.a);", args.fOutputColor); in emitCode()
DGrYUVEffect.cpp112 fragBuilder->codeAppendf("%s = vec4(", args.fOutputColor); in emitCode()
261 args.fOutputColor, uniName, uniName, uniName, uniName, in emitCode()
273 args.fOutputColor, uniName, uniName, uniName, uniName); in emitCode()
283 args.fOutputColor, uniName, uniName); in emitCode()
DGrGaussianConvolutionFragmentProcessor.cpp61 fragBuilder->codeAppendf("%s = vec4(0, 0, 0, 0);", args.fOutputColor); in emitCode()
86 fragBuilder->codeAppendf("%s += ", args.fOutputColor); in emitCode()
96 GrGLSLMulVarBy4f(&modulate, args.fOutputColor, args.fInputColor); in emitCode()
DGrXfermodeFragmentProcessor.cpp217 args.fOutputColor, in emitCode()
222 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in emitCode()
431 GrGLSLBlend::AppendMode(fragBuilder, inputColor, childStr, args.fOutputColor, mode); in emitCode()
433 GrGLSLBlend::AppendMode(fragBuilder, childStr, inputColor, args.fOutputColor, mode); in emitCode()
DGrDitherEffect.cpp77 args.fOutputColor, GrGLSLExpr4(args.fInputColor).c_str()); in emitCode()
DGrShadowGeoProc.cpp33 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
/external/skia/src/gpu/
DGrFragmentProcessor.cpp128 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, args.fInputColor); in onCreateGLSLInstance()
130 args.fOutputColor, args.fInputColor); in onCreateGLSLInstance()
164 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, args.fInputColor); in onCreateGLSLInstance()
167 fragBuilder->codeAppendf("%s.rgb *= invAlpha;", args.fOutputColor); in onCreateGLSLInstance()
233 args.fOutputColor, args.fInputColor, swizzle.c_str()); in SwizzleOutput()
287 fragBuilder->codeAppendf("%s.rgb *= %s.rgb;", args.fOutputColor, in MakeInputPremulAndMulByOutput()
289 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in MakeInputPremulAndMulByOutput()
DGrDefaultGeoProcFactory.cpp84 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, varying.fsIn()); in onEmitCode()
86 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp916 fsBuilder->codeAppendf("\n\t\t%s = vec4(0.0);", args.fOutputColor); in emitCode()
928 fsBuilder->codeAppendf("\n\t\t\t%s += ", args.fOutputColor); in emitCode()
966 args.fOutputColor,args.fOutputColor); in emitCode()
970 fsBuilder->codeAppendf("\n\t\t%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode()
974 args.fOutputColor, args.fOutputColor, in emitCode()
975 args.fOutputColor, args.fOutputColor); in emitCode()
1264 fsBuilder->codeAppendf("%s = vec4(r, g, b, a);", args.fOutputColor); in emitCode()
1267 fsBuilder->codeAppendf("%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode()
1271 args.fOutputColor, args.fOutputColor, in emitCode()
1272 args.fOutputColor, args.fOutputColor); in emitCode()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp312 args.fOutputColor, in emitCode()
317 args.fOutputColor, args.fOutputColor); in emitCode()
318 fragBuilder->codeAppendf("\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
DSkNormalSourcePriv.h34 fragBuilder->codeAppendf("%s = vec4(0, 0, 1, 0);", args.fOutputColor); in emitCode()
DSkNormalMapSource.cpp57 args.fOutputColor); in onEmitCode()
72 args.fOutputColor); in onEmitCode()
DSkNormalFlatSource.cpp34 fragBuilder->codeAppendf("%s = vec4(0, 0, 1, 0);", args.fOutputColor); in onEmitCode()
/external/skia/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.h90 , fOutputColor(outputColor) in EmitArgs()
105 const char* fOutputColor; member
DGrGLSLFragmentProcessor.h127 , fOutputColor(outputColor) in EmitArgs()
138 const char* fOutputColor; member
/external/skia/tests/
DImageStorageTest.cpp64 fb->codeAppendf("%s = vec4(ivals)/255;", args.fOutputColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 fb->codeAppendf("%s = %s;", args.fOutputColor, imageLoadStr.c_str()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp261 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode()
280 args.fOutputColor, in emitCode()
528 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode()
551 args.fOutputColor, in emitCode()
734 args.fOutputColor, in emitCode()
1000 args.fOutputColor, in emitCode()
1222 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode()
1255 args.fOutputColor, in emitCode()

123