Reduce some useless if check during prepare render instructions 62/300862/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 3 Nov 2023 02:52:44 +0000 (11:52 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 3 Nov 2023 03:55:31 +0000 (12:55 +0900)
commitd217778ac6f0b391d9229dae551a40eff2fb57bf
treec2123de2e757b9b1dcb4bb1e05b82c12b26f756c
parent5d135ae96f2d08c2d9e4e2ea619a3d662d18e3d9
Reduce some useless if check during prepare render instructions

- Reduce overhead when we get ShaderData
- Do not check RenderingBehaviour multiple times.
- Remove some useless IntrusivePtr copy operation (Reference / Unreference)

Change-Id: I2215f7bacff6571c2508848ebda1ea67d52b8c98
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/event/rendering/shader-impl.cpp
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/shaders/program.cpp
dali/internal/render/shaders/program.h
dali/internal/render/shaders/render-shader.cpp
dali/internal/render/shaders/render-shader.h
dali/internal/update/manager/render-instruction-processor.cpp
dali/internal/update/manager/render-task-processor.cpp
dali/internal/update/rendering/scene-graph-renderer.cpp