Let Anti-Alias consider scale factor 63/301563/6
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 20 Nov 2023 04:41:03 +0000 (13:41 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 21 Nov 2023 23:28:42 +0000 (08:28 +0900)
commit4350a6c2ac0a60a3e80038388c0d009edbabe585
tree76f0efb7efe06875d8138a37c9fec35d10b2f6dd
parentf610564b03d515542cf5b8a209f07dc5c1030e73
Let Anti-Alias consider scale factor

Some days ago, we assume that the view which is smaller than 100x100 doesn't use
the range of anti-alias as 1.0.

(See https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/279801)

But it make some visual defect when we use 56x56 size of view and scale it up.

Basically, the problem of these issues comes due to visuald don't know the
scale value.
So let we get actor's scale value as default shader property,
and then use it as anti-alias calculation parameter.

Change-Id: I64b32049919cd79c9dda7fcf7c9c256e5b5a6078
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-abstraction.cpp
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-reflection.cpp
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