[Tizen] Resolve memory issues of webp 01/266001/6
authorSeungho Baek <sbsh.baek@samsung.com>
Wed, 3 Nov 2021 14:23:18 +0000 (23:23 +0900)
committerSeungho BAEK <sbsh.baek@samsung.com>
Tue, 9 Nov 2021 05:53:10 +0000 (05:53 +0000)
commitfa559234c4db4402fa1b6e7c6b49cacb948805c6
tree4e1707ed28dc1af4f3261842e275d6ba92f09836
parent1e14c0d524fd3b66b15d736da25efe37cd8e9ed4
[Tizen] Resolve memory issues of webp

 - If an webp is loaded by image-visual, the image-visual loads only the first frame and renders.
 - So, after the first frame is loaded, the opened file should be closed.
 - And if a single frame webp is loaded by animated-image-visual, we don't keep the buffer until the loader is deleted.

Change-Id: I2f8f962cdf97ef0146321e8b206d93a7a66522db
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
dali/internal/imaging/common/loader-webp.cpp
dali/internal/imaging/common/webp-loading.cpp