Searched refs:linearEffect (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/shaders/ |
D | shaders.cpp | 233 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/ |
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/base/libs/hwui/ |
D | Tonemapper.cpp | 45 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/ |
D | shaders.h | 97 std::string buildLinearEffectSkSL(const LinearEffect& linearEffect); 101 const LinearEffect& linearEffect, const mat4& colorTransform, float maxDisplayLuminance,
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaRenderEngine.cpp | 1289 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()
|