Added setIndicesRange(offset, count) function to the Dali::Renderer which allows... 84/66584/6
authorAdam Bialogonski <adam.b@samsung.com>
Tue, 19 Apr 2016 13:46:45 +0000 (14:46 +0100)
committerAdam Bialogonski <adam.b@samsung.com>
Thu, 21 Apr 2016 15:33:06 +0000 (16:33 +0100)
commitcd2de1fc7256d7d5d5e517d2ce2f2c486bea1046
tree5d1c43a722471cc2c4123c15b1afdd161de25337
parent094beff24a92c2a54119e10b8a49ce129e7517a1
Added setIndicesRange(offset, count) function to the Dali::Renderer which allows to render only a part of the index buffer.

Update patchset 3: changed variable name for better code readability
Update patchset 4: added two properties INDEXED_DRAW_FIRST_ELEMENT and INDEXED_DRAW_ELEMENTS_COUNT. the public api function setIndicesRange() wraps those properties now. Added simple test case to test setIndicesRange() function. added safeguard to make sure the indices won't go out of bounds.
Update patchset 5: first element and count are not public vars anymore in the scene-graph-renderer.h
Update patchset 6: compilation error

Change-Id: I3102128c0fed753663ae2135fe11fb3a55652984
automated-tests/src/dali-devel/utc-Dali-Renderer.cpp
dali/devel-api/rendering/renderer.h
dali/internal/event/rendering/renderer-impl.cpp
dali/internal/event/rendering/renderer-impl.h
dali/internal/render/renderers/render-geometry.cpp
dali/internal/render/renderers/render-geometry.h
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/renderers/render-renderer.h
dali/internal/update/rendering/scene-graph-renderer.cpp
dali/internal/update/rendering/scene-graph-renderer.h