Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp260 const char* dstColor, const char* outputColor, in emit_advanced_xfermode_code() argument
264 SkASSERT(outputColor); in emit_advanced_xfermode_code()
267 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code()
272 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code()
277 outputColor, in emit_advanced_xfermode_code()
284 outputColor, in emit_advanced_xfermode_code()
289 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
290 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g'); in emit_advanced_xfermode_code()
291 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'b'); in emit_advanced_xfermode_code()
294 color_burn_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
[all …]
DGrGLSLFragmentProcessor.cpp24 SkString* outputColor, EmitArgs& args) { in emitChild() argument
25 SkASSERT(outputColor); in emitChild()
27 outputColor->append(fragBuilder->getMangleString()); in emitChild()
28 fragBuilder->codeAppendf("half4 %s;", outputColor->c_str()); in emitChild()
29 this->internalEmitChild(childIndex, inputColor, outputColor->c_str(), args); in emitChild()
33 const char* outputColor, EmitArgs& args) { in internalEmitChild() argument
63 outputColor, in internalEmitChild()
DGrGLSLFragmentProcessor.h105 const char* outputColor, in EmitArgs()
113 , fOutputColor(outputColor) in EmitArgs()
140 inline void emitChild(int childIndex, SkString* outputColor, EmitArgs& parentArgs) { in emitChild() argument
141 this->emitChild(childIndex, nullptr, outputColor, parentArgs); in emitChild()
152 void emitChild(int childIndex, const char* inputColor, SkString* outputColor,
DGrGLSLProgramBuilder.h75 virtual void finalizeFragmentOutputColor(GrShaderVar& outputColor) {} in finalizeFragmentOutputColor() argument
76 virtual void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {} in finalizeFragmentSecondaryColor() argument
144 void emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
DGrGLSLPrimitiveProcessor.h74 const char* outputColor, in EmitArgs()
86 , fOutputColor(outputColor) in EmitArgs()
DGrGLSLProgramBuilder.cpp71 void GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, in emitAndInstallPrimProc() argument
78 this->nameExpression(outputColor, "outputColor"); in emitAndInstallPrimProc()
126 outputColor->c_str(), in emitAndInstallPrimProc()
/external/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;
/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h90 virtual void finalizeFragmentOutputColor(GrShaderVar& outputColor) {} in finalizeFragmentOutputColor() argument
91 virtual void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {} in finalizeFragmentSecondaryColor() argument
148 bool emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
DGrGLSLGeometryProcessor.h76 const char* outputColor, in EmitArgs()
87 , fOutputColor(outputColor) in EmitArgs()
DGrGLSLProgramBuilder.cpp76 bool GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage) { in emitAndInstallPrimProc() argument
81 this->nameExpression(outputColor, "outputColor"); in emitAndInstallPrimProc()
125 outputColor->c_str(), in emitAndInstallPrimProc()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h47 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
49 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
DGrMtlPipelineStateBuilder.mm51 void GrMtlPipelineStateBuilder::finalizeFragmentOutputColor(GrShaderVar& outputColor) {
52 outputColor.addLayoutQualifier("location = 0, index = 0");
55 void GrMtlPipelineStateBuilder::finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {
56 outputColor.addLayoutQualifier("location = 0, index = 1");
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.h44 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
45 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h59 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
61 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
/external/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()
/external/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp228 SkColor outputColor(source); in onFilterImage() local
238 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
246 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
252 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
/external/skqp/src/gpu/vk/
DGrVkPipelineStateBuilder.h78 void finalizeFragmentOutputColor(GrShaderVar& outputColor) override;
79 void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) override;
DGrVkPipelineStateBuilder.cpp58 void GrVkPipelineStateBuilder::finalizeFragmentOutputColor(GrShaderVar& outputColor) { in finalizeFragmentOutputColor() argument
59 outputColor.addLayoutQualifier("location = 0, index = 0"); in finalizeFragmentOutputColor()
62 void GrVkPipelineStateBuilder::finalizeFragmentSecondaryColor(GrShaderVar& outputColor) { in finalizeFragmentSecondaryColor() argument
63 outputColor.addLayoutQualifier("location = 0, index = 1"); in finalizeFragmentSecondaryColor()
/external/skqp/src/effects/imagefilters/
DSkAlphaThresholdFilter.cpp244 SkColor outputColor(source); in onFilterImage() local
254 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
262 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
268 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
/external/skia/src/gpu/
DGrProcessorSet.cpp155 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps, clampType); in finalize()
182 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
DGrFragmentProcessor.h230 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() argument
232 *outputColor = this->constantOutputForConstantInput(inputColor); in hasConstantOutputForConstantInput()
/external/skqp/src/gpu/
DGrFragmentProcessor.h159 bool hasConstantOutputForConstantInput(SkPMColor4f inputColor, SkPMColor4f* outputColor) const { in hasConstantOutputForConstantInput() argument
161 *outputColor = this->constantOutputForConstantInput(inputColor); in hasConstantOutputForConstantInput()
DGrProcessorSet.cpp212 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps); in finalize()
239 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
DGrProcessorAnalysis.h136 GrProcessorAnalysisColor outputColor() const { in outputColor() function

12