Searched refs:linearEffect (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/shaders/ |
D | shaders.cpp | 453 std::string buildLinearEffectSkSL(const LinearEffect& linearEffect) { in buildLinearEffectSkSL() argument 455 generateEOTF(linearEffect.fakeInputDataspace == ui::Dataspace::UNKNOWN in buildLinearEffectSkSL() 456 ? linearEffect.inputDataspace in buildLinearEffectSkSL() 457 : linearEffect.fakeInputDataspace, in buildLinearEffectSkSL() 460 generateOOTF(linearEffect.inputDataspace, linearEffect.outputDataspace, shaderString); in buildLinearEffectSkSL() 461 generateOETF(linearEffect.outputDataspace, shaderString); in buildLinearEffectSkSL() 462 generateEffectiveOOTF(linearEffect.undoPremultipliedAlpha, shaderString); in buildLinearEffectSkSL() 468 const LinearEffect& linearEffect, const mat4& colorTransform, float maxDisplayLuminance, in buildLinearEffectUniforms() argument 473 const ui::Dataspace inputDataspace = linearEffect.fakeInputDataspace == ui::Dataspace::UNKNOWN in buildLinearEffectUniforms() 474 ? linearEffect.inputDataspace in buildLinearEffectUniforms() [all …]
|
/frameworks/native/libs/renderengine/skia/filters/ |
D | LinearEffect.cpp | 32 sk_sp<SkRuntimeEffect> buildRuntimeEffect(const shaders::LinearEffect& linearEffect) { in buildRuntimeEffect() argument 34 SkString shaderString = SkString(shaders::buildLinearEffectSkSL(linearEffect)); in buildRuntimeEffect() 44 sk_sp<SkShader> shader, const shaders::LinearEffect& linearEffect, in createLinearEffectShader() argument 54 shaders::buildLinearEffectUniforms(linearEffect, colorTransform, maxDisplayLuminance, in createLinearEffectShader()
|
D | LinearEffect.h | 32 sk_sp<SkRuntimeEffect> buildRuntimeEffect(const shaders::LinearEffect& linearEffect); 48 sk_sp<SkShader> inputShader, const shaders::LinearEffect& linearEffect,
|
/frameworks/native/libs/shaders/include/shaders/ |
D | shaders.h | 97 std::string buildLinearEffectSkSL(const LinearEffect& linearEffect); 101 const LinearEffect& linearEffect, const mat4& colorTransform, float maxDisplayLuminance,
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 80 const shaders::LinearEffect& linearEffect, in createLinearEffectShader() argument 84 auto shaderString = SkString(shaders::buildLinearEffectSkSL(linearEffect)); in createLinearEffectShader() 95 linearEffect, mat4(), maxDisplayLuminance, currentDisplayLuminanceNits, maxLuminance); in createLinearEffectShader()
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.cpp | 1636 for (const auto& [linearEffect, unused] : mRuntimeEffects) { in dump() 1639 static_cast<android_dataspace>(linearEffect.inputDataspace)) in dump() 1643 static_cast<android_dataspace>(linearEffect.outputDataspace)) in dump() 1646 linearEffect.undoPremultipliedAlpha ? "true" : "false"); in dump()
|