[4.0] ImageVisual Release policy 41/158541/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Tue, 26 Sep 2017 19:19:51 +0000 (20:19 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 1 Nov 2017 18:07:40 +0000 (18:07 +0000)
commitd472f966f70b45d5002c076ddd72a03070820ba7
tree1305dd0cc73d2e251d710a1ee22aaea8b1dd2327
parent91cf1c5ea4a3f761b05624769544e87d5d3b47f9
[4.0] ImageVisual Release policy

ImageVisual can be created with a PropertyMap that inserts a release policy.
Depending on release policy the image lifetime in the texture cache will change.
Can be used for images that are often put on and taken off stage to reduce re-loading time.

Change-Id: If275630f236174ebbea3fde4cefae015b8db3a0f
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/devel-api/file.list
dali-toolkit/devel-api/visuals/image-visual-properties-devel.h [new file with mode: 0644]
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/image/image-visual.h
dali-toolkit/internal/visuals/visual-string-constants.cpp
dali-toolkit/internal/visuals/visual-string-constants.h