graphics/sdl2_gpu 0.12.0 DragonFly
Hardware-accelerated 2D graphics library
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- graphics
- Package size
- 1317.3 KiB, 5679.9 KiB installed
Description
SDL_gpu, a library for making hardware-accelerated 2D graphics easy.
- High performance (it automatically collects and submits batches instead of separate draw commands for each sprite and redundant state changes)
- Shader API
- Arbitrary geometry rendering (triangles)
- Can be integrated with explicit OpenGL calls (mixed 2D and 3D)
- Full blend state control
- Built-in primitive shapes (points, lines, tris, rects, ellipses, polygons, even arcs)
- Uses a style familiar to SDL 1.2 users
- Compatible with either SDL 1.2 or 2.0
- Loads BMP, TGA, and PNG files via stb-image
- Rotates and scales about the center of images, making reasoning about the resulting corner coordinates more obvious (adjustable via anchor settings)
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | graphics/sdl2_gpu | 0.12.0 |
| FreeBSD | graphics/sdl2_gpu | 0.12.0_3 |
Install
Binary package:
pkg install sdl2_gpu
From DPorts:
cd /usr/dports/graphics/sdl2_gpu && make install clean
Dependencies
Run dependencies 4
No port depends on this one.