Change Layer's ReuseRenderers check only if we need 04/305704/2
authorEunki Hong <eunkiki.hong@samsung.com>
Tue, 6 Feb 2024 14:37:11 +0000 (23:37 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Wed, 14 Feb 2024 01:50:41 +0000 (10:50 +0900)
commitef6f4aa2a955dacd4185f4f6867e0caf7a9f5281
tree64938a6e8f504fdb32816cf31f3dbe3dd0605989
parent73095041a54f6afc5bac818914177d675fffb948
Change Layer's ReuseRenderers check only if we need

Until now, we check ReuseRenderers value even though we make it as false.
It may required iterate O(RenderItem) times. So we can reduce useless check.

Change-Id: I83364e5dd7816e1b09c1ac01e30c45ad20d1769a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/internal/update/manager/update-algorithms.cpp
dali/internal/update/nodes/scene-graph-layer.h