#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

#125 in Graphics APIs

Download history 889/week @ 2024-01-29 1045/week @ 2024-02-05 1050/week @ 2024-02-12 1007/week @ 2024-02-19 1586/week @ 2024-02-26 2014/week @ 2024-03-04 1709/week @ 2024-03-11 2303/week @ 2024-03-18 2256/week @ 2024-03-25 1124/week @ 2024-04-01 1180/week @ 2024-04-08 895/week @ 2024-04-15 1286/week @ 2024-04-22 1447/week @ 2024-04-29 1048/week @ 2024-05-06 967/week @ 2024-05-13

4,864 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–12MB
~121K SLoC