/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 102 fragBuilder->codeAppendf("%s = sum * %s + %s;", args.fOutputColor, gain, bias); in emitCode() 103 fragBuilder->codeAppendf("%s.a = clamp(%s.a, 0, 1);", args.fOutputColor, args.fOutputColor); in emitCode() 105 args.fOutputColor, args.fOutputColor, args.fOutputColor); in emitCode() 114 fragBuilder->codeAppendf("%s.a = c.a;", args.fOutputColor); in emitCode() 115 …fragBuilder->codeAppendf("%s.rgb = clamp(sum.rgb * %s + %s, 0, 1);", args.fOutputColor, gain, bias… in emitCode() 116 fragBuilder->codeAppendf("%s.rgb *= %s.a;", args.fOutputColor, args.fOutputColor); in emitCode() 118 fragBuilder->codeAppendf("%s *= %s;\n", 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 | 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 | GrYUVEffect.cpp | 111 fragBuilder->codeAppendf("%s = vec4(", args.fOutputColor); in emitCode() 253 args.fOutputColor, uniName, uniName, uniName, uniName, in emitCode() 265 args.fOutputColor, uniName, uniName, uniName, uniName); in emitCode() 275 args.fOutputColor, uniName, uniName); in emitCode()
|
D | GrGaussianConvolutionFragmentProcessor.cpp | 62 fragBuilder->codeAppendf("%s = vec4(0, 0, 0, 0);", args.fOutputColor); in emitCode() 109 fragBuilder->codeAppendf("%s += ", args.fOutputColor); in emitCode() 117 fragBuilder->codeAppendf("%s *= %s;\n", args.fOutputColor, args.fInputColor); in emitCode()
|
D | GrXfermodeFragmentProcessor.cpp | 227 args.fOutputColor, in emitCode() 232 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in emitCode() 451 GrGLSLBlend::AppendMode(fragBuilder, inputColor, childStr, args.fOutputColor, mode); in emitCode() 453 GrGLSLBlend::AppendMode(fragBuilder, childStr, inputColor, args.fOutputColor, mode); in emitCode()
|
D | GrBlurredEdgeFragmentProcessor.cpp | 32 args.fInputColor ? args.fInputColor : "vec4(1)", _outer.mode(), args.fOutputColor); in emitCode()
|
D | GrDitherEffect.cpp | 37 _outer.rangeType(), args.fOutputColor, in emitCode()
|
D | GrShadowGeoProc.cpp | 33 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
|
/external/skia/src/effects/ |
D | SkOverdrawColorFilter.cpp | 148 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() 174 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode() 180 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode() 186 fragBuilder->codeAppendf(" %s.rgba = vec4(%f, %f, %f, %f);", args.fOutputColor, in emitCode()
|
D | SkTableColorFilter.cpp | 416 fragBuilder->codeAppendf("\t\t%s.a = ", args.fOutputColor); in emitCode() 421 fragBuilder->codeAppendf("\t\t%s.r = ", args.fOutputColor); in emitCode() 426 fragBuilder->codeAppendf("\t\t%s.g = ", args.fOutputColor); in emitCode() 431 fragBuilder->codeAppendf("\t\t%s.b = ", args.fOutputColor); in emitCode() 436 fragBuilder->codeAppendf("\t\t%s.rgb *= %s.a;\n", 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 | 228 fragBuilder->codeAppendf("\t\t%s = vec4(1, 1, 1, 1);\n", args.fOutputColor); in emitCode() 232 fragBuilder->codeAppendf("\t\t%s = vec4(0, 0, 0, 0);\n", args.fOutputColor); in emitCode() 268 fragBuilder->codeAppendf("\t\t\t%s = %s(%s, ", args.fOutputColor, func, args.fOutputColor); in emitCode() 278 fragBuilder->codeAppendf("%s *= %s;\n", args.fOutputColor, args.fInputColor); in emitCode()
|
D | SkLumaColorFilter.cpp | 70 args.fOutputColor); in emitCode()
|
/external/skia/src/core/ |
D | SkColorMatrixFilterRowMajor255.cpp | 218 args.fOutputColor, in emitCode() 223 args.fOutputColor, args.fOutputColor); in emitCode() 224 fragBuilder->codeAppendf("\t%s.rgb *= %s.a;\n", args.fOutputColor, args.fOutputColor); in emitCode()
|
D | SkNormalMapSource.cpp | 54 args.fOutputColor); in emitCode() 69 args.fOutputColor); in emitCode()
|
D | SkNormalFlatSource.cpp | 33 fragBuilder->codeAppendf("%s = vec4(0, 0, 1, 0);", args.fOutputColor); in emitCode()
|
/external/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 143 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, args.fInputColor); in onCreateGLSLInstance() 145 args.fOutputColor, args.fInputColor); in onCreateGLSLInstance() 183 fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, args.fInputColor); in onCreateGLSLInstance() 186 fragBuilder->codeAppendf("%s.rgb *= invAlpha;", args.fOutputColor); in onCreateGLSLInstance() 256 args.fOutputColor, args.fInputColor, swizzle.c_str()); in SwizzleOutput() 314 fragBuilder->codeAppendf("%s.rgb *= %s.rgb;", args.fOutputColor, in MakeInputPremulAndMulByOutput() 316 fragBuilder->codeAppendf("%s *= %s.a;", args.fOutputColor, args.fInputColor); in MakeInputPremulAndMulByOutput()
|
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 969 fragBuilder->codeAppendf("\n\t\t%s = vec4(0.0);", args.fOutputColor); in emitCode() 981 fragBuilder->codeAppendf("\n\t\t\t%s += ", args.fOutputColor); in emitCode() 1019 args.fOutputColor,args.fOutputColor); in emitCode() 1023 … fragBuilder->codeAppendf("\n\t\t%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode() 1027 args.fOutputColor, args.fOutputColor, in emitCode() 1028 args.fOutputColor, args.fOutputColor); in emitCode() 1307 fragBuilder->codeAppendf("%s = vec4(r, g, b, a);", args.fOutputColor); in emitCode() 1310 fragBuilder->codeAppendf("%s = clamp(%s, 0.0, 1.0);", args.fOutputColor, args.fOutputColor); in emitCode() 1314 args.fOutputColor, args.fOutputColor, in emitCode() 1315 args.fOutputColor, args.fOutputColor); in emitCode()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLPrimitiveProcessor.h | 90 , fOutputColor(outputColor) in EmitArgs() 104 const char* fOutputColor; member
|
D | GrGLSLFragmentProcessor.h | 124 , fOutputColor(outputColor) in EmitArgs() 134 const char* fOutputColor; member
|
D | GrGLSLFragmentProcessor.cpp | 24 this->internalEmitChild(childIndex, inputColor, args.fOutputColor, args); in emitChild()
|
/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()
|
D | GLProgramsTest.cpp | 50 fragBuilder->codeAppendf("%s = %s;\n", args.fOutputColor, args.fInputColor); in emitCode() 52 fragBuilder->codeAppendf("%s = vec4(1.0);\n", args.fOutputColor); in emitCode()
|
/external/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 262 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode() 281 args.fOutputColor, in emitCode() 529 fragBuilder->codeAppendf("\t%s = vec4(0.0,0.0,0.0,0.0);\n", args.fOutputColor); in emitCode() 552 args.fOutputColor, in emitCode() 735 args.fOutputColor, in emitCode() 1001 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()
|