BSD Ports

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

SystemPortVersion
FreeBSDgraphics/sdl2_gpu0.12.0_3
DragonFlygraphics/sdl2_gpu0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.12.0_30.12.0_3-0.12.00.12.0_3
FreeBSD:14:quarterly0.12.0_30.12.0_3n/a0.12.00.12.0_3
FreeBSD:15:latest0.12.0_30.12.0_3n/a0.12.00.12.0
FreeBSD:15:quarterly0.12.0_30.12.0_3n/an/an/a
FreeBSD:16:latest0.12.0_30.12.0_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
Run dependencies 41
Required by 1

Configuration

Options name: graphics_sdl2_gpu

OptionDefaultDescription
DOXYGENoffBuild 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
FileSizeSHA256
grimfang4-sdl-gpu-v0.12.0_GH0.tar.gz99460400b7dd7fe30cdc95483c2ad5de347855d4e984bd5e8da56f3c24a4a2960fc9ba

Commit history 2

DateCommitCreditsLog message
fe42fb742f Robert Clausecker graphics/sdl2_gpu: fix build with cmake 4
9d12ba27ad Dima Panov graphics/sdl2_gpu: fix plist after devel/doxygen update