-
Notifications
You must be signed in to change notification settings - Fork 2k
Improve baked Skeletal Animation performance. #18705
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
Improve baked Skeletal Animation performance. #18705
Conversation
@cocos-robot run test cases |
Code Size Check Report
Interface Check Report! WARNING this pull request has changed these public interfaces:
@@ -21487,8 +21487,9 @@
IsScaleLocked = 262144,
IsAnchorLocked = 524288,
IsSizeLocked = 1048576,
IsPositionLocked = 2097152,
+ IsSkipTransformUpdate = 16777216,
PersistentMask = -4192741,
AllHideMasks = 1560
}
/**
|
@Changdw, Please check the result of
Task Details
|
@Changdw, Please check the result of
Task Details
|
@cocos-robot run test cases |
@Changdw, Please check the result of
Task Details
|
@Changdw, Please check the result of
Task Details
|
@cocos-robot run test cases |
Why write isSkipTransformUpdate to CCObject? |
In some cases, we need to skip the unnecessary transform updates of Node. Since Node inherits from CCObject, we added a flag to indicate that the transform update of Node can be skipped. We also considered adding a dedicated property to indicate skipping the transform update of Node. However, given the extensive use of Node, adding a property might significantly increase memory usage. Therefore, we opted for the solution of adding a flag. |
@Changdw, Please check the result of
Task Details |
@Changdw, Please check the result of
Task Details |
@cocos-robot run-test-cases-custom |
I just realized that _objFlags is on CCObject, and isSkipTransformUpdate is more like an accessor that should be on Node. but it doesn't matter anymore. |
@cocos-robot run-test-cases-custom |
@Changdw, Please check the result of
Task Details |
@Changdw, Please check the result of
Task Details |
@cocos-robot run test cases |
@Changdw, Please check the result of
Task Details |
@Changdw, Please check the result of
Task Details
|
@cocos-robot run test cases |
@Changdw, Please check the result of
Task Details
|
@Changdw, Please check the result of
Task Details |
@cocos-robot run test cases |
@Changdw, Please check the result of
Task Details
|
@Changdw, Please check the result of
Task Details |
Re: #18180
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: