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

Zhao, Halley halley.zhao at intel.com
Mon Jun 4 03:00:47 PDT 2012


Thanks for careful review.

1. My mistake for the XXXXs, we can remove it.
	There is MESA_FORMAT_YCBCR_REV for UYVY, so MESA_FORMAT_YCBCR is exactly for YUYV format.
	GL_LUMINANCE should be ok since YUYV is an luminance format.
2. as to intel_image_target_texture_2d(), an error is added for YUYV region.
	Updated patch see below.

3. A test case is added to demonstrate the usage: http://lists.freedesktop.org/archives/mesa-dev/2012-June/022487.html 
	As to the case when hw overlay is not available, it is considered in following way:
	3.1) when client connect to wayland-server, it gets which formats are supported from server in drm_handle_format(). Client sends YUYV buffer to server only when the server supports it.
		Client can convert a YUYV/NV12 buffer to XRGB format through libva: http://lists.freedesktop.org/archives/libva/2012-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. 



More information about the mesa-dev mailing list