
TGFX (Tencent Graphics) is a lightweight 2D graphics library designed for modern GPUs, delivering high-performance text, image, and vector rendering across all major platforms.

Core features fully align with Skia, covering images, vectors, text, blend modes, filters, Picture recording, and more. Advanced capabilities such as PDF, SVG, 3D transformations, and wide-gamut rendering are also supported. With comparable functionality, TGFX is significantly lighter, with the core rendering module approximately 30% of Skia's binary size.

The rendering pipeline is deeply optimized for modern GPUs, completely dropping support for legacy CPU pipelines. Memory usage is lower, CPU/GPU mixed-call blocking is minimized, and multi-threading, SIMD, and HardwareBuffer acceleration are fully utilized. In some scenarios, performance can be up to 10× higher than Skia.

Supports nearly all major platforms, including iOS, Android, macOS, Windows, Linux, Web, and OpenHarmony, while also compatible with Qt and mini-program environments. Through the PAG solution, TGFX has been deployed in thousands of leading products, with stability verified by a massive user base.

Provides a standalone, cross-platform GPU interface layer, unifying Metal, Vulkan, WebGPU, and OpenGL backends under a modern GPU API design. The wrapper is extremely thin, with near-zero runtime performance overhead. OpenGL safety is enhanced as well, allowing resources to be safely released on any thread.

Offers a layer rendering module close to the application layer, supporting out-of-the-box tree-structured display lists. It combines partial refresh and tiled rendering techniques with an efficient dirty marking system and fast culling, easily handling hundreds of thousands of layers on screen, while enabling smooth and responsive zooming and panning.

Comes with visual inspecting tools that, with specific compile options, enable fast frame capture, render flow analysis, and performance bottleneck detection across all platforms. For the layer rendering module, it provides a display list viewer to expand layers and preview attributes in real time, helping quickly identify rendering issues.

