forked from chrfalch/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fabric: Test for reseting (and preserving) Yoga dirty flag during Sha…
…dowNode cloning Summary: This is a quite fragile and important part of the render engine. We need to dirty Yoga node only in cases where a change affects layout. In the case of over-dirtying, we can kill performance. In the case of under-dirtying, we can produce an incorrect layout. Changelog: [Internal] Fabric-specific internal change. Reviewed By: sammy-SC Differential Revision: D19596279 fbshipit-source-id: 9f2ac67c44cb35c8ba44be1025b94b7921b74e17
- Loading branch information
Showing
3 changed files
with
169 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,8 +80,9 @@ fb_xplat_cxx_test( | |
contacts = ["[email protected]"], | ||
platforms = (ANDROID, APPLE, CXX), | ||
deps = [ | ||
"fbsource//xplat/folly:molly", | ||
"fbsource//xplat/third-party/gmock:gtest", | ||
":view", | ||
react_native_xplat_target("fabric/element:element"), | ||
react_native_xplat_target("fabric/components/root:root"), | ||
react_native_xplat_target("fabric/components/view:view"), | ||
], | ||
) |
This file contains 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
This file contains 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