Home
last modified time | relevance | path

Searched refs:linearEffect (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/shaders/
Dshaders.cpp233 std::string buildLinearEffectSkSL(const LinearEffect& linearEffect) { in buildLinearEffectSkSL() argument
236 generateOOTF(linearEffect.inputDataspace, linearEffect.outputDataspace, shaderString); in buildLinearEffectSkSL()
238 const bool needsCustomOETF = (linearEffect.fakeOutputDataspace & HAL_DATASPACE_TRANSFER_MASK) == in buildLinearEffectSkSL()
243 generateEffectiveOOTF(linearEffect.undoPremultipliedAlpha, linearEffect.type, needsCustomOETF, in buildLinearEffectSkSL()
276 const LinearEffect& linearEffect, const mat4& colorTransform, float maxDisplayLuminance, in buildLinearEffectUniforms() argument
281 auto inputColorSpace = toColorSpace(linearEffect.inputDataspace); in buildLinearEffectUniforms()
282 auto outputColorSpace = toColorSpace(linearEffect.outputDataspace); in buildLinearEffectUniforms()
/frameworks/native/libs/renderengine/skia/filters/
DLinearEffect.cpp32 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()
DLinearEffect.h32 sk_sp<SkRuntimeEffect> buildRuntimeEffect(const shaders::LinearEffect& linearEffect);
48 sk_sp<SkShader> inputShader, const shaders::LinearEffect& linearEffect,
/frameworks/base/libs/hwui/
DTonemapper.cpp45 static sk_sp<SkColorFilter> createLinearEffectColorFilter(const shaders::LinearEffect& linearEffect, in createLinearEffectColorFilter() argument
49 auto shaderString = SkString(shaders::buildLinearEffectSkSL(linearEffect)); in createLinearEffectColorFilter()
67 shaders::buildLinearEffectUniforms(linearEffect, colorTransform, maxDisplayLuminance, in createLinearEffectColorFilter()
/frameworks/native/libs/shaders/include/shaders/
Dshaders.h97 std::string buildLinearEffectSkSL(const LinearEffect& linearEffect);
101 const LinearEffect& linearEffect, const mat4& colorTransform, float maxDisplayLuminance,
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp1289 for (const auto& [linearEffect, unused] : mRuntimeEffects) { in dump()
1292 static_cast<android_dataspace>(linearEffect.inputDataspace)) in dump()
1296 static_cast<android_dataspace>(linearEffect.outputDataspace)) in dump()
1299 linearEffect.undoPremultipliedAlpha ? "true" : "false"); in dump()