Add rn-tester example exercising every batched-animated prop#56734
Open
bartlomiejbloniarz wants to merge 3 commits intomainfrom
Open
Add rn-tester example exercising every batched-animated prop#56734bartlomiejbloniarz wants to merge 3 commits intomainfrom
bartlomiejbloniarz wants to merge 3 commits intomainfrom
Conversation
Summary: Add a new React Native feature flag, `optimizedAnimatedPropUpdates`, which gates an upcoming optimized code path for applying animated property updates from the C++ animation backend. The flag defaults to disabled and has no behavioural impact on its own. Changelog: [General][Added] - Add `optimizedAnimatedPropUpdates` feature flag Differential Revision: D101157450
Summary: Adds a new performance test example to the Animation Backend section in rn-tester. The example renders a grid of animated views to stress-test the animation backend. Changelog: [General][Added] - Add Performance Test example to the rn-tester Animation Backend section Differential Revision: D104053337
Summary: Adds a new RNTester example under the Animation Backend section that runs a looping animation per each property handled by BatchedAnimatedPropsMountItem: - Top-level numeric props: opacity, elevation, zIndex, shadowOpacity, shadowRadius - Color props: backgroundColor, color (Text), tintColor (Image), and all borderColor / borderTopColor / borderBottomColor / borderLeftColor / borderRightColor / borderStartColor / borderEndColor variants - All 13 border-radius props (borderRadius and per-corner) in px units, plus borderRadius in percent units - All transforms: translateX/Y in px and percent, scale/scaleX/scaleY, rotate/rotateX/rotateY/rotateZ in deg and rad, skewX/skewY, perspective Each row exercises one distinct command id from the buffer protocol decoded by BatchedAnimatedPropsMountItem, making it easy to visually verify that every supported animated prop survives the C++ to Java buffer round-trip. Changelog: [General][Added] - Add All Animated Props example to the rn-tester Animation Backend section Differential Revision: D102800169
|
@bartlomiejbloniarz has exported this pull request. If you are a Meta employee, you can view the originating Diff in D102800169. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Adds a new RNTester example under the Animation Backend section that runs a looping animation per each property handled by BatchedAnimatedPropsMountItem:
borderColor / borderTopColor / borderBottomColor / borderLeftColor /
borderRightColor / borderStartColor / borderEndColor variants
borderRadius in percent units
rotate/rotateX/rotateY/rotateZ in deg and rad, skewX/skewY, perspective
Each row exercises one distinct command id from the buffer protocol decoded by BatchedAnimatedPropsMountItem, making it easy to visually verify that every supported animated prop survives the C++ to Java buffer round-trip.
Changelog:
[General][Added] - Add All Animated Props example to the rn-tester Animation Backend section
Differential Revision: D102800169