/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLFragmentProcessor.cpp | 19 void GrGLSLFragmentProcessor::invokeChild(int childIndex, const char* inputColor, EmitArgs& args) { in invokeChild() argument 23 this->internalInvokeChild(childIndex, inputColor, args.fOutputColor, args); in invokeChild() 26 void GrGLSLFragmentProcessor::invokeChild(int childIndex, const char* inputColor, in invokeChild() argument 36 this->internalInvokeChild(childIndex, inputColor, outputColor->c_str(), args); in invokeChild() 40 inputColor ? inputColor : "half4(1)"); in invokeChild() 44 void GrGLSLFragmentProcessor::internalInvokeChild(int childIndex, const char* inputColor, in internalInvokeChild() argument 53 if (inputColor&& strcmp("half4(1.0)", inputColor) != 0 && strcmp("half4(1)", inputColor) != 0) { in internalInvokeChild() 58 fragBuilder->codeAppendf("half4 %s = %s;", inputName.c_str(), inputColor); in internalInvokeChild()
|
D | GrGLSLFragmentProcessor.h | 106 const char* inputColor, in EmitArgs() 114 , fInputColor(inputColor ? inputColor : "half4(1.0)") in EmitArgs() 152 void invokeChild(int childIndex, const char* inputColor, SkString* outputColor, 163 void invokeChild(int childIndex, const char* inputColor, EmitArgs& parentArgs);
|
D | GrGLSLXferProcessor.h | 33 const char* inputColor, in EmitArgs() 44 , fInputColor(inputColor ? inputColor : "half4(1.0)") in EmitArgs()
|
D | GrGLSLProgramBuilder.cpp | 60 SkString inputColor; in emitAndInstallProcs() local 62 this->emitAndInstallPrimProc(&inputColor, &inputCoverage); in emitAndInstallProcs() 63 this->emitAndInstallFragProcs(&inputColor, &inputCoverage); in emitAndInstallProcs() 64 this->emitAndInstallXferProc(inputColor, inputCoverage); in emitAndInstallProcs()
|
/third_party/skia/src/gpu/ |
D | GrFragmentProcessor.h | 264 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() argument 266 *outputColor = this->constantOutputForConstantInput(inputColor); in hasConstantOutputForConstantInput() 500 const char* inputColor, in EmitArgs() 507 , fInputColor(inputColor ? inputColor : "half4(1.0)") in EmitArgs() 559 const char* inputColor, 563 inputColor, 570 const char* inputColor, in invokeChildWithMatrix() argument 573 inputColor, in invokeChildWithMatrix() 590 const char* inputColor, 601 const char* inputColor,
|
D | GrFragmentProcessor.cpp | 429 GrProcessorAnalysisColor inputColor; in Compose() local 430 inputColor.setToUnknown(); in Compose() 433 GrColorFragmentProcessorAnalysis info(inputColor, series, SK_ARRAY_COUNT(series)); in Compose() 851 const char* inputColor, in invokeChild() argument 857 if (!inputColor) { in invokeChild() 858 inputColor = args.fInputColor; in invokeChild() 864 return SkString(inputColor); in invokeChild() 868 inputColor); in invokeChild() 892 const char* inputColor, in invokeChildWithMatrix() argument 897 if (!inputColor) { in invokeChildWithMatrix() [all …]
|
D | GrXferProcessor.h | 293 const char* inputColor, in GR_MAKE_BITFIELD_CLASS_OPS() 304 , fInputColor(inputColor ? inputColor : "half4(1.0)") in GR_MAKE_BITFIELD_CLASS_OPS()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrColorMatrixFragmentProcessor.fp | 19 half4 inputColor = sk_InColor; 23 half nonZeroAlpha = max(inputColor.a, 0.0001); 24 inputColor = half4(inputColor.rgb / nonZeroAlpha, nonZeroAlpha); 26 sk_OutColor = m * inputColor + v;
|
D | GrXfermodeFragmentProcessor.cpp | 216 const char* inputColor = nullptr; in emitCode() local 218 inputColor = "inputColor"; in emitCode() 224 this->invokeChild(0, inputColor, &srcColor, args); in emitCode() 227 this->invokeChild(1, inputColor, &dstColor, args); in emitCode() 398 SkPMColor4f constantOutputForConstantInput(const SkPMColor4f& inputColor) const override { in constantOutputForConstantInput() 404 dst = inputColor; in constantOutputForConstantInput() 406 src = inputColor; in constantOutputForConstantInput()
|
/third_party/skia/gm/ |
D | runtimefunctions.cpp | 49 SkColor4f inputColor = { 1, 0, 0, 1 }; in onDraw() local 50 auto shader = gEffect->makeShader(SkData::MakeWithCopy(&inputColor, sizeof(inputColor)), in onDraw()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 52 SkString inputColor; in emitAndInstallProcs() local 54 if (!this->emitAndInstallPrimProc(&inputColor, &inputCoverage)) { in emitAndInstallProcs() 60 if (!this->emitAndInstallFragProcs(&inputColor, &inputCoverage)) { in emitAndInstallProcs() 63 if (!this->emitAndInstallXferProc(inputColor, inputCoverage)) { in emitAndInstallProcs() 215 const char* const inputColor = fp.isBlendFunction() ? "_src" : "_input"; in writeFPFunction() local 225 params[numParams++] = GrShaderVar(inputColor, kHalf4_GrSLType); in writeFPFunction() 275 inputColor, in writeFPFunction()
|
/third_party/skia/src/gpu/effects/ |
D | GrMatrixEffect.h | 38 SkPMColor4f constantOutputForConstantInput(const SkPMColor4f& inputColor) const override { in constantOutputForConstantInput() argument 39 return ConstantOutputForConstantInput(this->childProcessor(0), inputColor); in constantOutputForConstantInput()
|
D | GrModulateAtlasCoverageEffect.cpp | 42 SkString inputColor = this->invokeChild(0, args); in onMakeProgramImpl() local 64 f->codeAppendf("return %s * coverage;", inputColor.c_str()); in onMakeProgramImpl()
|
D | GrSkSLFP.cpp | 34 const char* inputColor, in emitCode() argument 40 , fInputColor(inputColor) in emitCode() 390 SkPMColor4f GrSkSLFP::constantOutputForConstantInput(const SkPMColor4f& inputColor) const { in constantOutputForConstantInput() 400 this->childProcessor(fInputChildIndex), inputColor) in constantOutputForConstantInput() 401 : inputColor; in constantOutputForConstantInput()
|
/third_party/flutter/skia/tests/ |
D | GrPorterDuffTest.cpp | 81 GrProcessorAnalysisColor inputColor, GrProcessorAnalysisCoverage inputCoverage) { in XPInfo() 86 GrProcessorSet::Analysis analysis = do_analysis(xpf, inputColor, inputCoverage, caps); in XPInfo() 90 GrXPFactory::MakeXferProcessor(xpf, inputColor, inputCoverage, false, caps, in XPInfo() 96 !inputColor.isOpaque()))); in XPInfo() 106 !inputColor.isOpaque()))); in XPInfo() 123 GrProcessorAnalysisColor inputColor = GrProcessorAnalysisColor::Opaque::kYes; in test_lcd_coverage() local 128 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_lcd_coverage() 287 GrProcessorAnalysisColor inputColor = GrProcessorAnalysisColor::Opaque::kNo; in test_color_unknown_with_coverage() local 292 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_color_unknown_with_coverage() 452 GrProcessorAnalysisColor inputColor( in test_color_not_opaque_no_coverage() local [all …]
|
/third_party/skia/tests/ |
D | GrPorterDuffTest.cpp | 80 GrProcessorAnalysisColor inputColor, GrProcessorAnalysisCoverage inputCoverage) { in XPInfo() 85 GrProcessorSet::Analysis analysis = do_analysis(xpf, inputColor, inputCoverage, caps); in XPInfo() 90 GrXPFactory::MakeXferProcessor(xpf, inputColor, inputCoverage, caps, in XPInfo() 96 !inputColor.isOpaque()))); in XPInfo() 106 !inputColor.isOpaque()))); in XPInfo() 124 GrProcessorAnalysisColor inputColor = GrProcessorAnalysisColor::Opaque::kYes; in test_lcd_coverage() local 129 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_lcd_coverage() 303 GrProcessorAnalysisColor inputColor = GrProcessorAnalysisColor::Opaque::kNo; in test_color_unknown_with_coverage() local 308 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_color_unknown_with_coverage() 483 GrProcessorAnalysisColor inputColor( in test_color_not_opaque_no_coverage() local [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | MultisampledRenderingTests.cpp | 152 void VerifyResolveTarget(const dawn::Color& inputColor, in VerifyResolveTarget() argument 163 expectedColor.r = static_cast<uint8_t>(0xFF * inputColor.r * kMSAACoverage); in VerifyResolveTarget() 164 expectedColor.g = static_cast<uint8_t>(0xFF * inputColor.g * kMSAACoverage); in VerifyResolveTarget() 165 expectedColor.b = static_cast<uint8_t>(0xFF * inputColor.b * kMSAACoverage); in VerifyResolveTarget() 166 expectedColor.a = static_cast<uint8_t>(0xFF * inputColor.a * kMSAACoverage); in VerifyResolveTarget()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLPipelineStageCodeGenerator.h | 55 const char* inputColor,
|
D | SkSLPipelineStageCodeGenerator.cpp | 50 const char* inputColor, in PipelineStageCodeGenerator() argument 55 , fInputColor(inputColor) in PipelineStageCodeGenerator() 765 const char* inputColor, in ConvertProgram() argument 768 PipelineStageCodeGenerator generator(program, sampleCoords, inputColor, destColor, callbacks); in ConvertProgram()
|
D | SkSLVMCodeGenerator.h | 56 skvm::Color inputColor,
|
/third_party/flutter/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 365 GrProcessorAnalysisColor inputColor; in RunInSeries() local 366 inputColor.setToUnknown(); in RunInSeries() 367 GrColorFragmentProcessorAnalysis info(inputColor, unique_ptr_address_as_pointer_address(series), in RunInSeries()
|
D | GrFragmentProcessor.h | 158 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() argument 160 *outputColor = this->constantOutputForConstantInput(inputColor); in hasConstantOutputForConstantInput()
|
/third_party/skia/src/effects/ |
D | SkTableColorFilter.cpp | 163 SkString inputColor = this->invokeChild(kInputFPIndex, args); in onMakeProgramImpl() local 172 inputColor.c_str(), r.c_str(), g.c_str(), b.c_str(), a.c_str()); in onMakeProgramImpl()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
D | blit.metal | 182 float4 inputColor = blitReadTexture<>(FORWARD_BLIT_COLOR_FS_PARAMS); 183 uint4 output = uint4(inputColor * float4(255.0));
|
/third_party/skia/src/core/ |
D | SkRuntimeEffect.cpp | 613 skvm::Color inputColor = p.uniformColor(/*placeholder*/ SkColors::kWhite, &childColorUniforms); in Make() local 624 if (ids_equal(c, inputColor)) { in Make() 656 inputColor, in Make() 657 inputColor, in Make() 672 bool alphaUnchanged = (inputColor.a.id == result.a.id); in Make()
|