Home
last modified time | relevance | path

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

/external/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp82 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookup() argument
83 if (colorXformHelper && colorXformHelper->isValid()) { in appendTextureLookup()
87 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookup()
98 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookupAndModulate() argument
101 if (colorXformHelper && colorXformHelper->isValid()) { in appendTextureLookupAndModulate()
103 this->appendColorGamutXform(&xform, lookup.c_str(), colorXformHelper); in appendTextureLookupAndModulate()
120 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendColorGamutXform() argument
128 if (colorXformHelper->applyInverseSRGB()) { in appendColorGamutXform()
138 if (colorXformHelper->applyTransferFn()) { in appendColorGamutXform()
140 const char* coeffs = uniformHandler->getUniformCStr(colorXformHelper->transferFnUniform()); in appendColorGamutXform()
[all …]
DGrGLSLShaderBuilder.h45 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
56 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
63 GrGLSLColorSpaceXformHelper* colorXformHelper);
66 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);
/external/skqp/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp82 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookup() argument
83 if (colorXformHelper && colorXformHelper->isValid()) { in appendTextureLookup()
87 this->appendColorGamutXform(lookup.c_str(), colorXformHelper); in appendTextureLookup()
98 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendTextureLookupAndModulate() argument
101 if (colorXformHelper && colorXformHelper->isValid()) { in appendTextureLookupAndModulate()
103 this->appendColorGamutXform(&xform, lookup.c_str(), colorXformHelper); in appendTextureLookupAndModulate()
120 GrGLSLColorSpaceXformHelper* colorXformHelper) { in appendColorGamutXform() argument
128 if (colorXformHelper->applyInverseSRGB()) { in appendColorGamutXform()
138 if (colorXformHelper->applyTransferFn()) { in appendColorGamutXform()
140 const char* coeffs = uniformHandler->getUniformCStr(colorXformHelper->transferFnUniform()); in appendColorGamutXform()
[all …]
DGrGLSLShaderBuilder.h45 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
56 GrGLSLColorSpaceXformHelper* colorXformHelper = nullptr);
63 GrGLSLColorSpaceXformHelper* colorXformHelper);
66 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);