nuttx-apps/examples/tinygl/Kconfig
Alan Carvalho de Assis b66303e26a examples/tinygl: add TinyGL gears demo
Render Brian Paul's classic OpenGL "gears" demo with TinyGL on a NuttX
framebuffer device.  TinyGL draws each frame into its own ZBuffer, which
is then copied to the mmap()ed framebuffer (plus FBIO_UPDATE when
CONFIG_FB_UPDATE is enabled), so partially drawn frames are never shown.
The frame rate is printed every five seconds.

Usage: tinygl [frames] [fbdev]

Tested on sim:tinygl (640x480, 32 bpp): about 1400 FPS with
CONFIG_DEBUG_FULLOPT on an x86_64 host, with both make and CMake.

Assisted-By: Claude Opus 5.5 (1M context)
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2026-09-28 08:53:30 +08:00

38 lines
907 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_TINYGL
tristate "TinyGL gears demo"
default n
depends on GRAPHICS_TINYGL && VIDEO_FB
---help---
Render the classic OpenGL "gears" demo with TinyGL on a framebuffer
device. The framebuffer must use the same pixel format as TinyGL
(RGB32 or RGB565, see CONFIG_TINYGL_RENDER_BITS_*).
Usage: tinygl [frames] [fbdev]
if EXAMPLES_TINYGL
config EXAMPLES_TINYGL_DEFAULTFB
string "Default framebuffer driver"
default "/dev/fb0"
config EXAMPLES_TINYGL_PROGNAME
string "Program name"
default "tinygl"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config EXAMPLES_TINYGL_PRIORITY
int "Task priority"
default 100
config EXAMPLES_TINYGL_STACKSIZE
int "Stack size"
default 16384
endif