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

Benjamin Franzke benjaminfranzke at googlemail.com
Thu Feb 23 00:54:02 PST 2012


If we really want the drm protocol header to be public, i'd prefer to
have it in a seperate repository.
But Kristian didnt want that.
But in the meantime, whats so bad in having that simple protocol file
copied over?

2012/2/23 Zhao, Halley <halley.zhao at intel.com>:
> 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


More information about the mesa-dev mailing list