offscreen-render

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

EGL offscreen rendering with pbuffer and OpenGL ES 2.

Demonstrates a complete offscreen render pipeline: EGL display initialization, config selection for ES2+pbuffer, pbuffer surface creation, ES2 context creation, making the context current, querying display strings, issuing GL clear commands, reading back pixels to verify the render, and orderly cleanup in reverse order.

This pattern is the basis for headless GPU compute, offscreen render-to-texture, and screenshot capture on Android.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL