Support FastTrackUploading for YUV images 99/298299/14
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 5 Sep 2023 08:10:11 +0000 (17:10 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 14 Sep 2023 06:13:10 +0000 (15:13 +0900)
commite6146791d3bbce09a573a5864b94b58ca8006522
treec248de7d0db23eb9b006d97ef15b03e6d5cde291
parent8d1310981009027c13eaa1c46600955e60508c7c
Support FastTrackUploading for YUV images

Let we support YUV image case without additional image loading
or image operation.

Instead, let we think that FastTrackUploading will use
YUV format always if DALI_LOAD_IMAGE_YUV_PLANES=1.
And then, revert as standard shader if we are not use
YUV case actually.

To support this feature. let we make unified YUV + RGB shader can use
standard rgb image color for special case.
After load completed, we can determine the type of shader.

Change-Id: Ia4ffa288e705af751e722cd1440de2a014ad19b4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 files changed:
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/internal/graphics/shaders/image-visual-shader.frag
dali-toolkit/internal/image-loader/fast-track-loading-task.cpp
dali-toolkit/internal/image-loader/fast-track-loading-task.h
dali-toolkit/internal/texture-manager/texture-manager-impl.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.h
dali-toolkit/internal/visuals/image-visual-shader-factory.cpp
dali-toolkit/internal/visuals/image-visual-shader-factory.h
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/image/image-visual.h
dali-toolkit/internal/visuals/visual-factory-cache.cpp
dali-toolkit/internal/visuals/visual-factory-cache.h