/external/skia/src/effects/ |
D | SkOverdrawColorFilter.cpp | 130 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()
|
D | SkTableColorFilter.cpp | 462 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()
|
D | SkPerlinNoiseShader.cpp | 779 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()
|
D | SkArithmeticImageFilter.cpp | 256 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()
|
D | SkMorphologyImageFilter.cpp | 229 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/ |
D | GrMatrixConvolutionEffect.cpp | 101 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()
|
D | GrConstColorProcessor.cpp | 31 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()
|
D | GrBitmapTextGeoProc.cpp | 45 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()
|
D | GrBlurredEdgeFragmentProcessor.cpp | 44 fragBuilder->codeAppendf("%s = vec4(factor*color.g);", args.fOutputColor); in emitCode() 46 fragBuilder->codeAppendf("%s = vec4(factor*color.a);", args.fOutputColor); in emitCode()
|
D | GrYUVEffect.cpp | 112 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()
|
D | GrGaussianConvolutionFragmentProcessor.cpp | 61 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()
|
D | GrXfermodeFragmentProcessor.cpp | 217 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()
|
D | GrDitherEffect.cpp | 77 args.fOutputColor, GrGLSLExpr4(args.fInputColor).c_str()); in emitCode()
|
D | GrShadowGeoProc.cpp | 33 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
|
/external/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 128 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()
|
D | GrDefaultGeoProcFactory.cpp | 84 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, varying.fsIn()); in onEmitCode() 86 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.cpp | 916 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/ |
D | SkColorMatrixFilterRowMajor255.cpp | 312 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()
|
D | SkNormalSourcePriv.h | 34 fragBuilder->codeAppendf("%s = vec4(0, 0, 1, 0);", args.fOutputColor); in emitCode()
|
D | SkNormalMapSource.cpp | 57 args.fOutputColor); in onEmitCode() 72 args.fOutputColor); in onEmitCode()
|
D | SkNormalFlatSource.cpp | 34 fragBuilder->codeAppendf("%s = vec4(0, 0, 1, 0);", args.fOutputColor); in onEmitCode()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLPrimitiveProcessor.h | 90 , fOutputColor(outputColor) in EmitArgs() 105 const char* fOutputColor; member
|
D | GrGLSLFragmentProcessor.h | 127 , fOutputColor(outputColor) in EmitArgs() 138 const char* fOutputColor; member
|
/external/skia/tests/ |
D | ImageStorageTest.cpp | 64 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/ |
D | SkTwoPointConicalGradient_gpu.cpp | 261 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()
|