Added new shader hint for modifying geometry 64/25164/6
authorDavid Steele <david.steele@partner.samsung.com>
Tue, 22 Jul 2014 16:05:31 +0000 (17:05 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Thu, 31 Jul 2014 16:03:05 +0000 (17:03 +0100)
commit4c198f482d0c5802ef527e50d01022db8c0ceee9
tree171fa4748f3607ef9c577af55a899142fd4e4613
parentdd8db5498c113f2b4208e0e8416e230de989a3a8
Added new shader hint for modifying geometry

Culling can only be performed when the vertex shader doesn't move
vertices outside the bounding box. Custom shaders can specify whether
they dont change geometry by setting the hint DOESNT_MODIFY_GEOMETRY.
This will turn culling on for the actors that this shader is used
to render.

Further clean up applied.

Change-Id: Ia28ba7bc0f23613316c9b21a536a94e851337bd2
Signed-off-by: David Steele <david.steele@partner.samsung.com>
dali/internal/event/effects/shader-effect-impl.cpp
dali/internal/event/effects/shader-effect-impl.h
dali/internal/event/effects/shader-factory.cpp
dali/internal/render/renderers/scene-graph-renderer.cpp
dali/internal/render/shaders/program.cpp
dali/internal/render/shaders/program.h
dali/internal/render/shaders/shader.cpp
dali/internal/render/shaders/shader.h
dali/internal/update/manager/update-manager.cpp
dali/internal/update/manager/update-manager.h
dali/public-api/shader-effects/shader-effect.h