[cairo] Cairo and Wayland
tarnyko at tarnyko.net
Wed Jun 26 07:56:05 UTC 2019
About your foreword:
- Ubuntu doesn't need the "--enable-egl=yes" option until they officially
support a Wayland compositor ;
- Ubuntu doesn't need the "--enable-glesv2=yes" option until they remove X11
completely (regardless of whether or not Wayland is supported).
About Q1: Look here for a recent (May) sample of using Cairo-GLES :
Simon Elliott writes:
> I want to use Cairo with Wayland on an embedded system.
> I found this tutorial: https://jan.newmarch.name/Wayland/Cairo/
> and this article from the mailing list archive:
> both of which suggested I needed to use wl_egl_window -> EGLSurface ->
> So I started to write some sample code on Ubuntu 18.04 to try this out,
> and found that Cairo GL/EGL support is disabled. This report is back from
> 2014 but it seems that support is still not enabled.
> This leaves me with a few questions:
> Q1: is wl_egl_window -> EGLSurface -> cairo_surface_t still considered the
> right way to use Cairo with Wayland? Or is there a better way?
> Q2: is the Cairo GL/EGL backend still experimental?
> cairo mailing list
> cairo at cairographics.org
More information about the cairo