Besides graphics, other modules (like video/camera) also depends on drm for buffer management. So wayland drm protocol header file should be exported. See Benjamin's work to enable libva for wayland: http://cgit.freedesktop.org/~bnf/libva/log/?h=wayland (I ported it to latest wayland api)
With this patch, we can avoid the hack to copy wayland-drm.xml from mesa to libva. src/egl/wayland/wayland-drm/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-drm/Makefile.am index cf15eda..2e68ac4 100644 --- a/src/egl/wayland/wayland-drm/Makefile.am +++ b/src/egl/wayland/wayland-drm/Makefile.am @@ -7,8 +7,9 @@ noinst_LTLIBRARIES = libwayland-drm.la libwayland_drm_la_SOURCES = wayland-drm.c wayland-drm-protocol.c noinst_HEADERS = wayland-drm.h +include_HEADERS = wayland-drm-client-protocol.h + BUILT_SOURCES = wayland-drm-protocol.c \ - wayland-drm-client-protocol.h \ wayland-drm-server-protocol.h CLEANFILES = $(BUILT_SOURCES) -- 1.7.5.4
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev