headless, gl-renderer: support pbuffer outputs

Graphics / Wayland / Weston - Pekka Paalanen [collabora.com] - 11 October 2019 12:16 EDT

Use the surfaceless platform in the headless backend to initialize the GL-renderer and create pbuffer outputs. This allows headless backend to use GL-renderer, even hardware accelerated.

This paves way for exercising GL-renderer in CI and using the Weston test suite to test hardware GL ES implementations.

Relates to: https://gitlab.freedesktop.org/wayland/weston/issues/278

5104d7b2 headless, gl-renderer: support pbuffer outputs
include/libweston/backend-headless.h | 3 ++
libweston/backend-headless/headless.c | 82 ++++++++++++++++++++++++++++++++++-
libweston/renderer-gl/gl-renderer.c | 43 ++++++++++++++++++
libweston/renderer-gl/gl-renderer.h | 27 ++++++++++++
4 files changed, 154 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share