Optimize PropertyMap and PropertyValue 18/317318/2
authorJiyun Yang <ji.yang@samsung.com>
Thu, 19 Dec 2024 13:01:01 +0000 (22:01 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Mon, 30 Dec 2024 10:13:05 +0000 (19:13 +0900)
commitcc18543e4490bb975f069ffe1896e63d991f7664
tree3fecca84d8606f7c2eb1ca9925bdf980dd9c25a8
parent6766f9ba26e1b5a75b196ae2eefcf82a4177e188
Optimize PropertyMap and PropertyValue

Add methods to help optimizing property value and property map

1. CSharp_Dali_Property_Map_Add_XXX
Adds a value to a PropertyMap without generating PropertyValue in c# managed heap.

2. CSharp_Dali_XXX_set_all
Enables to set all fields at once for Dali primitives such as Vector4.
This is to recycle native dali object.

3. CSharp_Dali_Actor_InternalSetPropertyXXX
Sets a PropertyValue to the actor without generating PropertyValue in c# managed heap.

Change-Id: I15bbcf572a140cbc9614d60af3c1e6bb2b4b5027
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dali-csharp-binder/common/dali-wrap.cpp
dali-csharp-binder/dali-core/extents-wrap.cpp
dali-csharp-binder/dali-core/internal-property-get-set-wrap.cpp
dali-csharp-binder/dali-core/vector-wrap.cpp