[Libva] [Driver PATCH 0/5] intel-driver: wayland support
Zhao Halley
halley.zhao at intel.com
Tue Jun 5 02:12:07 PDT 2012
wayland/weston is new compositor/display-server to enable direct
communication between compositor and client:
http://wayland.freedesktop.org/
this series of patch enables vaapi talking to weston and exchanging
buffers basing on drm buffer (wayland-drm protocol)
the patches have been revised for several times, Benjamin created the initial
implementation last year, Gwenole reconstructed the code and APIs (introducing
vaCreateSurfaceWL, vaDestroySurfaceWL, vaAttachSurfaceWL); finally Halley
revise the patches to use vaGetSurfaceBufferWl only basing on Gwenole's
suggestion -- life cycle management of surface buffer relies on client of
vaapi.
Now the patches work well to send XRGB buffer to weston. the interface also
supports YUV buffer between vaapi and weston.
I use render_state->draw_region as intermediate buffer for color conversion
(NV12/YV12->XRGB). though not perfect, it works without dependency on
YUV buffer support in mesa.
Gwenole Beauchesne (2):
dri: cope with drm-state changes
add wayland support
Zhao halley (3):
add wayland-drm protocol
support vaGetSurfaceBufferWl
add vaGetImageBufferWl support
configure.ac | 58 ++++++
src/Makefile.am | 9 +
src/i965_drv_video.c | 16 ++-
src/i965_render_wayland.c | 324 ++++++++++++++++++++++++++++++
src/i965_render_wayland.h | 35 ++++
src/intel_driver.c | 10 +-
src/wayland-drm-client-protocol.h | 196 ++++++++++++++++++
src/wayland-drm-protocol/wayland-drm.xml | 139 +++++++++++++
8 files changed, 780 insertions(+), 7 deletions(-)
mode change 100644 => 100755 configure.ac
create mode 100755 src/i965_render_wayland.c
create mode 100755 src/i965_render_wayland.h
mode change 100644 => 100755 src/intel_driver.c
create mode 100644 src/wayland-drm-client-protocol.h
create mode 100644 src/wayland-drm-protocol/wayland-drm.xml
--
1.7.5.4
More information about the Libva
mailing list