[NUI][API12] Support PropertyValue set/get without create new Vector2/3/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 11 Dec 2024 03:14:40 +0000 (12:14 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 11 Dec 2024 04:48:33 +0000 (13:48 +0900)
commitfa5a51bc22d1c73120b47b2b2a3291bebc97a9d5
treea19ca51af4d9ae34be75544b06f6f611d32ac7c9
parentfe4bba6b3cc67292dbecbeeb1f5abf21d124a534
[NUI][API12] Support PropertyValue set/get without create new Vector2/3/4

This is cherry-pick patch of #6513

Since NUI Vector2 / Vector3 / Vector4 are managed classes,
create and dispose them might give overhead sightly.

If some memory/performance critical path don't want to create
useless temperal Vector234 classes when we get/set PropertyValue,
we need to support it.

Relative dali patch:

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/316158

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/internal/Interop/Interop.PropertyValue.cs
src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs
src/Tizen.NUI/src/public/Common/PropertyValue.cs