Re: [Mesa-dev] [PATCH 0/5] add wayland-drm test with gbm/intel-driver update

2012-07-19 Thread Zhao, Halley
From: Zhao, Halley > Sent: Tuesday, July 17, 2012 3:15 PM > To: mesa-dev@lists.freedesktop.org > Cc: Zhao, Halley > Subject: [PATCH 0/5] add wayland-drm test with gbm/intel-driver update > > I had tried to add YUYV support to dri image(to support overlay), > however Kristian

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

2012-07-17 Thread Zhao, Halley
:gb.de...@gmail.com] > Sent: Thursday, July 12, 2012 3:27 PM > To: Zhao, Halley > Cc: Ian Romanick; mesa-dev@lists.freedesktop.org > Subject: Re: [Mesa-dev] [PATCH 00/11] Add YUYV format support of dri image > > Hi Halley, > > 2012/7/12 Zhao, Halley : > > > There is no othe

[Mesa-dev] [PATCH 5/5] test: test case drm-test-client in src/egl/wayland/wayland-drm

2012-07-17 Thread Zhao Halley
- it shows how wayland-drm protocol works between server and client buffer are shared basing on dri image - XRGB and YUYV format are supported, it can render to overlay plane potentially --- src/egl/wayland/wayland-drm/Makefile.am | 16 +- src/egl/wayland/wayland-drm/drm-test-cli

[Mesa-dev] [PATCH 4/5] wayland: add YUYV to wayland-drm

2012-07-17 Thread Zhao Halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 ne

[Mesa-dev] [PATCH 3/5] gbm dri backend: add YUYV support

2012-07-17 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c | 13 + src/gbm/main/gbm.h |5 - 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index fef9d47..4812e6b 100755 --- a/src/gbm/backends/dri/gbm_dri.c +

[Mesa-dev] [PATCH 2/5] gbm: add shared_handle(drm buffer region name)

2012-07-17 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c | 13 + src/gbm/main/gbm.c | 18 ++ src/gbm/main/gbm.h |3 +++ src/gbm/main/gbmint.h |2 ++ 4 files changed, 36 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/gbm/backends/d

[Mesa-dev] [PATCH 1/5] intel driver: dri image write update

2012-07-17 Thread Zhao Halley
add tiling support for intel_image_write() all drm image can be written from app --- src/mesa/drivers/dri/intel/intel_screen.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/i

[Mesa-dev] [PATCH 0/5] add wayland-drm test with gbm/intel-driver update

2012-07-17 Thread Zhao Halley
allocation in mesa/gbm? should we still need a YUYV format for dri image? thanks. Zhao Halley (5): intel driver: dri image write update gbm: add shared_handle(drm buffer region name) gbm dri backend: add YUYV support wayland: add YUYV to wayland-drm test: test case drm-test-client in src/egl

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

