[Mesa-dev] [Patch 2] wayland-drm: export wayland-drm-client-protocol.h for installation (enable libva over wayland)

Zhao, Halley halley.zhao at intel.com
Wed Feb 22 18:44:11 PST 2012


Resend the patch, it is required to enable libva over wayland.

== patch description ==
Besides graphics, other modules (like video/camera) also depends on drm for buffer management.
So wayland drm protocol header file should be installed.

Libva related changes are here for your reference: https://gitorious.org/libva-wayland/libva-wayland/commits/wayland
It bases on Benjamin's work to enable libva for wayland: http://cgit.freedesktop.org/~bnf/libva/log/?h=wayland

With this patch, we can avoid the hack to copy wayland-drm.xml from mesa to libva.

== patch details ==
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120223/c7d34a78/attachment-0001.htm>


More information about the mesa-dev mailing list