1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/graphics/sdl2_gpu/pkg-descr
Robert Clausecker 5e321a7bd7 graphics/sdl2_gpu: Hardware-accelerated 2D graphics library
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)

WWW: https://github.com/grimfang4/sdl-gpu
2023-05-18 10:19:43 +02:00

18 lines
755 B
Plaintext

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)