On Wed, Jul 11, 2012 at 5:27 AM, Gwenole Beauchesne wrote:
> Hi,
>
> 2012/7/9 Kristian Høgsberg :
>
>> + switch (buffer->format) {
>> + case WL_DRM_FORMAT_ARGB:
>> + case WL_DRM_FORMAT_XRGB:
>> + if (plane > 0) {
>> + _eglError(EGL_BAD_PARAMETER,
>> "dri2_create_image_w
Hi,
2012/7/9 Kristian Høgsberg :
> + switch (buffer->format) {
> + case WL_DRM_FORMAT_ARGB:
> + case WL_DRM_FORMAT_XRGB:
> + if (plane > 0) {
> + _eglError(EGL_BAD_PARAMETER, "dri2_create_image_wayland_wl_buffer");
> + return NULL;
> + }
> + width = bu
This lets us specify the plane to create the image for for multiplanar
wl_buffers.
Signed-off-by: Kristian Høgsberg
---
docs/WL_bind_wayland_display.spec | 19 +-
include/EGL/eglmesaext.h |1 +
src/egl/drivers/dri2/egl_dri2.c | 117 +++--
src