Expose a function which marks all descendants dirty
Summary: Expose a function which marks all descendants dirty Reviewed By: emilsjolander Differential Revision: D6911869 fbshipit-source-id: e0a3abcf5653f921297edfdca473d83b947cc627
This commit is contained in:
committed by
Facebook Github Bot
parent
d66239bea8
commit
6e38a26f32
@@ -99,6 +99,10 @@ WIN_EXPORT void YGNodeCalculateLayout(const YGNodeRef node,
|
||||
// marking manually.
|
||||
WIN_EXPORT void YGNodeMarkDirty(const YGNodeRef node);
|
||||
|
||||
// This function marks the current node and all its descendants as dirty. This function is added to test yoga benchmarks.
|
||||
// This function is not expected to be used in production as calling `YGCalculateLayout` will cause the recalculation of each and every node.
|
||||
WIN_EXPORT void YGNodeMarkDirtyAndPropogateToDescendants(const YGNodeRef node);
|
||||
|
||||
WIN_EXPORT void YGNodePrint(const YGNodeRef node, const YGPrintOptions options);
|
||||
|
||||
WIN_EXPORT bool YGFloatIsUndefined(const float value);
|
||||
|
Reference in New Issue
Block a user