grimfang4/sdl-gpu
A library for high-performance, modern 2D graphics with SDL written in C. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 84
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4186
- days_rel: n/a
- days_push: 99
- n_releases_24m: 0
Adoption not part of the score
1240 stars · 123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SDL_gpu is a C library providing high-performance, hardware-accelerated 2D rendering on top of SDL, with automatic batching, a shader API, and OpenGL/OpenGL ES backends. It offers an SDL 1.2-style API for sprites, geometry, blend states, and built-in primitive shapes.
Use cases
- render 2D sprites with GPU acceleration in C
- build a 2D game with SDL and OpenGL batching
- draw primitive shapes like lines, rects, and polygons with hardware acceleration
- mix 2D rendering with explicit OpenGL 3D calls
- apply custom shaders to 2D rendering
- load and render PNG, BMP, and TGA images with rotation and scaling
When to choose
- you want fast 2D rendering in C/C++ without writing OpenGL boilerplate
- you need automatic draw-call batching for many sprites
- you want an SDL-familiar API with shader support and blend state control
- you need to target OpenGL and OpenGL ES across desktop and mobile
When to avoid
- you need 3D rendering as the primary focus
- you want a modern renderer built on SDL3's SDL_GPU API rather than this legacy project
- you need backends beyond OpenGL/OpenGL ES such as Vulkan, Metal, or Direct3D
- you prefer a higher-level game engine with scene management
Facets
library · maturity maintenance
graphics image-processing ui-components graphics cross-platform windows cpp c cross-platform game-engine sdl 2d-graphics opengl sprite-rendering shaders hardware-accelerated rendering-library game-development linux macos
1 source
- readme: https://github.com/grimfang4/sdl-gpu · fetched 2026-08-28 · 530a9944605d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| grimfang4/sdl-gpu | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="grimfang4/sdl-gpu")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem