/external/skia/src/gpu/effects/ |
D | GrCustomXfermode.cpp | 283 const char* inputColor, in emit_custom_xfermode_code() argument 286 if (NULL == inputColor) { in emit_custom_xfermode_code() 288 inputColor = "ones"; in emit_custom_xfermode_code() 294 outputColor, inputColor, inputColor, dstColor); in emit_custom_xfermode_code() 299 hard_light(fsBuilder, outputColor, dstColor, inputColor); in emit_custom_xfermode_code() 305 inputColor, dstColor, inputColor, in emit_custom_xfermode_code() 306 dstColor, inputColor, dstColor); in emit_custom_xfermode_code() 312 inputColor, dstColor, inputColor, in emit_custom_xfermode_code() 313 dstColor, inputColor, dstColor); in emit_custom_xfermode_code() 316 color_dodge_component(fsBuilder, outputColor, inputColor, dstColor, 'r'); in emit_custom_xfermode_code() [all …]
|
D | GrDitherEffect.cpp | 73 const char* inputColor, 87 const char* inputColor, in emitCode() argument 104 outputColor, GrGLSLExpr4(inputColor).c_str()); in emitCode()
|
D | GrConvexPolyEffect.cpp | 91 const char* inputColor, 112 const char* inputColor, in emitCode() argument 150 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode() 186 const char* inputColor, 207 const char* inputColor, in emitCode() argument 243 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
|
D | GrOvalEffect.cpp | 103 const char* inputColor, 126 const char* inputColor, in emitCode() argument 160 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("d")).c_str()); in emitCode() 286 const char* inputColor, 309 const char* inputColor, in emitCode() argument 352 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
|
D | GrConstColorProcessor.cpp | 20 const char* inputColor, in emitCode() argument 33 fsBuilder->codeAppendf("%s = %s * %s;", outputColor, inputColor, colorUni); in emitCode() 36 fsBuilder->codeAppendf("%s = %s.a * %s;", outputColor, inputColor, colorUni); in emitCode()
|
D | GrSimpleTextureEffect.cpp | 24 const char* inputColor, in emitCode() argument 29 fsBuilder->appendTextureLookupAndModulate(inputColor, in emitCode()
|
D | GrBicubicEffect.cpp | 29 const char* inputColor, 57 const char* inputColor, in emitCode() argument 113 …\t%s = %s;\n", outputColor, (GrGLSLExpr4(bicubicColor.c_str()) * GrGLSLExpr4(inputColor)).c_str()); in emitCode()
|
D | GrConvolutionEffect.cpp | 24 const char* inputColor, 57 const char* inputColor, in emitCode() argument 102 GrGLSLMulVarBy4f(&modulate, outputColor, inputColor); in emitCode()
|
D | GrRRectEffect.cpp | 138 const char* inputColor, 160 const char* inputColor, in emitCode() argument 287 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode() 495 const char* inputColor, 517 const char* inputColor, in emitCode() argument 587 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
|
D | GrTextureDomain.cpp | 175 const char* inputColor, 194 const char* inputColor, in emitCode() argument 202 fGLDomain.sampleTexture(fsBuilder, domain, outputColor, coords2D, samplers[0], inputColor); in emitCode()
|
D | GrMatrixConvolutionEffect.cpp | 19 const char* inputColor, 51 const char* inputColor, in emitCode() argument 110 GrGLSLMulVarBy4f(&modulate, outputColor, inputColor); in emitCode()
|
/external/skia/src/effects/ |
D | SkColorCubeFilter.cpp | 134 SkColor inputColor = SkUnPreMultiply::PMColorToColor(src[i]); in filterSpan() local 135 uint8_t r = SkColorGetR(inputColor); in filterSpan() 136 uint8_t g = SkColorGetG(inputColor); in filterSpan() 137 uint8_t b = SkColorGetB(inputColor); in filterSpan() 138 uint8_t a = SkColorGetA(inputColor); in filterSpan() 214 const char* inputColor, 273 const char* inputColor, in emitCode() argument 276 if (NULL == inputColor) { in emitCode() 277 inputColor = "vec4(1)"; in emitCode() 301 fsBuilder->codeAppendf("\tfloat %s = max(%s.a, 0.00001);\n", nonZeroAlpha, inputColor); in emitCode() [all …]
|
D | SkLumaColorFilter.cpp | 86 const char* inputColor, in emitCode() argument 89 if (NULL == inputColor) { in emitCode() 90 inputColor = "vec4(1)"; in emitCode() 98 inputColor); in emitCode()
|
D | SkArithmeticMode_gpu.cpp | 24 const char* inputColor, in add_arithmetic_code() argument 30 if (NULL == inputColor) { in add_arithmetic_code() 33 fsBuilder->codeAppendf("vec4 src = %s;", inputColor); in add_arithmetic_code() 66 const char* inputColor, in emitCode() argument 80 add_arithmetic_code(fsBuilder, inputColor, dstColor, outputColor, kUni, fEnforcePMColor); in emitCode()
|
D | SkColorFilters.cpp | 172 const char* inputColor, in emitCode() argument 188 GrGLSLExpr4(inputColor)); in emitCode() 324 float inputColor[4]; in onComputeInvariantOutput() local 325 GrColorToRGBAFloat(inout->color(), inputColor); in onComputeInvariantOutput() 331 MaskedColorExpr(inputColor, inout->validFlags())); in onComputeInvariantOutput()
|
D | SkTableColorFilter.cpp | 383 const char* inputColor, 421 const char* inputColor, in emitCode() argument 431 if (NULL == inputColor) { in emitCode() 438 fsBuilder->codeAppendf("\t\tfloat nonZeroAlpha = max(%s.a, .0001);\n", inputColor); in emitCode() 439 …sBuilder->codeAppendf("\t\tvec4 coord = vec4(%s.rgb / nonZeroAlpha, nonZeroAlpha);\n", inputColor); in emitCode()
|
D | SkColorMatrixFilter.cpp | 433 const char* inputColor, in emitCode() argument 443 if (NULL == inputColor) { in emitCode() 445 inputColor = "vec4(1)"; in emitCode() 450 fsBuilder->codeAppendf("\tfloat nonZeroAlpha = max(%s.a, 0.00001);\n", inputColor); in emitCode() 454 inputColor, in emitCode()
|
D | SkAlphaThresholdFilter.cpp | 128 const char* inputColor, 145 const char* inputColor, in emitCode() argument 190 (GrGLSLExpr4(inputColor) * GrGLSLExpr4("color")).c_str()); in emitCode()
|
D | SkMagnifierImageFilter.cpp | 113 const char* inputColor, 134 const char* inputColor, in emitCode() argument 184 GrGLSLMulVarBy4f(&modulate, outputColor, inputColor); in emitCode()
|
/external/skia/src/gpu/gl/ |
D | GrGLXferProcessor.h | 25 const char* inputColor, in EmitArgs() 32 , fInputColor(inputColor) in EmitArgs()
|
D | GrGLProcessor.h | 102 const char* inputColor,
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 147 const char* inputColor, 234 const char* inputColor, in emitCode() argument 285 this->emitColor(builder, ge, tName.c_str(), outputColor, inputColor, samplers); in emitCode() 435 const char* inputColor, 523 const char* inputColor, in emitCode() argument 565 this->emitColor(builder, ge, tName.c_str(), outputColor, inputColor, samplers); in emitCode() 656 const char* inputColor, 740 const char* inputColor, in emitCode() argument 763 this->emitColor(builder, ge, tName.c_str(), outputColor, inputColor, samplers); in emitCode() 907 const char* inputColor, [all …]
|
D | SkSweepGradient.cpp | 196 const char* inputColor, 274 const char* inputColor, in emitCode() argument 292 this->emitColor(builder, ge, t.c_str(), outputColor, inputColor, samplers); in emitCode()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 67 GrGLSLExpr4 inputColor; in CreateProgram() local 70 if (!pb->emitAndInstallProcs(&inputColor, &inputCoverage)) { in CreateProgram() 194 bool GrGLProgramBuilder::emitAndInstallProcs(GrGLSLExpr4* inputColor, GrGLSLExpr4* inputCoverage) { in emitAndInstallProcs() argument 215 this->emitAndInstallProc(primProc, inputColor, inputCoverage); in emitAndInstallProcs() 219 this->emitAndInstallFragProcs(0, this->pipeline().numColorFragmentStages(), inputColor); in emitAndInstallProcs() 222 this->emitAndInstallXferProc(*this->pipeline().getXferProcessor(), *inputColor, *inputCoverage); in emitAndInstallProcs()
|
/external/skia/tests/ |
D | GpuColorFilterTest.cpp | 40 GrColor inputColor; // "[color]" in test_getConstantColorComponents() member 106 GrInvariantOutput inout(test.inputColor, in test_getConstantColorComponents()
|