i965: Add XRGB8888 format to intel_screen_make_configs
authorBoyan Ding <boyan.j.ding@gmail.com>
Wed, 25 Mar 2015 11:36:54 +0000 (19:36 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 5 May 2015 13:43:18 +0000 (14:43 +0100)
commit28090b30dd6b5977de085f48c620574214b6b4ba
tree43f24b467dd226b02f8476747887b9f03b6f996d
parent8da47e8a69a2f7feed99fed6aae02d6e6aa74ddc
i965: Add XRGB8888 format to intel_screen_make_configs

Some application, such as drm backend of weston, uses XRGB8888 config as
default. i965 doesn't provide this format, but before commit 65c8965d,
the drm platform of EGL takes ARGB8888 as XRGB8888. Now that commit
65c8965d makes EGL recognize format correctly so weston won't start
because it can't find XRGB8888. Add XRGB8888 format to i965 just as
other drivers do.

Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89689
Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/intel_screen.c