Classic demo effects using software rendering
To build the demo programs, you must first install the following tools:
$ sudo zypper install ninja gcc-c++ libSDL2-devel
$ sudo apt install ninja-build g++ libsdl2-dev
To build the demo programs, run:
$ ninja
A build
directory will be created, containing the demo programs.
Usage: demo [OPTION]...
Options:
-h, --help Display this text and exit
-w, --window Render in a window
--fullwindow Render in a fullscreen window
-f, --fullscreen Render in fullscreen
-v, --vsync Enable sync to vertical refresh
--novsync Disable sync to vertical refresh
-l, --linear Render using linear filtering
--nolinear Render using nearest pixel sampling
-c, --showcursor Show mouse cursor
--nocursor Hide mouse cursor
--showfps Show FPS counter in window title
--nofps Hide FPS counter
Licensed under MIT license. See LICENSE for more information.
- Johan Gardhage