Fix 2 animatedImageVisual issues 19/249119/4
authorSeungho Baek <sbsh.baek@samsung.com>
Mon, 7 Dec 2020 08:10:34 +0000 (17:10 +0900)
committerSeungho Baek <sbsh.baek@samsung.com>
Mon, 14 Dec 2020 07:02:28 +0000 (16:02 +0900)
 - 1. Make animate image visual do not caching in texture-manager
  - If 2 visual those have same image url and play without sync, it makes caching error.
 - 2. Make NextFrame methods.
  - Currently, the visual requests to load specific frame with index.
    But, if the system getting slow(like so many agif/webp in playing), the request and the loading can not be synchronized.
  - The visual will request next frame index with identical timing, but because the loading is slow, the loading frame will be throwed away and start next frame of the index.
  - This make bottle neck and also make stop to play.
  - This patch adds NextFrame that returns prepared next frame. If the next frame is in loading, this method is not to increase index and returns current rendered frame again.

Change-Id: Ia301ae654bcf8ee88167585bc4f4b1259a1e4e46
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>

No differences found