Changed drawing order for 2D and 3D layers 12/46012/1
authorFerran Sole <ferran.sole@samsung.com>
Thu, 13 Aug 2015 08:38:24 +0000 (09:38 +0100)
committerFerran Sole <ferran.sole@samsung.com>
Thu, 13 Aug 2015 08:38:24 +0000 (09:38 +0100)
commita4387a05849bc5d4398c5a8fb738eebd9b96a494
tree20c5252255e0766be734b5543ff743e7da862daf
parentfe9150d4c62cb57d10492681a33747d6560976ec
Changed drawing order for 2D and 3D layers

 -In 2D Layers, all renderers (opaque and transparent) are sorted based on its SortModifier/DepthIndex.
 -In 3D Layers, opaque renderers are sorted by mesh and material to reduce GL state changes
  and transparent renderers are sorted back to front. SortModifier/DepthIndex is used as an offset to
  the Z position of the transparent renderers when sorting.

Change-Id: I5ca4cd4786bd106d62edf6428c58ad538a0dd2f3
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/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/nodes/scene-graph-layer.h