2012-07-11 Thread Zhao, Halley
Hi Ian: There is no other comments for these patches, could you help me commit it to git tree? Thanks. > -Original Message- > From: Zhao, Halley > Sent: Monday, July 09, 2012 1:55 PM > To: mesa-dev@lists.freedesktop.org > Cc: Zhao, Halley > Subject: [PATCH 00/1

[Mesa-dev] [PATCH 11/11 v5] [piglit] add egl-create-drm-image test

2012-07-09 Thread Zhao Halley
--- tests/egl/CMakeLists.gl.txt |2 + tests/egl/egl-create-drm-image.c | 145 ++ 2 files changed, 147 insertions(+), 0 deletions(-) create mode 100755 tests/egl/egl-create-drm-image.c diff --git a/tests/egl/CMakeLists.gl.txt b/tests/egl/CMakeLists.gl

[Mesa-dev] [PATCH 09/11 v5] test: test case drm-test-client in src/egl/wayland/wayland-drm

2012-07-09 Thread Zhao Halley
- it shows how wayland-drm protocol works between server and client buffer are shared basing on dri image - XRGB and YUYV format are supported, it can render to overlay plane potentially --- src/egl/wayland/wayland-drm/Makefile.am | 15 +- src/egl/wayland/wayland-drm/drm-test-clien

[Mesa-dev] [PATCH 10/11 v5] EGL: add YUYV support to eglCreateImageKHR and eglCreateDRMImageMESA

2012-07-09 Thread Zhao Halley
--- include/EGL/eglmesaext.h|3 +++ src/egl/drivers/dri2/egl_dri2.c |9 - 2 files changed, 11 insertions(+), 1 deletions(-) mode change 100644 => 100755 include/EGL/eglext.h mode change 100644 => 100755 include/EGL/eglmesaext.h diff --git a/include/EGL/eglext.h b/include

[Mesa-dev] [PATCH 08/11 v5] intel driver: dri image write update

2012-07-09 Thread Zhao Halley
add tiling support for intel_image_write() all drm image can be written from app --- src/mesa/drivers/dri/intel/intel_screen.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/i

[Mesa-dev] [PATCH 06/11 v5] wayland-drm: add YUYV support

2012-07-09 Thread Zhao Halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 ne

[Mesa-dev] [PATCH 07/11 v5] gbm: add shared_handle(drm buffer region name)

2012-07-09 Thread Zhao Halley
it can be shared among processed --- src/gbm/backends/dri/gbm_dri.c | 13 + src/gbm/main/gbm.c | 18 ++ src/gbm/main/gbm.h |3 +++ src/gbm/main/gbmint.h |2 ++ 4 files changed, 36 insertions(+), 0 deletions(-) mode change

[Mesa-dev] [PATCH 03/11 v5] egl wayland: add YUYV support

2012-07-09 Thread Zhao Halley
--- src/egl/drivers/dri2/platform_wayland.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/egl/drivers/dri2/platform_wayland.c diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c old mode 100644 new mo

[Mesa-dev] [PATCH 05/11 v5] gbm dri backend: add YUYV support

2012-07-09 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |9 + src/gbm/main/gbm.h |5 - 2 files changed, 13 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c mode change 100644 => 100755 src/gbm/main/gbm.h diff --git a/src/gbm/backends/dri/gbm_d

[Mesa-dev] [PATCH 02/11 v5] intel: add YUYV format for dri images

2012-07-08 Thread Zhao Halley
YUYV image works for overlay now YUYV image works for texture will come soon --- src/mesa/drivers/dri/intel/intel_screen.c|3 +++ src/mesa/drivers/dri/intel/intel_tex_image.c |6 ++ 2 files changed, 9 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/mesa/driv

[Mesa-dev] [PATCH 04/11 v5] gallium egl wayland: add YUYV support

2012-07-08 Thread Zhao Halley
--- .../state_trackers/egl/wayland/native_drm.c|3 +++ .../state_trackers/egl/wayland/native_wayland.h|3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gallium/state_trackers/egl/wayland/native_drm.c mode change 100644 => 100755 src/g

[Mesa-dev] [PATCH 01/11 v5] GL: add YUYV to dri image format

2012-07-08 Thread Zhao Halley
--- include/GL/internal/dri_interface.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 include/GL/internal/dri_interface.h diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h old mode 100644 new mode 100755 index e37917

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

2012-07-08 Thread Zhao Halley
: 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

[Mesa-dev] [PATCH 11/11 v4] [piglit] add egl-create-drm-image test

2012-06-27 Thread Zhao Halley
--- tests/egl/CMakeLists.gl.txt |2 + tests/egl/egl-create-drm-image.c | 145 ++ 2 files changed, 147 insertions(+), 0 deletions(-) create mode 100755 tests/egl/egl-create-drm-image.c diff --git a/tests/egl/CMakeLists.gl.txt b/tests/egl/CMakeLists.gl

[Mesa-dev] [PATCH 09/11 v4] test: test case drm-test-client in src/egl/wayland/wayland-drm

2012-06-27 Thread Zhao Halley
- it shows how wayland-drm protocol works between server and client buffer are shared basing on dri image - XRGB and YUYV format are supported, it can render to overlay plane potentially --- configure.ac |3 +- src/egl/wayland/wayland-drm/Makefile.am

[Mesa-dev] [PATCH 10/11 v4] EGL: add YUYV support to eglCreateImageKHR and eglCreateDRMImageMESA

2012-06-27 Thread Zhao Halley
--- include/EGL/eglmesaext.h|3 +++ src/egl/drivers/dri2/egl_dri2.c |9 - 2 files changed, 11 insertions(+), 1 deletions(-) mode change 100644 => 100755 include/EGL/eglext.h mode change 100644 => 100755 include/EGL/eglmesaext.h diff --git a/include/EGL/eglext.h b/include

[Mesa-dev] [PATCH 08/11 v4] intel driver: dri image write update

2012-06-27 Thread Zhao Halley
add tiling support for intel_image_write() all drm image can be written from app --- src/mesa/drivers/dri/intel/intel_screen.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_scr

[Mesa-dev] [PATCH 07/11 v4] gbm: add shared_handle(drm buffer region name)

2012-06-27 Thread Zhao Halley
it can be shared among processed --- src/gbm/backends/dri/gbm_dri.c | 13 + src/gbm/main/gbm.c | 18 ++ src/gbm/main/gbm.h |3 +++ src/gbm/main/gbmint.h |2 ++ 4 files changed, 36 insertions(+), 0 deletions(-) mode change

[Mesa-dev] [PATCH 06/11 v4] wayland-drm: add YUYV support

2012-06-27 Thread Zhao Halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 ne

[Mesa-dev] [PATCH 05/11 v4] gbm dri backend: add YUYV support

2012-06-27 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |9 + src/gbm/main/gbm.h |5 - 2 files changed, 13 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c mode change 100644 => 100755 src/gbm/main/gbm.h diff --git a/src/gbm/backends/dri/gbm_d

[Mesa-dev] [PATCH 04/11 v4] gallium egl wayland: add YUYV support

2012-06-27 Thread Zhao Halley
--- .../state_trackers/egl/wayland/native_drm.c|3 +++ .../state_trackers/egl/wayland/native_wayland.h|3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gallium/state_trackers/egl/wayland/native_drm.c mode change 100644 => 100755 src/g

[Mesa-dev] [PATCH 03/11 v4] egl wayland: add YUYV support

2012-06-27 Thread Zhao Halley
--- src/egl/drivers/dri2/egl_dri2.c | 17 ++--- src/egl/drivers/dri2/platform_wayland.c |8 +++- 2 files changed, 21 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/egl/drivers/dri2/egl_dri2.c mode change 100644 => 100755 src/egl/drivers/dri2/platform

[Mesa-dev] [PATCH 02/11 v4] intel: add YUYV format for dri images

2012-06-27 Thread Zhao Halley
YUYV image works for overlay now YUYV image works for texture will come soon --- src/mesa/drivers/dri/intel/intel_screen.c| 10 ++ src/mesa/drivers/dri/intel/intel_tex_image.c |6 ++ 2 files changed, 16 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/mesa/dr

[Mesa-dev] [PATCH 01/11 v4] GL: add YUYV to dri image format

2012-06-27 Thread Zhao Halley
--- include/GL/internal/dri_interface.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 include/GL/internal/dri_interface.h diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h old mode 100644 new mode 100755 index e37917

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

2012-06-27 Thread Zhao Halley
: allocate region name only when it is asked - drm-test-client update according to above change: gbm_bo_get_shared_handle 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

Re: [Mesa-dev] [PATCH 09/11 v3] test: test case drm-test-client in src/egl/wayland/wayland-drm

2012-06-21 Thread Zhao, Halley
small update following gbm change: gbm_bo_get_shared_handle() From fb0e0eec5064f8af3e126a457fc23173a8bb6d49 Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Tue, 5 Jun 2012 14:59:56 +0800 Subject: [PATCH 09/10] test: test case drm-test-client in src/egl/wayland/wayland-drm - it shows how

Re: [Mesa-dev] [PATCH 07/11 v3] gbm: add handle2(drm buffer region name)

2012-06-21 Thread Zhao, Halley
Thanks Ander. I updated the patch following your advice: >From 6110f8c5ed0dc326e85d07a3c5408be5810db245 Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Thu, 14 Jun 2012 18:19:12 +0800 Subject: [PATCH 07/10] gbm: add shared_handle(drm buffer region name) it can be shared among proces

Re: [Mesa-dev] [PATCH 02/11 v3] mesa intel driver:

2012-06-18 Thread Zhao, Halley
Thanks Paul, I have updated the patch as following. Another colleague is working on texture support of YUYV format, patches will come soon. >From c036437ab676f26f8f1b788cbfafaca4b4b6005a Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Fri, 25 May 2012 11:36:48 +0800 Subject: [PATCH 02

[Mesa-dev] [PATCH 11/11 v3] [piglit] add egl-create-drm-image test

2012-06-14 Thread Zhao Halley
--- tests/egl/CMakeLists.gl.txt |2 + tests/egl/egl-create-drm-image.c | 145 ++ 2 files changed, 147 insertions(+), 0 deletions(-) create mode 100755 tests/egl/egl-create-drm-image.c diff --git a/tests/egl/CMakeLists.gl.txt b/tests/egl/CMakeLists.gl

[Mesa-dev] [PATCH 10/11 v3] add YUYV support to eglCreateImageKHR and eglCreateDRMImageMESA

2012-06-14 Thread Zhao Halley
--- include/EGL/eglmesaext.h|3 +++ src/egl/drivers/dri2/egl_dri2.c |9 - 2 files changed, 11 insertions(+), 1 deletions(-) mode change 100644 => 100755 include/EGL/eglext.h mode change 100644 => 100755 include/EGL/eglmesaext.h diff --git a/include/EGL/eglext.h b/include

[Mesa-dev] [PATCH 09/11 v3] test: test case drm-test-client in src/egl/wayland/wayland-drm

2012-06-14 Thread Zhao Halley
- it shows how wayland-drm protocol works between server and client buffer are shared basing on dri image - XRGB and YUYV format are supported, it can render to overlay plane potentially --- configure.ac |3 +- src/egl/wayland/wayland-drm/Makefile.am

[Mesa-dev] [PATCH 08/11 v3] intel driver: add tiling support for intel_image_write() all drm image are supported for write

2012-06-14 Thread Zhao Halley
--- src/mesa/drivers/dri/intel/intel_screen.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 3b8f81e..63b6b24 100755 --- a/src/mesa/drivers/dri/intel/intel_screen

[Mesa-dev] [PATCH 07/11 v3] gbm: add handle2(drm buffer region name)

2012-06-14 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |6 +- src/gbm/main/gbm.c | 14 ++ src/gbm/main/gbm.h |3 +++ src/gbm/main/gbmint.h |1 + 4 files changed, 23 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/main/gbm.c mode chang

[Mesa-dev] [PATCH 06/11 v3] wayland-drm: add YUYV support

2012-06-14 Thread Zhao Halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 ne

[Mesa-dev] [PATCH 05/11 v3] gbm dri backend: add YUYV support

2012-06-14 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |9 + src/gbm/main/gbm.h |5 - 2 files changed, 13 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c mode change 100644 => 100755 src/gbm/main/gbm.h diff --git a/src/gbm/backends/dri/gbm_d

[Mesa-dev] [PATCH 04/11 v3] gallium egl wayland: add YUYV support

2012-06-14 Thread Zhao Halley
--- .../state_trackers/egl/wayland/native_drm.c|3 +++ .../state_trackers/egl/wayland/native_wayland.h|3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gallium/state_trackers/egl/wayland/native_drm.c mode change 100644 => 100755 src/g

[Mesa-dev] [PATCH 03/11 v3] egl wayland: add YUYV support

2012-06-14 Thread Zhao Halley
--- src/egl/drivers/dri2/egl_dri2.c | 17 ++--- src/egl/drivers/dri2/platform_wayland.c |8 +++- 2 files changed, 21 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/egl/drivers/dri2/egl_dri2.c mode change 100644 => 100755 src/egl/drivers/dri2/platform

[Mesa-dev] [PATCH 02/11 v3] mesa intel driver:

2012-06-14 Thread Zhao Halley
add YUYV format for dri image YUYV image doesn't use for texture --- src/mesa/drivers/dri/intel/intel_screen.c| 10 ++ src/mesa/drivers/dri/intel/intel_tex_image.c |6 ++ 2 files changed, 16 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/mesa/drivers/dri/in

[Mesa-dev] [PATCH 01/11 v3] GL: add YUYV to dri image format

2012-06-14 Thread Zhao Halley
--- include/GL/internal/dri_interface.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 include/GL/internal/dri_interface.h diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h old mode 100644 new mode 100755 index e37917

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

2012-06-14 Thread Zhao Halley
-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 Zhao Halley (10): GL: add YUYV to dri image format mesa intel driver: egl wayland: add

Re: [Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-12 Thread Zhao, Halley
Hi Kristian: update the test case to src/egl/wayland/wayland-drm: From f2ab9c439ba7158b6e978a9d214a9b9e80ec8c6e Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Tue, 5 Jun 2012 14:59:56 +0800 Subject: [PATCH 9/9] test: test case drm-test-client in src/egl/wayland/wayland-drm - it shows how

Re: [Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-07 Thread Zhao, Halley
rectly, because overlay related ioctls are defined with DRM_MASTER (no DRM_AUTH). So in X11, only xv driver can render to overlay. > -Original Message- > From: Eric Anholt [mailto:e...@anholt.net] > Sent: Friday, June 08, 2012 4:24 AM > To: Zhao, Halley; Zhao, Halley; mesa-dev

[Mesa-dev] [PATCH 9/9 v2] test: test case for wayland-drm in tests/wayland-drm

2012-06-05 Thread Zhao Halley
- it shows how wayland-drm protocol works between server and client buffer are shared basing on dri image - XRGB and YUYV format are supported, it can render to overlay plane potentially --- configure.ac |4 +- tests/Makefile.am|2 +- tes

[Mesa-dev] [PATCH 8/9 v2] intel driver: add tiling support for intel_image_write() all drm image are supported for write

2012-06-05 Thread Zhao Halley
--- src/mesa/drivers/dri/intel/intel_screen.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 3b8f81e..63b6b24 100755 --- a/src/mesa/drivers/dri/intel/intel_screen

[Mesa-dev] [PATCH 7/9 v2] gbm: add handle2(buffer region name)

2012-06-05 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |6 +- src/gbm/main/gbm.c | 14 ++ src/gbm/main/gbm.h |3 +++ src/gbm/main/gbmint.h |1 + 4 files changed, 23 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/main/gbm.c mode chang

[Mesa-dev] [PATCH 6/9 v2] wayland-drm: add YUYV support

2012-06-05 Thread Zhao Halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 ne

[Mesa-dev] [PATCH 5/9 v2] gbm dri backend: add YUYV support

2012-06-05 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c old mode 100644 new mode 100755 index e5ddfb6..32cde66 --- a

[Mesa-dev] [PATCH 4/9 v2] gallium egl wayland: add YUYV support

2012-06-05 Thread Zhao Halley
--- .../state_trackers/egl/wayland/native_drm.c|3 +++ .../state_trackers/egl/wayland/native_wayland.h|3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gallium/state_trackers/egl/wayland/native_drm.c mode change 100644 => 100755 src/g

[Mesa-dev] [PATCH 3/9 v2] egl wayland: add YUYV support

2012-06-05 Thread Zhao Halley
--- src/egl/drivers/dri2/egl_dri2.c | 17 ++--- src/egl/drivers/dri2/platform_wayland.c |8 +++- 2 files changed, 21 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/egl/drivers/dri2/egl_dri2.c mode change 100644 => 100755 src/egl/drivers/dri2/platform

[Mesa-dev] [PATCH 2/9 v2] mesa intel driver:

2012-06-05 Thread Zhao Halley
add YUYV format for dri image YUYV image doesn't use for texture --- src/mesa/drivers/dri/intel/intel_screen.c| 10 ++ src/mesa/drivers/dri/intel/intel_tex_image.c |6 ++ 2 files changed, 16 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/mesa/drivers/dri/in

[Mesa-dev] [PATCH 1/9 v2] GL: add YUYV to dri image format

2012-06-05 Thread Zhao Halley
--- include/GL/internal/dri_interface.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 include/GL/internal/dri_interface.h diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h old mode 100644 new mode 100755 index e37917

[Mesa-dev] [PATCH 0/9 v2] Add YUYV format support of dri image

2012-06-05 Thread Zhao Halley
ectly Zhao Halley (9): GL: add YUYV to dri image format mesa intel driver: egl wayland: add YUYV support gallium egl wayland: add YUYV support gbm dri backend: add YUYV support wayland-drm: add YUYV support gbm: add handle2(buffer region name) intel driver: add tiling suppor

Re: [Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-05 Thread Zhao, Halley
: Monday, June 04, 2012 8:55 PM > To: Zhao, Halley > Cc: mesa-dev@lists.freedesktop.org; Barnes, Jesse > Subject: Re: [Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is > supported > > This test is using intel specific interfaces. Is there something missing from > lib

Re: [Mesa-dev] [PATCH 2/6] mesa intel driver:

2012-06-05 Thread Zhao, Halley
support packed YUV as texture. > -Original Message- > From: Pauli Nieminen [mailto:pauli.niemi...@linux.intel.com] > Sent: Monday, June 04, 2012 9:11 PM > To: Zhao, Halley > Cc: Eric Anholt; mesa-dev@lists.freedesktop.org; Barnes, Jesse > Subject: Re: [Mesa-dev] [PATCH 2/

Re: [Mesa-dev] [PATCH 2/6] mesa intel driver:

2012-06-04 Thread Zhao, Halley
-May/000845.html (YUYV<-->NV12/YV12 are supported) 3.2) if Weston want to support YUYV internally, it can depend on libva's color conversion or some special shader to do it. >From 5356270a25a300bbe7e0d36a79b031d2fb108a88 Mon Sep 17 00:00:00 2001 From: Zhao halley Date: Fr

Re: [Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-04 Thread Zhao, Halley
Move the test case to $mesa/test/wayland-drm. From f8843a118e9d7f41b5acedcb396c82adae36841d Mon Sep 17 00:00:00 2001 From: Zhao halley Date: Mon, 4 Jun 2012 15:58:24 +0800 Subject: [PATCH] add test for wayland drm, XRGB/YUYV is supported when I sent patches for YUYV support of dri image, a

Re: [Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-04 Thread Zhao, Halley
Some "^M" in copyright section, resend it. Thanks. > -Original Message- > From: Zhao, Halley > Sent: Monday, June 04, 2012 4:29 PM > To: mesa-dev@lists.freedesktop.org > Cc: e...@anholt.net; Barnes, Jesse; Zhao, Halley > Subject: [PATCH] add test for wayland

[Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-04 Thread Zhao halley
when I sent patches for YUYV support of dri image, a test case is required to make sure the patches can work well. so it is created. it also shows how wayland-drm protocol works between wayland client and server -- they communicate data in buffer/drm level. --- configure.ac

[Mesa-dev] [PATCH] add test for wayland drm, XRGB/YUYV is supported

2012-06-04 Thread Zhao halley
when I sent patches for YUYV support of dri image, a test case is required to make sure the patches can work well. so it is created. it also shows how wayland-drm protocol works between wayland client and server -- they communicate data in buffer/drm level. --- configure.ac

[Mesa-dev] [PATCH 6/6] wayland-drm: add YUYV support

2012-05-31 Thread Zhao halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 new

[Mesa-dev] [PATCH 5/6] gbm dri backend: add YUYV support

2012-05-31 Thread Zhao halley
--- src/gbm/backends/dri/gbm_dri.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c old mode 100644 new mode 100755 index e5ddfb6..cefcc1a --- a/sr

[Mesa-dev] [PATCH 4/6] gallium egl wayland: add YUYV support

2012-05-31 Thread Zhao halley
--- .../state_trackers/egl/wayland/native_drm.c|3 +++ .../state_trackers/egl/wayland/native_wayland.h|3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gallium/state_trackers/egl/wayland/native_drm.c mode change 100644 => 100755 src/g

[Mesa-dev] [PATCH 3/6] egl wayland: add YUYV support

2012-05-31 Thread Zhao halley
--- src/egl/drivers/dri2/egl_dri2.c | 17 ++--- src/egl/drivers/dri2/platform_wayland.c |8 +++- 2 files changed, 21 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/egl/drivers/dri2/egl_dri2.c mode change 100644 => 100755 src/egl/drivers/dri2/platform

[Mesa-dev] [PATCH 2/6] mesa intel driver:

2012-05-31 Thread Zhao halley
add YUYV format for dri image YUYV image doesn't use for texture --- src/mesa/drivers/dri/intel/intel_screen.c|5 + src/mesa/drivers/dri/intel/intel_tex_image.c |3 +++ 2 files changed, 8 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/mesa/drivers/dri/intel/intel

[Mesa-dev] [PATCH 1/6] GL: add YUYV to dri image format

2012-05-31 Thread Zhao halley
--- include/GL/internal/dri_interface.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 include/GL/internal/dri_interface.h diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h old mode 100644 new mode 100755 index e37917

[Mesa-dev] [PATCH 0/6] add YUYV format for dri image support

2012-05-31 Thread Zhao halley
uired. Zhao halley (6): GL: add YUYV to dri image format mesa intel driver: egl wayland: add YUYV support gallium egl wayland: add YUYV support gbm dri backend: add YUYV support wayland-drm: add YUYV support include/GL/internal/dri_interface.h|1 + src/egl/drivers

Re: [Mesa-dev] [Patch 1/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
day, April 23, 2012 1:48 PM > To: Zhao, Halley > Cc: Benjamin Franzke; Kristian H?gsberg; Fu, Michael; > mesa-dev@lists.freedesktop.org > Subject: Re: [Mesa-dev] [Patch 1/4] Improve wayland-drm basing on gbm to act > as generic buffer manager for wayland > > Hi Halley, > >

Re: [Mesa-dev] [Patch 1/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

2012-04-22 Thread Zhao, Halley
Hi Benjamin/Kristian: Sorry to push, but vaapi/wayland integration is blocked by wayland-drm for months. Could you give us some comments on this new proposal by using gbm? Thanks. From: Zhao, Halley Sent: Thursday, April 19, 2012 6:15 PM To: Zhao, Halley; 'Benjamin Franzke'; &

[Mesa-dev] [Patch 4/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

2012-04-19 Thread Zhao, Halley
Wayland-drm depends on callback functions of backend to create/destroy wl_buffer before, remove them now. >From a1bbad6760af4d1c5237a2318a2e5f6f91a823fa Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Thu, 19 Apr 2012 17:35:27 +0800 Subject: [PATCH 3/3] remove previous craete/release_buffer im

[Mesa-dev] [Patch 2/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

2012-04-19 Thread Zhao, Halley
Send half of the first patch. This patch is just term change from drm to gbm in source files. By the way: I still got the message of "Message body is too big: 164397 bytes with a limit of 128 KB", though the total size of my patch is 38K. Anyway, try to send it first. diff --git a/src/gallium/s

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

2012-02-22 Thread Zhao, Halley
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

[Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes (enable libva over wayland)

2012-02-22 Thread Zhao, Halley
Resend the patch, it is required to enable libva over wayland. Ian/Eric: Could you help to review this patch? == patch description ==: wl_egl_window/wl_egl_pixmap are implemented in mesa, however these drawables can also be update in video/camera modules. An example is that libva also manage buf

Re: [Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes

2012-02-20 Thread Zhao, Halley
@lists.freedesktop.org] On Behalf Of Zhao, Halley Sent: Friday, February 17, 2012 5:22 PM To: mesa-dev@lists.freedesktop.org Subject: [Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes wl_egl_window/wl_egl_pixmap are implemented in mesa, however these drawables can also be update in

[Mesa-dev] [Patch 2] wayland-drm: export wayland-drm-client-protocol.h for installation

2012-02-17 Thread Zhao, Halley
Besides graphics, other modules (like video/camera) also depends on drm for buffer management. So wayland drm protocol header file should be exported. See Benjamin's work to enable libva for wayland: http://cgit.freedesktop.org/~bnf/libva/log/?h=wayland (I ported it to latest wayland api) With

[Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes

2012-02-17 Thread Zhao, Halley
wl_egl_window/wl_egl_pixmap are implemented in mesa, however these drawables can also be update in video/camera modules. An example is that libva also manage buffer object for it, so the attributes of the drawable should be accessed outside of mesa. See Benjamin's work to enable libva for wayland