Fixed samplers using images with a load policy of ON_DEMAND 89/38689/3
authorDavid Steele <david.steele@partner.samsung.com>
Fri, 24 Apr 2015 12:29:59 +0000 (13:29 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Tue, 28 Apr 2015 11:59:52 +0000 (12:59 +0100)
commit6e203220f9a682faf2ad9b209bfc7e25fc293187
treedc2d8808c1076175138c7ae3ef6939b1f8e1e341
parentdba0a6695dfcb0ff4328a6a9a1c5ee19342437c6
Fixed samplers using images with a load policy of ON_DEMAND

Images that have an ON_DEMAND policy, such as ResourceImage and Atlas
delay getting their resource ticket until they are staged. Sampler
should not attempt to read the resource Id until the image has been
connected.

Change-Id: I20772d1505eb92256e937363f14c70ac73d238ab
Signed-off-by: David Steele <david.steele@partner.samsung.com>
dali/internal/event/effects/sampler-impl.cpp
dali/internal/event/images/image-connector.cpp