ImageVisual Load policy 30/156430/9
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Wed, 18 Oct 2017 08:12:00 +0000 (09:12 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Wed, 25 Oct 2017 13:39:05 +0000 (14:39 +0100)
commit93833d2c76d1cab9da6fce404739e95e093da911
tree64fb30d8da2283403bb4ad5b39aea270d8540f93
parentd07dc4c4a6067ba3080184d862bca40a90d1789c
ImageVisual Load policy

ImageVisual can be created with a PropertyMap that inserts a load policy.

Depending on the load policy the image(texture) will load immediately when the visual
is created or when the visual is attached to the stage.

Can be used to preload special images so can be displayed immediately on request.

Registered Visuals with LoadPolicy::IMMEDIATE will signal ResourceReadySignal when attached to stage.

Limitations:

Atlasing not supported with IMMEDIATE mode currently.

Change-Id: I3e1b3fd19f3027edb62858549890972f6a166cd0
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/devel-api/visuals/image-visual-properties-devel.h
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/image/image-visual.h
dali-toolkit/internal/visuals/texture-manager-impl.cpp
dali-toolkit/internal/visuals/visual-string-constants.cpp
dali-toolkit/internal/visuals/visual-string-constants.h