Re: [Mesa-dev] [PATCH 1/3] egl_dri2: allow RGBA masks to be specified for matching

2011-08-24 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I see why it's necessary, and can think of no cleaner way of doing it. So this is Reviewed-by: Chad Versace c...@chad-versace.us On 08/23/2011 08:10 PM, Chia-I Wu wrote: Add rgba_masks to dri2_add_config. When it is non-NULL, the DRI config is

[Mesa-dev] [PATCH 1/3] egl_dri2: allow RGBA masks to be specified for matching

2011-08-23 Thread Chia-I Wu
Add rgba_masks to dri2_add_config. When it is non-NULL, the DRI config is accepted only when the offsets and sizes of the its channels match rgba_mask. --- src/egl/drivers/dri2/egl_dri2.c | 23 ++- src/egl/drivers/dri2/egl_dri2.h |3 ++-