servo / skia

Skia
BSD 3-Clause "New" or "Revised" License
109 stars 61 forks source link

Standalone API without rust-azure / Actual bindings to Skia #135

Open haudan opened 7 years ago

haudan commented 7 years ago

Title

This crate doesn't serve much purpose to the public rust community in it's current state, since it can only be "used" through rust-azure, which is not an option for many projects.

I suggest implementing a standalone API, which wraps the API of Skia (ffi and high-level, as is common with Rust bindings).

Standlone API bindings to Skia could seriously improve the state of GUI programming with Rust.

My background

I'm planning / working on a Rust GUI library and was looking for a hardware accelerated 2D graphics library, to power the rendering. Skia seemed like the perfect candidate and so I went looking for Rust bindings on crates.io, where I quickly found this project. I was quickly disappointed however, because this project does not provide any actual bindings to Skia whatsoever.

jdm commented 7 years ago

You may want to build on https://github.com/DiamondLovesYou/skia-rs instead.

haudan commented 7 years ago

I'm checking out that lib currently. Cheers @jdm!