Fix several squircle error + Make render effect shader latest squircle code 15/319815/3
authorEunki Hong <eunkiki.hong@samsung.com>
Sun, 3 Nov 2024 16:30:14 +0000 (01:30 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 4 Nov 2024 01:20:59 +0000 (10:20 +0900)
commitbf193ddaaadee729cc539aa794543778ce6949fd
tree1dc2e8784ecb5c24c7228f15c6ca7834e7a93b5b
parentc6397255b93ff7ac60cd21540747ad62225ef697
Fix several squircle error + Make render effect shader latest squircle code

- We don't need to calcualte positiveDiff if cornerSquareness value is 1.0
- Support Squircle shape for animated vector image / svg / animated image.
- Use morden method to calculate SDF value with squareness at BackgroundBlurEffect.

Change-Id: I4d4d97e497b5d76a33fcab42c49b8089c09d4425
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali-toolkit/devel-api/visuals/visual-properties-devel.h
dali-toolkit/internal/graphics/shaders/color-visual-shader.frag
dali-toolkit/internal/graphics/shaders/gradient-visual-shader.frag
dali-toolkit/internal/graphics/shaders/image-visual-shader.frag
dali-toolkit/internal/graphics/shaders/render-effect.frag
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.cpp
dali-toolkit/internal/visuals/svg/svg-visual.cpp