graphics/sdl2_gpu 0.12.0_3 FreeBSD
Hardware-accelerated 2D graphics library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
fe42fb742f- License
- MIT
- Categories
- graphics
- Package size
- 241.8 KiB, 1722.6 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 |
|---|---|---|
| FreeBSD | graphics/sdl2_gpu | 0.12.0_3 |
| DragonFly | graphics/sdl2_gpu | 0.12.0 |
Install
Binary package:
pkg install sdl2_gpu
From the ports tree:
cd /usr/ports/graphics/sdl2_gpu/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sdl2_gpu>0:graphics/sdl2_gpu
LIB_DEPENDS= libSDL2_gpu.so:graphics/sdl2_gpu
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.12.0_3 | 0.12.0_3 | - | 0.12.0 | 0.12.0_3 |
| FreeBSD:14:quarterly | 0.12.0_3 | 0.12.0_3 | n/a | 0.12.0 | 0.12.0_3 |
| FreeBSD:15:latest | 0.12.0_3 | 0.12.0_3 | n/a | 0.12.0 | 0.12.0 |
| FreeBSD:15:quarterly | 0.12.0_3 | 0.12.0_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12.0_3 | 0.12.0_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 53
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libepoll-shim
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libunistring
- devel/libuv
- devel/llvm12
- devel/ninja
- devel/pkgconf
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- dns/libidn2
- graphics/glew
- graphics/libGLU
- graphics/libdrm
- graphics/libglvnd
- graphics/mesa-libs
- graphics/spirv-tools
- graphics/vulkan-loader
- graphics/wayland
- lang/perl5.42
- lang/python312
- math/mpdecimal
- misc/hwdata
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- sysutils/libdisplay-info
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXcursor
- x11/libXdamage
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/libxkbcommon
- x11/libxshmfence
- x11/xkeyboard-config
- x11/xorgproto
Run dependencies 41
- archivers/liblz4
- archivers/zstd
- devel/libepoll-shim
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/llvm12
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- graphics/glew
- graphics/libGLU
- graphics/libdrm
- graphics/libglvnd
- graphics/mesa-libs
- graphics/spirv-tools
- graphics/vulkan-loader
- graphics/wayland
- lang/perl5.42
- misc/hwdata
- print/indexinfo
- sysutils/libdisplay-info
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXcursor
- x11/libXdamage
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/libxkbcommon
- x11/libxshmfence
- x11/xkeyboard-config
- x11/xorgproto
Required by 1
Configuration
Options name: graphics_sdl2_gpu
| Option | Default | Description |
|---|---|---|
| DOXYGEN | off | Build documentation with Doxygen |
- USES
- cmake gl sdl pkgconfig
- Service scripts
- none
Files
pkg-plist 247
- include/SDL2/SDL_gpu.h
- include/SDL2/SDL_gpu_GLES_1.h
- include/SDL2/SDL_gpu_GLES_2.h
- include/SDL2/SDL_gpu_GLES_3.h
- include/SDL2/SDL_gpu_OpenGL_1.h
- include/SDL2/SDL_gpu_OpenGL_1_BASE.h
- include/SDL2/SDL_gpu_OpenGL_2.h
- include/SDL2/SDL_gpu_OpenGL_3.h
- include/SDL2/SDL_gpu_OpenGL_4.h
- include/SDL2/SDL_gpu_RendererImpl.h
- include/SDL2/SDL_gpu_version.h
- lib/libSDL2_gpu.a
- lib/libSDL2_gpu.so
- share/doc/sdl2_gpu/html/SDL__gpu_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__GLES__1_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__GLES__2_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__GLES__3_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__OpenGL__1_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__OpenGL__1__BASE_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__OpenGL__2_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__OpenGL__3_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__OpenGL__4_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__RendererImpl_8h_source.html
- share/doc/sdl2_gpu/html/SDL__gpu__version_8h_source.html
- share/doc/sdl2_gpu/html/annotated.html
- share/doc/sdl2_gpu/html/classes.html
- share/doc/sdl2_gpu/html/dir_0ded69fbb3b5fb347e54caf74307dca5.html
- share/doc/sdl2_gpu/html/dir_2ac3dc40d82d3c27194ba6314c9324fe.html
- share/doc/sdl2_gpu/html/dir_2ac3dc40d82d3c27194ba6314c9324fe_dep.map
- share/doc/sdl2_gpu/html/dir_2ac3dc40d82d3c27194ba6314c9324fe_dep.md5
- share/doc/sdl2_gpu/html/dir_2ac3dc40d82d3c27194ba6314c9324fe_dep.png
- share/doc/sdl2_gpu/html/dir_588f99d7eb91ed08aa1358a87b9fd6ca.html
- share/doc/sdl2_gpu/html/dir_588f99d7eb91ed08aa1358a87b9fd6ca_dep.map
- share/doc/sdl2_gpu/html/dir_588f99d7eb91ed08aa1358a87b9fd6ca_dep.md5
- share/doc/sdl2_gpu/html/dir_588f99d7eb91ed08aa1358a87b9fd6ca_dep.png
- share/doc/sdl2_gpu/html/doxygen.css
- share/doc/sdl2_gpu/html/doxygen.svg
- share/doc/sdl2_gpu/html/files.html
- share/doc/sdl2_gpu/html/functions.html
- share/doc/sdl2_gpu/html/functions_func.html
- share/doc/sdl2_gpu/html/functions_vars.html
- share/doc/sdl2_gpu/html/graph_legend.html
- share/doc/sdl2_gpu/html/graph_legend.md5
- share/doc/sdl2_gpu/html/graph_legend.png
- share/doc/sdl2_gpu/html/group__ContextControls.html
- share/doc/sdl2_gpu/html/group__Conversions.html
- share/doc/sdl2_gpu/html/group__ImageControls.html
- share/doc/sdl2_gpu/html/group__Initialization.html
- share/doc/sdl2_gpu/html/group__Initialization.map
- share/doc/sdl2_gpu/html/group__Initialization.md5
- share/doc/sdl2_gpu/html/group__Initialization.png
- share/doc/sdl2_gpu/html/group__Logging.html
- share/doc/sdl2_gpu/html/group__Matrix.html
- share/doc/sdl2_gpu/html/group__RendererControls.html
- share/doc/sdl2_gpu/html/group__RendererControls.map
- share/doc/sdl2_gpu/html/group__RendererControls.md5
- share/doc/sdl2_gpu/html/group__RendererControls.png
- share/doc/sdl2_gpu/html/group__RendererSetup.html
- share/doc/sdl2_gpu/html/group__RendererSetup.map
- share/doc/sdl2_gpu/html/group__RendererSetup.md5
- share/doc/sdl2_gpu/html/group__RendererSetup.png
- share/doc/sdl2_gpu/html/group__Rendering.html
- share/doc/sdl2_gpu/html/group__ShaderInterface.html
- share/doc/sdl2_gpu/html/group__Shapes.html
- share/doc/sdl2_gpu/html/group__SurfaceControls.html
- share/doc/sdl2_gpu/html/group__TargetControls.html
- share/doc/sdl2_gpu/html/index.html
- share/doc/sdl2_gpu/html/menu.js
- share/doc/sdl2_gpu/html/menudata.js
- share/doc/sdl2_gpu/html/search/all_0.js
- share/doc/sdl2_gpu/html/search/all_1.js
- share/doc/sdl2_gpu/html/search/all_2.js
- share/doc/sdl2_gpu/html/search/all_3.js
- share/doc/sdl2_gpu/html/search/all_4.js
- share/doc/sdl2_gpu/html/search/all_5.js
- share/doc/sdl2_gpu/html/search/all_6.js
- share/doc/sdl2_gpu/html/search/all_7.js
- share/doc/sdl2_gpu/html/search/all_8.js
- share/doc/sdl2_gpu/html/search/all_9.js
- share/doc/sdl2_gpu/html/search/all_a.js
- share/doc/sdl2_gpu/html/search/all_b.js
- share/doc/sdl2_gpu/html/search/all_c.js
- share/doc/sdl2_gpu/html/search/classes_0.js
- share/doc/sdl2_gpu/html/search/classes_1.js
- share/doc/sdl2_gpu/html/search/classes_2.js
- share/doc/sdl2_gpu/html/search/classes_3.js
- share/doc/sdl2_gpu/html/search/enums_0.js
- share/doc/sdl2_gpu/html/search/functions_0.js
- share/doc/sdl2_gpu/html/search/functions_1.js
- share/doc/sdl2_gpu/html/search/functions_2.js
- share/doc/sdl2_gpu/html/search/functions_3.js
- share/doc/sdl2_gpu/html/search/functions_4.js
- share/doc/sdl2_gpu/html/search/functions_5.js
- share/doc/sdl2_gpu/html/search/functions_6.js
- share/doc/sdl2_gpu/html/search/groups_0.js
- share/doc/sdl2_gpu/html/search/groups_1.js
- share/doc/sdl2_gpu/html/search/groups_2.js
- share/doc/sdl2_gpu/html/search/groups_3.js
- share/doc/sdl2_gpu/html/search/groups_4.js
- share/doc/sdl2_gpu/html/search/groups_5.js
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| grimfang4-sdl-gpu-v0.12.0_GH0.tar.gz | 994604 | 00b7dd7fe30cdc95483c2ad5de347855d4e984bd5e8da56f3c24a4a2960fc9ba |