st/egl: add premultiplied alpha support to wayland
authorChia-I Wu <olv@lunarg.com>
Wed, 7 Sep 2011 19:00:31 +0000 (03:00 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 8 Sep 2011 03:16:12 +0000 (11:16 +0800)
commit23aa978a9d76a48f4b93e9a8911ec50c0e5d94ab
treef711f866855f88cab9365d13731cf56670f82466
parent95b445699d7f049116ee0927387a958a9933766b
st/egl: add premultiplied alpha support to wayland

Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
alpha support premultiplied alpha.  Currently, it means when argb32 and
argb32_pre are both supported.
src/gallium/state_trackers/egl/wayland/native_drm.c
src/gallium/state_trackers/egl/wayland/native_shm.c
src/gallium/state_trackers/egl/wayland/native_wayland.c
src/gallium/state_trackers/egl/wayland/native_wayland.h