Allow multiple renderers per Actor and sharing renderers between actors 70/47770/25
authorFerran Sole <ferran.sole@samsung.com>
Tue, 8 Sep 2015 14:37:30 +0000 (15:37 +0100)
committerFerran Sole <ferran.sole@samsung.com>
Thu, 24 Sep 2015 11:43:14 +0000 (04:43 -0700)
commitdd4bc34bdeb8d96806a4683367d08af4f98fbb51
tree3b8d995d756886af64728a9c8a6359ab8cd19d91
parentdc6291bf94ddefb36216562185f5b1a39a240a4b
Allow multiple renderers per Actor and sharing renderers between actors

-Separate Renderers from NodeAttachments
-Actor has references to Renderer handles
-Node has references to SceneGraph renderers
-UpdateManager owns SceneGraph renderers
-RenderManager owns render thread renderers
-Moved render thread renderers to Render namespace
-Added support for triange strips and triangle fans

Change-Id: I854f92821b52098b59d639542b0eb1c01572c69b
63 files changed:
automated-tests/src/dali-devel/utc-Dali-Renderer.cpp
dali/integration-api/profiling.cpp
dali/internal/event/actor-attachments/renderer-attachment-impl.cpp [deleted file]
dali/internal/event/actor-attachments/renderer-attachment-impl.h [deleted file]
dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/actor-impl.h
dali/internal/event/events/hit-test-algorithm-impl.cpp
dali/internal/event/rendering/renderer-impl.cpp
dali/internal/event/rendering/renderer-impl.h
dali/internal/file.list
dali/internal/render/common/culling-algorithms.cpp
dali/internal/render/common/culling-algorithms.h
dali/internal/render/common/render-algorithms.cpp
dali/internal/render/common/render-item.cpp
dali/internal/render/common/render-item.h
dali/internal/render/common/render-list.h
dali/internal/render/common/render-manager.cpp
dali/internal/render/common/render-manager.h
dali/internal/render/data-providers/node-data-provider.h
dali/internal/render/data-providers/render-data-provider.cpp
dali/internal/render/data-providers/render-data-provider.h
dali/internal/render/renderers/render-geometry.cpp
dali/internal/render/renderers/render-image-renderer.cpp [moved from dali/internal/render/renderers/scene-graph-image-renderer.cpp with 94% similarity]
dali/internal/render/renderers/render-image-renderer.h [moved from dali/internal/render/renderers/scene-graph-image-renderer.h with 91% similarity]
dali/internal/render/renderers/render-new-renderer.cpp [new file with mode: 0644]
dali/internal/render/renderers/render-new-renderer.h [new file with mode: 0644]
dali/internal/render/renderers/render-renderer-property-buffer.h
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/renderers/render-renderer.h
dali/internal/render/renderers/scene-graph-renderer-debug.cpp [deleted file]
dali/internal/render/renderers/scene-graph-renderer-debug.h [deleted file]
dali/internal/render/renderers/scene-graph-renderer-declarations.h [deleted file]
dali/internal/render/renderers/scene-graph-renderer.cpp [deleted file]
dali/internal/render/renderers/scene-graph-renderer.h [deleted file]
dali/internal/update/common/discard-queue.cpp
dali/internal/update/common/discard-queue.h
dali/internal/update/common/property-owner.h
dali/internal/update/common/scene-graph-connection-change-propagator.cpp
dali/internal/update/common/scene-graph-connection-change-propagator.h
dali/internal/update/controllers/render-message-dispatcher.cpp
dali/internal/update/controllers/render-message-dispatcher.h
dali/internal/update/manager/object-owner-container.h
dali/internal/update/manager/prepare-render-algorithms.cpp
dali/internal/update/manager/prepare-render-instructions.cpp
dali/internal/update/manager/prepare-render-instructions.h
dali/internal/update/manager/process-render-tasks.cpp
dali/internal/update/manager/update-algorithms.cpp
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h
dali/internal/update/node-attachments/scene-graph-image-attachment.cpp
dali/internal/update/node-attachments/scene-graph-image-attachment.h
dali/internal/update/node-attachments/scene-graph-renderable-attachment.cpp
dali/internal/update/node-attachments/scene-graph-renderable-attachment.h
dali/internal/update/node-attachments/scene-graph-renderer-attachment.h [deleted file]
dali/internal/update/nodes/node.cpp
dali/internal/update/nodes/node.h
dali/internal/update/nodes/scene-graph-layer.h
dali/internal/update/rendering/scene-graph-geometry.cpp
dali/internal/update/rendering/scene-graph-material.cpp
dali/internal/update/rendering/scene-graph-renderer.cpp [moved from dali/internal/update/node-attachments/scene-graph-renderer-attachment.cpp with 50% similarity]
dali/internal/update/rendering/scene-graph-renderer.h [new file with mode: 0644]
dali/public-api/actors/actor.cpp
dali/public-api/common/dali-vector.h