Moved TextureCache dispatch methods to their own class 94/60294/7
authorDavid Steele <david.steele@samsung.com>
Wed, 24 Feb 2016 20:37:20 +0000 (20:37 +0000)
committerDavid Steele <david.steele@samsung.com>
Wed, 11 May 2016 16:29:27 +0000 (17:29 +0100)
commit33b53cef3dbb23a5973065b3f0836adfc00a6ba8
tree984928e31d2e5774e3668556b6685ffd2436b392
parent9399f25c2385050a3477900e76208a61bb124e07
Moved TextureCache dispatch methods to their own class

TextureCache dispatch methods should be in their own class to enforce
the Update/Render split. This patch also cleans up all the places where
TextureCache was used in place of TextureCacheDispatcher.

The only user of TextureCacheDispatcher is now ResourceManager, with
initialization from SceneGraphBuffer object in UpdateManager (So the
dispatcher knows which buffer index to use for it's queue).

(This removes some long standing todo's...)

Change-Id: I23f5bbebd9b9348395a8f627e5d533a6a10ea58f
Signed-off-by: David Steele <david.steele@samsung.com>
15 files changed:
dali/internal/common/core-impl.cpp
dali/internal/common/core-impl.h
dali/internal/event/resources/resource-client.h
dali/internal/file.list
dali/internal/render/common/texture-cache-dispatcher.cpp [deleted file]
dali/internal/render/gl-resources/bitmap-texture.cpp
dali/internal/render/gl-resources/texture-cache.cpp
dali/internal/render/gl-resources/texture-cache.h
dali/internal/update/common/texture-cache-dispatcher.cpp [new file with mode: 0644]
dali/internal/update/common/texture-cache-dispatcher.h [moved from dali/internal/render/common/texture-cache-dispatcher.h with 75% similarity]
dali/internal/update/controllers/scene-controller-impl.h
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h
dali/internal/update/resources/resource-manager.cpp
dali/internal/update/resources/resource-manager.h