mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
i915: Add XRGB8888 format to intel_screen_make_configs
This is a copy of commit536003c11eexcept for i915. Original log for the i965 commit follows: Some application, such as drm backend of weston, uses XRGB8888 config as default. i965 doesn't provide this format, but before commit65c8965d, the drm platform of EGL takes ARGB8888 as XRGB8888. Now that commit65c8965dmakes 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. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Boyan Ding <boyan.j.ding@gmail.com> Tested-by: Mark Janes <mark.a.janes@intel.com>
This commit is contained in:
parent
4f1d27a406
commit
3698d71124
1 changed files with 2 additions and 1 deletions
|
|
@ -1044,7 +1044,8 @@ intel_screen_make_configs(__DRIscreen *dri_screen)
|
|||
{
|
||||
static const mesa_format formats[] = {
|
||||
MESA_FORMAT_B5G6R5_UNORM,
|
||||
MESA_FORMAT_B8G8R8A8_UNORM
|
||||
MESA_FORMAT_B8G8R8A8_UNORM,
|
||||
MESA_FORMAT_B8G8R8X8_UNORM
|
||||
};
|
||||
|
||||
/* GLX_SWAP_COPY_OML is not supported due to page flipping. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue