BSD Ports

graphics/kmscube s20241106 MidnightBSD

Example KMS/GBM/EGL application

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
graphics

Description

kmscube is a little demonstration program for how to drive bare metal graphics without a compositor like X11, Wayland or similar, using DRM/KMS (kernel mode setting), GBM (graphics buffer manager) and EGL for rendering content using OpenGL or OpenGL ES.

In the other systems

SystemPortVersion
MidnightBSDgraphics/kmscubes20241106
FreeBSDgraphics/kmscubes20241106
GhostBSDgraphics/kmscubes20241106

Install

Binary package:

mport install kmscube

From mports:

cd /usr/mports/graphics/kmscube && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	kmscube>0:graphics/kmscube

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

Options name: graphics_kmscube

OptionDefaultDescription
GSTREAMERoff
PNGon
USES
gl meson pkgconfig
Service scripts
none

Files

distinfo 1
FileSizeSHA256
kmscube-311eaaa.tar.bz292118d3da1d9cb3509144722669f9dea4185a39b4fcc5c18e167158022642415e83d6