egl.cr

EGL bindings and scoped offscreen GLES context host

EGL context host for Crystal

require "egl" exposes EGL::Context.open(width, height) and direct LibEGL bindings. The scoped helper creates a GLES 3 pbuffer context, makes it current, and releases it afterward. Its default platform is Mesa surfaceless; applications can supply platform/native-display arguments.

This is a small offscreen host, independent of Garnet and GL bindings. It does not provide Android window or lifecycle integration. See the GLES integration test and run scripts/check-gles from the workspace.

Repository

egl.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 2
  • 0
  • 1 day ago
  • November 30, 2026
License

MIT License

Links
Synced at

Wed, 02 Dec 2026 02:09:33 GMT

Languages