Home
last modified time | relevance | path

Searched refs:colorXformHelper (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp113 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookup() argument
116 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookup()
124 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookupAndBlend() argument
135 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookupAndBlend()
140 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookupAndBlend()
155 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendColorGamutXform() argument
156 if (!colorXformHelper || colorXformHelper->isNoop()) { in appendColorGamutXform()
208 if (colorXformHelper->applySrcTF()) { in appendColorGamutXform()
209 srcTFFuncName = emitTFFunc("src_tf", colorXformHelper->srcTFUniform(), in appendColorGamutXform()
210 colorXformHelper->srcTFKind()); in appendColorGamutXform()
[all …]
DGrGLSLShaderBuilder.h48 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
57 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
67 GrGLSLColorSpaceXformHelper* colorXformHelper);
70 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);
/external/skqp/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp82 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookup() argument
85 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookup()
93 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookupAndModulate() argument
96 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookupAndModulate()
104 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendColorGamutXform() argument
105 if (!colorXformHelper || colorXformHelper->isNoop()) { in appendColorGamutXform()
138 if (colorXformHelper->applySrcTF()) { in appendColorGamutXform()
139 srcTFFuncName = emitTFFunc("src_tf", colorXformHelper->srcTFUniform()); in appendColorGamutXform()
143 if (colorXformHelper->applyDstTF()) { in appendColorGamutXform()
144 dstTFFuncName = emitTFFunc("dst_tf", colorXformHelper->dstTFUniform()); in appendColorGamutXform()
[all …]
DGrGLSLShaderBuilder.h44 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
55 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
62 GrGLSLColorSpaceXformHelper* colorXformHelper);
65 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);