Tencent/tgfx
A lightweight 2D graphics library for modern GPUs, delivering high-performance text, image, and vector rendering across major platforms. observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 99
- Release rhythm 37
- Longevity 74
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 39
- age_days: 1049
- days_rel: 341
- days_push: 7
- n_releases_24m: 6
Adoption not part of the score
1574 stars · 135 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TGFX (Tencent Graphics) is a lightweight C++ 2D graphics library built for modern GPUs, providing high-performance rendering of text, images, and vector graphics. It serves as a smaller, faster alternative to Skia and supports multiple rendering backends including OpenGL, Vulkan, Metal, WebGPU, and WebGL across all major platforms.
Use cases
- render vector graphics and text on mobile GPUs
- replace Skia with a smaller 2D rendering engine
- render images and filters in a video editing app
- draw 2D UI layers with GPU acceleration in a cross-platform app
- render SVG and PDF content on iOS and Android
- build a web-based 2D canvas renderer with WebGL or WebGPU
When to choose
- you need a lightweight, GPU-accelerated 2D renderer across mobile, desktop, and web
- binary size matters and Skia is too heavy
- you need multiple GPU backends (OpenGL, Vulkan, Metal, WebGPU) behind one API
- you are building with PAG, Hippy, or similar Tencent ecosystems
When to avoid
- you need CPU-only software rendering on legacy hardware
- you require Metal backend support today (still in progress)
- you need extensive documentation and a large community ecosystem
- your project is not C++ or lacks C++17 toolchain support
Facets
library · maturity active
graphics image-processing pdf parser graphics cross-platform windows wasm cpp 2d-graphics gpu-rendering vector-graphics text-rendering skia-alternative svg opengl vulkan metal webgpu game-development ios android macos linux
3 sources
- readme: https://github.com/Tencent/tgfx · fetched 2026-08-28 · 0aa6cd388b74
- homepage: https://tgfx.org · fetched 2026-08-29 · 4c769cd289dc
- site_page: https://tgfx.org/docs/home.html · fetched 2026-08-29 · c4bbac2ff51a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Tencent/tgfx | main | 72 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem