#graphics #webgl #gpu #cross-platform #surface

surfman

A cross-platform, low-level toolkit for GPU surface management

14 releases

0.5.0 Jan 19, 2023
0.4.4 Dec 11, 2022
0.4.3 Jun 6, 2021
0.4.0 Mar 4, 2021
0.1.2 Nov 19, 2019

#149 in Graphics APIs

Download history 409/week @ 2022-10-14 457/week @ 2022-10-21 558/week @ 2022-10-28 560/week @ 2022-11-04 609/week @ 2022-11-11 696/week @ 2022-11-18 561/week @ 2022-11-25 466/week @ 2022-12-02 686/week @ 2022-12-09 685/week @ 2022-12-16 583/week @ 2022-12-23 596/week @ 2022-12-30 588/week @ 2023-01-06 823/week @ 2023-01-13 971/week @ 2023-01-20 713/week @ 2023-01-27

3,194 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

535KB
11K SLoC

Cross-platform GPU device and surface management.

You can use this crate to multithread a graphics application so that rendering happens on multiple threads, sharing textures among them in the most efficient manner. It may also be useful as a lightweight framework for just initializing rendering in native applications. This is in contrast to crates like SDL, GLFW, winit, and Glutin, all of which have a broader focus in that they manage windowing and the event loop as well.

Dependencies

~1.2–5.5MB
~123K SLoC