C++ Fabric Core LayoutAnimations

Summary:
This is the V1 implementation of Fabric Core LayoutAnimations.

The intention is to structure this in such a way that it's easy for each platform to customize the "AnimationDriver" class (to do platform-specific optimizations) without changing the KeyFrameManager at all.

In the future, this structure and architecture should allow us to iterate faster on new animation APIs.

TODOs:

- Use std::chrono for timekeeping

Changelog: [Internal] Support for LayoutAnimations in Fabric

Reviewed By: shergin

Differential Revision: D17486030

fbshipit-source-id: 95c72cf9fc2b4bf3fe652fbd249cf2ad113033c7
This commit is contained in:
Joshua Gross
2020-05-20 14:11:18 -07:00
committed by Facebook GitHub Bot
parent 3265519920
commit e9d6fb2ec6
26 changed files with 1658 additions and 66 deletions
@@ -288,7 +288,7 @@ void Binding::installFabricUIManager(
toolbox.runtimeExecutor = runtimeExecutor;
toolbox.synchronousEventBeatFactory = synchronousBeatFactory;
toolbox.asynchronousEventBeatFactory = asynchronousBeatFactory;
scheduler_ = std::make_shared<Scheduler>(toolbox, this);
scheduler_ = std::make_shared<Scheduler>(toolbox, nullptr, this);
}
void Binding::uninstallFabricUIManager() {