Added Blending handling for materials and renderers 54/38654/2
authorDavid Steele <david.steele@partner.samsung.com>
Tue, 21 Apr 2015 15:52:39 +0000 (16:52 +0100)
committerFrancisco Santos <f1.santos@samsung.com>
Tue, 28 Apr 2015 09:32:31 +0000 (10:32 +0100)
commitdba0a6695dfcb0ff4328a6a9a1c5ee19342437c6
treeaf198435f21965ba683af227ed1d7380d06ea86a
parentc0b4d9b1de324532d320278dc45360e5d72895ef
Added Blending handling for materials and renderers

Updated the material properties and data handlers to pass the blending
factors and equations through to the renderer.

Updated the RendererAttachment and SceneGraph::Material to determine
if blending is required.

Updated renderer to pass the depth index to the scene graph renderer
Ensured the scene graph renderer has it's properties reset. (WIP)
Temporarily copied the depth index to the existing sort modifier
(Allows the depth index to be used without changing ProcessRenderTasks)

Change-Id: I9eb98b67b8b0f79c9bf855203215cc96e94c112b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
24 files changed:
dali/internal/event/actors/renderer-impl.cpp
dali/internal/event/effects/material-impl.cpp
dali/internal/event/effects/material-impl.h
dali/internal/event/effects/shader-impl.cpp
dali/internal/event/effects/shader-impl.h
dali/internal/event/geometry/geometry-impl.cpp
dali/internal/render/data-providers/material-data-provider.h
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/renderers/render-renderer.h
dali/internal/render/renderers/scene-graph-renderer.cpp
dali/internal/render/renderers/scene-graph-renderer.h
dali/internal/update/effects/scene-graph-material.cpp
dali/internal/update/effects/scene-graph-material.h
dali/internal/update/manager/prepare-render-algorithms.cpp
dali/internal/update/manager/process-render-tasks.cpp
dali/internal/update/manager/update-manager.cpp
dali/internal/update/node-attachments/node-attachment.h
dali/internal/update/node-attachments/scene-graph-image-attachment.cpp
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.cpp
dali/internal/update/node-attachments/scene-graph-renderer-attachment.h
dali/public-api/actors/renderer.cpp
dali/public-api/actors/renderer.h