Added connection for sampler texture 48/37948/1
authorDavid Steele <david.steele@partner.samsung.com>
Wed, 8 Apr 2015 18:55:56 +0000 (19:55 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Wed, 8 Apr 2015 18:55:56 +0000 (19:55 +0100)
commit0b7b233c4007025cca19303d3e5a64ef99a8fbc4
tree6c9c9502c4b1afb00ed5e2cec49185a981b2bbbe
parent29cd3a788524682a7ae2ed7e0bba00c084832b5d
Added connection for sampler texture

Adding an object connection for the sampler texture enables the
material to be informed when the sampler texture changes.

This is chained up to the renderable attachment, which re-sends
the data providers to the renderer, updating the texture.

Note, doubleBufferedProperty[i] = value does not enable the aging
behaviour, whereas doubleBufferedProperty.Set(i, value) does.

Change-Id: I3c43839e86cbc59a6c47598d287bfae512b18639
Signed-off-by: David Steele <david.steele@partner.samsung.com>
dali/internal/event/effects/sampler-impl.cpp
dali/internal/event/effects/sampler-impl.h
dali/internal/render/data-providers/material-data-provider.h
dali/internal/render/data-providers/render-data-provider.h
dali/internal/update/common/double-buffered-property.h
dali/internal/update/effects/scene-graph-material.cpp
dali/internal/update/effects/scene-graph-material.h
dali/internal/update/effects/scene-graph-sampler.cpp
dali/internal/update/effects/scene-graph-sampler.h
dali/internal/update/node-attachments/scene-graph-renderer-attachment.cpp
dali/public-api/shader-effects/sampler.cpp