nuttx-apps/graphics
Alan Carvalho de Assis a539a4d768 graphics/tinygl: add TinyGL software OpenGL library
Add TinyGL (https://github.com/C-Chads/tinygl), a small software-only
implementation of a subset of OpenGL 1.1 written in portable C99, by
Fabrice Bellard, Gek and C-Chads, under a zlib-style license.

Like graphics/lvgl, the sources are not kept in the repository: the
build downloads a pinned git revision from GitHub
(CONFIG_TINYGL_VERSION) and applies the NuttX patches that live next to
the Makefile:

  0001 zfeatures: allow overriding the feature switches at build time
  0002 Fix -Wstrict-prototypes warnings
  0003 zbuffer: do not over-read the source in ZB_copyFrameBuffer()
  0004 zbuffer.h: make the default allocator wrappers static inline

The TinyGL compile time features (pixel depth, GL_SELECT, GL_POLYGON,
blending, texture size, ...) are exposed as CONFIG_TINYGL_* Kconfig
options.  They change public structures, so Make.defs / CMakeLists.txt
export them to every application that includes <GL/gl.h> or
<zbuffer.h>.

Both the make and the CMake builds are supported.  An unpack stamp file
makes sure an object directory created inside the source tree is never
mistaken for downloaded sources.

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
..
ft80x include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
input monkey: add missing blank lines after declarations 2026-09-15 09:16:23 -03:00
jpgresizetool graphics/jpgresizetool: Add libjpeg resize tool 2025-10-27 00:14:45 +08:00
libjpeg Add JPEG compressor support to Makefile 2025-07-17 13:54:22 +08:00
libyuv cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
lvgl cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
microwindows graphics/microwindows: nanoxcalc fix and upstream update to fix warnings 2026-09-06 10:39:44 -03:00
nxglyphs graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
nxwidgets include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nxwm !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
pdcurs34 graphics/pdcurs34: Fixes for wide char build 2026-08-19 00:49:57 +08:00
screenshot graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
slcd include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
tiff !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
tinygl graphics/tinygl: add TinyGL software OpenGL library 2026-09-28 08:53:30 +08:00
twm4nx !apps: Simplify NuttX initialization 2026-05-06 13:27:05 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00