Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NUI] Support PropertyValue set/get without create new Vector2/3/4 #6513

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

hinohie
Copy link
Contributor

@hinohie hinohie commented Dec 11, 2024

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/+/316151

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/+/316151

Signed-off-by: Eunki, Hong <[email protected]>
Copy link
Contributor

@dongsug-song dongsug-song left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good!
approved!

hinohie pushed a commit to hinohie/TizenFX that referenced this pull request Dec 11, 2024
…/3/4

This is cherry-pick patch of Samsung#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 <[email protected]>
@hinohie hinohie merged commit 616664b into Samsung:DevelNUI Dec 11, 2024
3 checks passed
@hinohie hinohie deleted the property_value_get_optimize branch December 11, 2024 04:48
hinohie pushed a commit that referenced this pull request Dec 11, 2024
…/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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants