[Mesa-dev] [PATCH 00/11] Add YUYV format support of dri image

Ian Romanick idr at freedesktop.org
Thu Jul 12 10:34:42 PDT 2012


On 07/11/2012 10:47 PM, Zhao, Halley wrote:
> Hi Ian:
> There is no other comments for these patches, could you help me commit it to git tree?

I haven't seen any Reviewed-by or Acked-by messages.  This is a requirement.

> Thanks.
>
>
>> -----Original Message-----
>> From: Zhao, Halley
>> Sent: Monday, July 09, 2012 1:55 PM
>> To: mesa-dev at lists.freedesktop.org
>> Cc: Zhao, Halley
>> Subject: [PATCH 00/11] Add YUYV format support of dri image
>>
>> Intel SNB/IVB platform supports rendering YUYV buffer to overlay plane,
>> however YUYV is missing support from mesa/dri-image yet.
>> so I go ahead to add it; basing on it, libva can send YUYV buffer directly to
>> wayland/weston, then weston output it to overlay plane.
>>
>> v2 update:
>>      - set internal_format to GL_YCBCR_MESA
>>      - improve gbm/intel-driver to support YUYV bo generation,
>>        add handle2 (intel buffer name) in gbm
>>        buffer data update (intel_image_write with tiling support)
>>      - update test case to depend on gbm instead of intel driver directly
>>
>> v3 update:
>>      - move wayland-drm-test to
>> $mesa/src/egl/wayland/wayland-drm/drm-test-client
>>      - add YUYV support to
>> eglCreateDRMImageMesa/eglExportDRMImageMesa
>>        and eglCreateImageKHR
>>      - add egl-create-drm-image test to piglit
>>
>> v4 update:
>>      - gbm: change gbm_bo_get_handle2() to gbm_bo_get_shared_handle(),
>>      - gbm: allocate region name only when it is asked
>>      - drm-test-client update according to above change:
>> gbm_bo_get_shared_handle
>>
>> v5 update:
>>      - rebase to latest git tree for check in, 0002/0003 patches are updated.
>>
>>
>> Zhao Halley (10):
>>    GL: add YUYV to dri image format
>>    intel: add YUYV format for dri images
>>    egl wayland: add YUYV support
>>    gallium egl wayland: add YUYV support
>>    gbm dri backend: add YUYV support
>>    wayland-drm: add YUYV support
>>    gbm: add shared_handle(drm buffer region name)
>>    intel driver: dri image write update
>>    test: test case drm-test-client in src/egl/wayland/wayland-drm
>>    EGL: add YUYV support to eglCreateImageKHR and
>> eglCreateDRMImageMESA
>>
>>   include/EGL/eglmesaext.h                           |    3 +
>>   include/GL/internal/dri_interface.h                |    1 +
>>   src/egl/drivers/dri2/egl_dri2.c                    |    9 +-
>>   src/egl/drivers/dri2/platform_wayland.c            |    7 +-
>>   src/egl/wayland/wayland-drm/Makefile.am            |   15 +-
>>   src/egl/wayland/wayland-drm/drm-test-client.c      |  456
>> ++++++++++++++++++++
>>   src/egl/wayland/wayland-drm/wayland-drm.c          |    3 +
>>   .../state_trackers/egl/wayland/native_drm.c        |    3 +
>>   .../state_trackers/egl/wayland/native_wayland.h    |    3 +-
>>   src/gbm/backends/dri/gbm_dri.c                     |   22 +
>>   src/gbm/main/gbm.c                                 |   18 +
>>   src/gbm/main/gbm.h                                 |    8 +-
>>   src/gbm/main/gbmint.h                              |    2 +
>>   src/mesa/drivers/dri/intel/intel_screen.c          |   20 +-
>>   src/mesa/drivers/dri/intel/intel_tex_image.c       |    6 +
>>   15 files changed, 569 insertions(+), 7 deletions(-)  mode change 100644 =>
>> 100755 include/EGL/eglext.h  mode change 100644 => 100755
>> include/EGL/eglmesaext.h  mode change 100644 => 100755
>> include/GL/internal/dri_interface.h
>>   mode change 100644 => 100755 src/egl/drivers/dri2/platform_wayland.c
>>   create mode 100755 src/egl/wayland/wayland-drm/drm-test-client.c
>>   mode change 100644 => 100755
>> src/egl/wayland/wayland-drm/wayland-drm.c
>>   mode change 100644 => 100755
>> src/gallium/state_trackers/egl/wayland/native_drm.c
>>   mode change 100644 => 100755
>> src/gallium/state_trackers/egl/wayland/native_wayland.h
>>   mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c  mode
>> change 100644 => 100755 src/gbm/main/gbm.c  mode change 100644 =>
>> 100755 src/gbm/main/gbm.h  mode change 100644 => 100755
>> src/gbm/main/gbmint.h  mode change 100644 => 100755
>> src/mesa/drivers/dri/intel/intel_screen.c
>>   mode change 100644 => 100755 src/mesa/drivers/dri/intel/intel_tex_image.c
>>
>> --
>> 1.7.4.1
>




More information about the mesa-dev mailing list