[Mesa-dev] [PATCH 0/5] wayland: handle interlaced pictures

Gwenole Beauchesne gwenole.beauchesne at intel.com
Mon Jul 30 09:45:14 PDT 2012


Hi,

Here is series of patches that brings support for interlaced surfaces in
Wayland. Current implementation involves Intel GenX driver.

Patch 1 makes it possible to attach a "picture-structure" property to
Wayland/DRM buffers. The way to do so has the benefit of allowing this
property to RGB surfaces too.

Patch 3 is not strictly needed but introduces a query option for this
"picture-structure" property. This is implemented with a new
EGL_TEXTURE_STRUCTURE_WL token.

Patch 4 adds the new picture structure flags to DRIimage. I didn't want to
change the createSubImage() interface, so I just chose to add new flags. Those
flags are to be combined with the actual image format. I don't mind either
way.

Patch 5 implements deinterlacing in Gen driver. Only tested on Ivy Bridge.

Regards,
Gwenole Beauchesne (5):
  wayland-drm: add picture structure.
  wayland: handle picture structure.
  wayland: support EGL_TEXTURE_STRUCTURE_WL queries for wl_buffer.
  __DRIimage: version 6, add new picture structure.
  intel: implement picture structure.

 include/EGL/eglmesaext.h                          |    5 +++
 include/GL/internal/dri_interface.h               |    8 ++++-
 src/egl/drivers/dri2/egl_dri2.c                   |   36 ++++++++++++++++++++-
 src/egl/wayland/wayland-drm/wayland-drm.c         |   22 ++++++++++++-
 src/egl/wayland/wayland-drm/wayland-drm.h         |   10 ++++++
 src/egl/wayland/wayland-drm/wayland-drm.xml       |   19 +++++++++++
 src/mesa/drivers/dri/i965/brw_defines.h           |    2 ++
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c  |   22 ++++++++++++-
 src/mesa/drivers/dri/i965/gen7_wm_surface_state.c |   15 +++++++--
 src/mesa/drivers/dri/intel/intel_mipmap_tree.c    |    1 +
 src/mesa/drivers/dri/intel/intel_mipmap_tree.h    |    4 +++
 src/mesa/drivers/dri/intel/intel_screen.c         |    6 ++--
 src/mesa/drivers/dri/intel/intel_tex_image.c      |   10 ++++--
 13 files changed, 148 insertions(+), 12 deletions(-)

-- 
1.7.9.5



More information about the mesa-dev mailing list