[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
Alternatives To Gfx
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Alacritty48,7523a day ago6March 24, 2023312apache-2.0Rust
A cross-platform, OpenGL terminal emulator.
a day ago19August 17, 202127gpl-3.0Python
Cross-platform, fast, feature-rich, GPU based terminal
2 days ago931otherC++
Open3D: A Modern Library for 3D Data Processing
Wgpu8,926162672 days ago34July 21, 2023468apache-2.0Rust
Cross-platform, safe, pure-rust graphics api.
Gfx5,284665777 months ago52February 27, 2023333apache-2.0Rust
[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
a day ago133mitC
A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord:
52 years ago2October 22, 2018195bsd-3-clauseSwift
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
Ultralight4,35212 months ago1August 10, 2018246CMake
Lightweight, high-performance HTML renderer for game and app developers.
Pathfinder3,2792813 hours ago4April 17, 2020109apache-2.0Rust
A fast, practical GPU rasterizer for fonts and vector graphics
2 months ago31apache-2.0C
Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer
Alternatives To Gfx
Select To Compare

Alternative Project Comparisons

Matrix room gfx-hal on Build Status
Getting Started | Documentation | Blog | Funding


gfx-rs is a low-level, cross-platform graphics and compute abstraction library in Rust. It consists of the following components:

gfx-hal deprecation

As of the v0.9 release, gfx-hal is now in maintenance mode. gfx-hal development was mainly driven by wgpu, which has now switched to its own GPU abstraction called wgpu-hal. For this reason, gfx-hal development has switched to maintenance only, until the developers figure out the story for gfx-portability. Read more about the transition in #3768.


  • gfx-hal which is gfx's hardware abstraction layer: a Vulkan-ic mostly unsafe API which translates to native graphics backends.
  • gfx-backend-* which contains graphics backends for various platforms:
  • gfx-warden which is a data-driven reference test framework, used to verify consistency across all graphics backends.

gfx-rs is hard to use, it's recommended for performance-sensitive libraries and engines. If that's not your domain, take a look at wgpu-rs for a safe and simple alternative.

Hardware Abstraction Layer

The Hardware Abstraction Layer (HAL), is a thin, low-level graphics and compute layer which translates API calls to various backends, which allows for cross-platform support. The API of this layer is based on the Vulkan API, adapted to be more Rust-friendly.

Hardware Abstraction Layer (HAL)

Currently HAL has backends for Vulkan, DirectX 12/11, Metal, and OpenGL/OpenGL ES/WebGL.

The HAL layer is consumed directly by user applications or libraries. HAL is also used in efforts such as gfx-portability.

See the Big Picture blog post for connections.

The old gfx crate (pre-ll)

This repository was originally home to the gfx crate, which is now deprecated. You can find the latest versions of the code for that crate in the pre-ll branch of this repository.

The master branch of this repository is now focused on developing gfx-hal and its associated backend and helper libraries, as described above. gfx-hal is a complete rewrite of gfx, but it is not necessarily the direct successor to gfx. Instead, it serves a different purpose than the original gfx crate, by being "lower level" than the original. Hence, the name of gfx-hal was originally ll, which stands for "lower level", and the original gfx is now referred to as pre-ll.

The spiritual successor to the original gfx is actually wgpu, which stands on a similar level of abstraction to the old gfx crate, but with a modernized API that is more fit for being used over Vulkan/DX12/Metal. If you want something similar to the old gfx crate that is being actively developed, wgpu is probably what you're looking for, rather than gfx-hal.


We are actively looking for new contributors and aim to be welcoming and helpful to anyone that is interested! We know the code base can be a bit intimidating in size and depth at first, and to this end we have a label on the issue tracker which marks issues that are new contributor friendly and have some basic direction for completion in the issue comments. If you have any questions about any of these issues (or any other issues) you may want to work on, please comment on GitHub and/or drop a message in our Matrix chat!


This repository is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Popular Gpu Projects
Popular Opengl Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.