Added VisualRenderer (for visual default properties) 83/271183/6
authorDavid Steele <david.steele@samsung.com>
Tue, 15 Feb 2022 10:01:35 +0000 (10:01 +0000)
committerDavid Steele <david.steele@samsung.com>
Wed, 9 Mar 2022 14:22:20 +0000 (14:22 +0000)
commit596dfee38d336a562d1aeb7a889988d9de4c7eef
tree8c602ddb49547593da6de3345b3d25840c0e5a9e
parente3df4b163e5570d4fdafdfe5380404a9027e7462
Added VisualRenderer (for visual default properties)

Rather than have registered properties for each visual,
embedded them in a specific type of VisualRenderer.

Added UniformMappings to ensure that they can be used as
uniforms. (Properties don't have to have the same name
as the uniform, but it's probably advisable. However, we
have some very specific hardcoded mapping for actor "size"
-> uniform "uSize" in render-renderer...), so it's less
confusing having property "transformSize"->uniform "size".

Changed types to ensure they match the actual uniform types
in the shaders.

Reduces creation time for each visual, as much more is done
at compilation time.

Change-Id: I386504fabf82f8e57f1138e3814897604b094061
Signed-off-by: David Steele <david.steele@samsung.com>
20 files changed:
automated-tests/src/dali/CMakeLists.txt
automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.cpp
automated-tests/src/dali/dali-test-suite-utils/test-graphics-buffer.cpp
automated-tests/src/dali/dali-test-suite-utils/test-graphics-controller.cpp
automated-tests/src/dali/dali-test-suite-utils/test-graphics-reflection.cpp
automated-tests/src/dali/dali-test-suite-utils/test-trace-call-stack.cpp
automated-tests/src/dali/dali-test-suite-utils/test-trace-call-stack.h
automated-tests/src/dali/utc-Dali-VisualRenderer.cpp [new file with mode: 0644]
dali/internal/event/rendering/renderer-impl.cpp
dali/internal/event/rendering/renderer-impl.h
dali/internal/event/rendering/visual-renderer-impl.cpp [new file with mode: 0644]
dali/internal/event/rendering/visual-renderer-impl.h [new file with mode: 0644]
dali/internal/file.list
dali/internal/update/rendering/scene-graph-renderer.h
dali/public-api/dali-core.h
dali/public-api/file.list
dali/public-api/object/property-index-ranges.h
dali/public-api/rendering/renderer.h
dali/public-api/rendering/visual-renderer.cpp [new file with mode: 0644]
dali/public-api/rendering/visual-renderer.h [new file with mode: 0644]