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 Androidrender/egl.c: skipEGL_EXT_platform_basecheck (Android EGL 1.5 has native platform functions)render/gles2/renderer.c: skipEGL_EXT_image_dma_buf_importrequirement (Android usesEGL_ANDROID_image_native_buffer)- Stub
gbm.h+ syntheticegl.pc/glesv2.pcfor 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