Re: [PATCH] egl_dri2/wayland: handle creating xrgb8888 images

2012-01-11 Thread Kristian Høgsberg
On Tue, Jan 10, 2012 at 5:16 PM, Robert Bragg wrote: > From: Robert Bragg > > When creating an EGLImage from a struct wl_buffer * this ensures > that we create an XRGB image if the wayland buffer doesn't have an > alpha channel. To determine if a wl_buffer has a valid alpha channel > this pat

[PATCH] egl_dri2/wayland: handle creating xrgb8888 images

2012-01-10 Thread Robert Bragg
From: Robert Bragg When creating an EGLImage from a struct wl_buffer * this ensures that we create an XRGB image if the wayland buffer doesn't have an alpha channel. To determine if a wl_buffer has a valid alpha channel this patch adds an internal wayland_drm_buffer_has_alpha() function. It'