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.
Click to show internal directories.
Click to hide internal directories.