st/egl: add premultiplied alpha support to wayland
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 8 Sep 2011 06:01:46 +0000 (08:01 +0200)
committerChia-I Wu <olv@lunarg.com>
Thu, 8 Sep 2011 08:05:41 +0000 (16:05 +0800)
commit7645c49e07b638de94f03d5f71fde397066a46ee
treeecf464252548c8099bb4d82a09475c68dbaba8aa
parent1191d203632e2954ce59163f87c9896b1c6ed40a
st/egl: add premultiplied alpha support to wayland

Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
alpha support premultiplied alpha.

(Based on Chia-I Wu's patch)

[olv: remove the use of param_premultiplied_alpha from the original
      patch]
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