github GlassHaven/Haven v4.12.0
v4.12.0: GPU renderer verified, Wayland improvements

latest releases: v6.0.1, v6.0.0, v5.94.92...
8 months ago

GPU acceleration groundwork + Wayland polish

GPU Renderer (Phase 1-2 of 5)

The GLES2 renderer now initializes successfully on Android:

  • EGL 1.5 via eglGetDisplay(EGL_DEFAULT_DISPLAY) — Android's native EGL path
  • OpenGL ES 3.2 on ARM Mali-G715 (Pixel 8 Pro Tensor G3)
  • wlroots' GLES2 renderer creates via wlr_egl_create_with_context() + wlr_gles2_renderer_create()

Currently falls back to pixman (software) for actual rendering because the GLES2 renderer needs DMA-BUF buffers. Next step: AHardwareBuffer allocator (Phase 3) to provide GPU-accessible buffers, then ASurfaceControl (Phase 4) for zero-copy display.

wlroots patches for Android GLES2

  • render/meson.build: GBM dependency optional on Android
  • render/egl.c: skip EGL_EXT_platform_base check (Android EGL 1.5 has native platform functions)
  • render/gles2/renderer.c: skip EGL_EXT_image_dma_buf_import requirement (Android uses EGL_ANDROID_image_native_buffer)
  • Stub gbm.h + synthetic egl.pc/glesv2.pc for cross-compilation
  • labwc server.c: hooks for external renderer/allocator injection

Other changes

  • Supporter quote added to README

GPU acceleration roadmap

Phase Status Description
1. Build GLES2 Done wlroots compiles with GLES2 renderer on Android
2. EGL init Done Android EGL + GLES2 renderer verified on Mali-G715
3. AHardwareBuffer allocator Next GPU-accessible buffers with DMA-BUF export
4. ASurfaceControl presenter Planned Zero-copy display, eliminates CPU blit
5. Integration Planned Zoom, touch, keyboard with GPU path

Tracking: #47

Full Changelog: v4.11.0...v4.12.0

Don't miss a new Haven release

NewReleases is sending notifications on new releases.