Home
last modified time | relevance | path

Searched refs:outputColor (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLBlend.cpp259 const char* dstColor, const char* outputColor, in emit_advanced_xfermode_code() argument
263 SkASSERT(outputColor); in emit_advanced_xfermode_code()
266 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code()
271 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code()
276 outputColor, in emit_advanced_xfermode_code()
283 outputColor, in emit_advanced_xfermode_code()
288 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
289 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g'); in emit_advanced_xfermode_code()
290 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'b'); in emit_advanced_xfermode_code()
293 color_burn_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
[all …]
DGrGLSLFragmentProcessor.cpp27 SkString* outputColor, EmitArgs& args) { in invokeChild() argument
28 SkASSERT(outputColor); in invokeChild()
30 outputColor->append(fragBuilder->getMangleString()); in invokeChild()
31 fragBuilder->codeAppendf("half4 %s;", outputColor->c_str()); in invokeChild()
36 this->internalInvokeChild(childIndex, inputColor, outputColor->c_str(), args); in invokeChild()
38 fragBuilder->codeAppendf("%s = %s(%s);", outputColor->c_str(), in invokeChild()
45 const char* outputColor, EmitArgs& args) { in internalInvokeChild() argument
70 outputColor, in internalInvokeChild()
77 fragBuilder->codeAppendf("%s = %s(%s);\n", outputColor, in internalInvokeChild()
DGrGLSLFragmentProcessor.h105 const char* outputColor, in EmitArgs()
113 , fOutputColor(outputColor) in EmitArgs()
140 inline void invokeChild(int childIndex, SkString* outputColor, EmitArgs& parentArgs) { in invokeChild() argument
141 this->invokeChild(childIndex, nullptr, outputColor, parentArgs); in invokeChild()
152 void invokeChild(int childIndex, const char* inputColor, SkString* outputColor,
DGrGLSLProgramBuilder.h84 virtual void finalizeFragmentOutputColor(GrShaderVar& outputColor) {} in finalizeFragmentOutputColor() argument
85 virtual void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {} in finalizeFragmentSecondaryColor() argument
152 void emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
DGrGLSLPrimitiveProcessor.h74 const char* outputColor, in EmitArgs()
86 , fOutputColor(outputColor) in EmitArgs()
DGrGLSLProgramBuilder.cpp69 void GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, in emitAndInstallPrimProc() argument
76 this->nameExpression(outputColor, "outputColor"); in emitAndInstallPrimProc()
124 outputColor->c_str(), in emitAndInstallPrimProc()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h56 float outputColor[4]) in GetSwizzledColor()
70 outputColor[i] = this->color[FormatTraits<SrcOrDstFormat>::swizzle(i)][offset[index]]; in GetSwizzledColor()
112 float outputColor[4])
127 outputColor[i] = *(float*)&src;
173 float outputColor[4])
183 outputColor[i] = this->color[FormatTraits<SrcOrDstFormat>::swizzle(i)][offset[index]];
220 float outputColor[4])
231 outputColor[i] = *(float*)&src;
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h92 virtual void finalizeFragmentOutputColor(GrShaderVar& outputColor) {} in finalizeFragmentOutputColor() argument
93 virtual void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {} in finalizeFragmentSecondaryColor() argument
139 bool emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
DGrGLSLProgramBuilder.cpp72 bool GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage) { in emitAndInstallPrimProc() argument
77 this->nameExpression(outputColor, "outputColor"); in emitAndInstallPrimProc()
116 outputColor->c_str(), in emitAndInstallPrimProc()
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.h44 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
45 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
DGrD3DPipelineStateBuilder.cpp68 void GrD3DPipelineStateBuilder::finalizeFragmentOutputColor(GrShaderVar& outputColor) { in finalizeFragmentOutputColor() argument
69 outputColor.addLayoutQualifier("location = 0, index = 0"); in finalizeFragmentOutputColor()
72 void GrD3DPipelineStateBuilder::finalizeFragmentSecondaryColor(GrShaderVar& outputColor) { in finalizeFragmentSecondaryColor() argument
73 outputColor.addLayoutQualifier("location = 0, index = 1"); in finalizeFragmentSecondaryColor()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h82 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
84 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
DGrMtlPipelineStateBuilder.mm58 void GrMtlPipelineStateBuilder::finalizeFragmentOutputColor(GrShaderVar& outputColor) {
59 outputColor.addLayoutQualifier("location = 0, index = 0");
62 void GrMtlPipelineStateBuilder::finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {
63 outputColor.addLayoutQualifier("location = 0, index = 1");
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h60 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
62 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.h44 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
45 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
DGrVkPipelineStateBuilder.cpp66 void GrVkPipelineStateBuilder::finalizeFragmentOutputColor(GrShaderVar& outputColor) { in finalizeFragmentOutputColor() argument
67 outputColor.addLayoutQualifier("location = 0, index = 0"); in finalizeFragmentOutputColor()
70 void GrVkPipelineStateBuilder::finalizeFragmentSecondaryColor(GrShaderVar& outputColor) { in finalizeFragmentSecondaryColor() argument
71 outputColor.addLayoutQualifier("location = 0, index = 1"); in finalizeFragmentSecondaryColor()
/third_party/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp272 SkColor outputColor(source); in onFilterImage() local
282 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
290 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
296 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
/third_party/flutter/skia/src/effects/imagefilters/
DSkAlphaThresholdFilter.cpp235 SkColor outputColor(source); in onFilterImage() local
245 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
253 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
259 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.h78 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
79 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
DGrVkPipelineStateBuilder.cpp60 void GrVkPipelineStateBuilder::finalizeFragmentOutputColor(GrShaderVar& outputColor) { in finalizeFragmentOutputColor() argument
61 outputColor.addLayoutQualifier("location = 0, index = 0"); in finalizeFragmentOutputColor()
64 void GrVkPipelineStateBuilder::finalizeFragmentSecondaryColor(GrShaderVar& outputColor) { in finalizeFragmentSecondaryColor() argument
65 outputColor.addLayoutQualifier("location = 0, index = 1"); in finalizeFragmentSecondaryColor()
/third_party/skia/src/gpu/
DGrProcessorSet.cpp155 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps, clampType); in finalize()
183 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
DGrProcessorAnalysis.h146 GrProcessorAnalysisColor outputColor() const { in outputColor() function
/third_party/flutter/skia/src/gpu/
DGrProcessorSet.cpp211 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps, clampType); in finalize()
238 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
DGrFragmentProcessor.h158 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() argument
160 *outputColor = this->constantOutputForConstantInput(inputColor); in hasConstantOutputForConstantInput()
DGrProcessorAnalysis.h136 GrProcessorAnalysisColor outputColor() const { in outputColor() function

12