#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

#53 in Graphics APIs

Download history 1199/week @ 2024-01-23 901/week @ 2024-01-30 1009/week @ 2024-02-06 1101/week @ 2024-02-13 991/week @ 2024-02-20 1614/week @ 2024-02-27 2010/week @ 2024-03-05 1849/week @ 2024-03-12 2331/week @ 2024-03-19 2147/week @ 2024-03-26 1035/week @ 2024-04-02 1199/week @ 2024-04-09 961/week @ 2024-04-16 1440/week @ 2024-04-23 1274/week @ 2024-04-30 1018/week @ 2024-05-07

4,884 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