[PATCH weston] simple-dmabuf-drm: fix build with --disable-egl
Emil Velikov
emil.l.velikov at gmail.com
Tue Jul 3 15:46:29 UTC 2018
Hi Emilio,
On 2 July 2018 at 16:22, Emilio Pozuelo Monfort <pochu27 at gmail.com> wrote:
> Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>
> ---
> I tried a build with --disable-egl as I didn't have the headers
> installed, and it broke here. The EGL usage here seemed optional so I
> did that, but I didn't run-test the result. If it would make more sense
> to disable the client if EGL support is disabled I can do that.
>
> clients/simple-dmabuf-drm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Fairly orthogonal question, aimed at wayland devs:
Why does this "simple" app has per-device code instead of using
gbm_bo_map/unmap?
API has been around for 2 years and every half recent Mesa driver has
support for it. Only the really old ones do not radeon (r100), r200,
nouveau_vieux and i915.
Thanks
Emil
More information about the wayland-devel
mailing list