Append 1 pixel if corner radius is full-circle 94/301694/9
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 22 Nov 2023 02:22:40 +0000 (11:22 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 28 Nov 2023 05:56:05 +0000 (14:56 +0900)
commit5926b0ec7eb3ab1b142923dc2417a20db862ee22
tree94535846c7d049b76b42e4164a7769d4afb99334
parent5807fedff65502289d72957d90a01453dc26a81d
Append 1 pixel if corner radius is full-circle

Their was some visual quality issue occured when we render perfect circle.

The reason of issue was, the fragments for soft-anti-alias area was required.

For resolve this issue greedly, let we just append vertex position margin,
and render it applied as that margin value.

TODO : Currently, we only consider fully-circle case. Let we need to calculate
is there any similar defect need to be resolved for normal rect cases.

Change-Id: Ib114c29b08806e21c3830b1dc65a8098b34ef060
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/graphics/shaders/color-visual-shader.frag
dali-toolkit/internal/graphics/shaders/color-visual-shader.vert
dali-toolkit/internal/graphics/shaders/gradient-visual-shader.frag
dali-toolkit/internal/graphics/shaders/gradient-visual-shader.vert
dali-toolkit/internal/graphics/shaders/image-visual-shader.frag
dali-toolkit/internal/graphics/shaders/image-visual-shader.vert