Back to Lynx

Clay

clay/README.md

3.7.03.8 KB
Original Source

Clay

Clay is a high-performance, feature-rich, and multi-platform consistent rendering runtime based on the Flutter engine. It includes several feature enhancements and performance optimizations, including:

  • Support for rendering with the Skity 2D library (https://github.com/lynx-family/skity)
  • Performance optimizations such as frame scheduling, animations, memory and images
  • Expanded platform support on tvOS and HarmonyOS, also support for embedding in Qt and Electron
  • Feature alignment with the Lynx framework, including native modules, CSS rendering, and providing consistent elements, among others

And additional features inspired by Chromium, including:

  • Schedule frame based on a state machine
  • Run animations and defer image decoding on the GPU thread
  • Support for sharing graphics resources between different graphics APIs, including across multiple processes

Clay is committed to providing developers in different cross-platform scenarios with rendering capabilities featuring "high performance, multi-platform consistency, and easy to integrate", helping multi-platform developers accelerate the innovation and iteration of cross-platform solutions and enabling users to have a consistent and excellent experience on any device.

Try Clay

Environment Setup

The project use habitat to manage dependencies. You can install habitat by following the instructions on the habitat repository.

Also use ninja to build project.

Build and Run

To learn about running example, see example

Credits

Clay use the following third-party libraries. We appreciate the efforts of the developers and the open-source community behind these projects.

License

Clay is Apache licensed, as found in the LICENSE file.