Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp102 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()
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()
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()
DGrYUVEffect.cpp111 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()
DGrGaussianConvolutionFragmentProcessor.cpp62 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()
DGrXfermodeFragmentProcessor.cpp227 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()
DGrBlurredEdgeFragmentProcessor.cpp32 args.fInputColor ? args.fInputColor : "vec4(1)", _outer.mode(), args.fOutputColor); in emitCode()
DGrDitherEffect.cpp37 _outer.rangeType(), args.fOutputColor, in emitCode()
DGrShadowGeoProc.cpp33 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
/external/skia/src/effects/
DSkOverdrawColorFilter.cpp148 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()
DSkTableColorFilter.cpp416 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()
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.cpp228 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()
DSkLumaColorFilter.cpp70 args.fOutputColor); in emitCode()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp218 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()
DSkNormalMapSource.cpp54 args.fOutputColor); in emitCode()
69 args.fOutputColor); in emitCode()
DSkNormalFlatSource.cpp33 fragBuilder->codeAppendf("%s = vec4(0, 0, 1, 0);", args.fOutputColor); in emitCode()
/external/skia/src/gpu/
DGrFragmentProcessor.cpp143 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/
DSkPerlinNoiseShader.cpp969 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/
DGrGLSLPrimitiveProcessor.h90 , fOutputColor(outputColor) in EmitArgs()
104 const char* fOutputColor; member
DGrGLSLFragmentProcessor.h124 , fOutputColor(outputColor) in EmitArgs()
134 const char* fOutputColor; member
DGrGLSLFragmentProcessor.cpp24 this->internalEmitChild(childIndex, inputColor, args.fOutputColor, args); in emitChild()
/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()
DGLProgramsTest.cpp50 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/
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()
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()

123