#surface #devices #texture #gpu #low-level #cross-platform #management

surfman

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

24 releases

0.9.3 Apr 27, 2024
0.9.2 Mar 20, 2024
0.9.1 Feb 27, 2024
0.8.1 Oct 31, 2023
0.1.2 Nov 19, 2019

#75 in Graphics APIs

Download history 1099/week @ 2024-01-26 963/week @ 2024-02-02 1038/week @ 2024-02-09 1012/week @ 2024-02-16 1479/week @ 2024-02-23 1790/week @ 2024-03-01 1803/week @ 2024-03-08 2385/week @ 2024-03-15 2126/week @ 2024-03-22 1551/week @ 2024-03-29 1091/week @ 2024-04-05 954/week @ 2024-04-12 948/week @ 2024-04-19 1761/week @ 2024-04-26 1132/week @ 2024-05-03 665/week @ 2024-05-10

4,601 downloads per month
Used in 9 crates (2 directly)

MIT OR Apache-2.0 OR MPL-2.0

575KB
12K 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

~0.7–11MB
~121K SLoC