#open-harmony #harmony-os #ui #ffi #x-component

xcomponent-sys

Raw Bindings to the xcomponent API of OpenHarmony

6 releases

0.3.1 Jan 29, 2025
0.3.0 Jan 9, 2025
0.2.1 Jan 8, 2025
0.1.1 Oct 28, 2024

#378 in Graphics APIs

Download history 136/week @ 2024-10-26 368/week @ 2024-11-02 705/week @ 2024-11-09 851/week @ 2024-11-16 634/week @ 2024-11-23 655/week @ 2024-11-30 903/week @ 2024-12-07 1005/week @ 2024-12-14 700/week @ 2024-12-21 447/week @ 2024-12-28 1513/week @ 2025-01-04 992/week @ 2025-01-11 1418/week @ 2025-01-18 1281/week @ 2025-01-25 1313/week @ 2025-02-01

5,283 downloads per month
Used in ohos-sys

Apache-2.0

395KB
4.5K SLoC

OpenHarmony XComponent bindings

Low-level bindings to the native XComponent API on OpenHarmony, used to draw to a surface with OpenGL or Vulkan from native (Rust) code. A higher level binding is provided by the xcomponent crate.

English Documentation Chinese Documentation

License

Licensed under the Apache-2.0 license, matching the license of OpenHarmony.


lib.rs:

Source:

English Documentation Chinese Documentation

Feature flags

Dependencies

~0–285KB