dri: Add __DRI_IMAGE_FORMAT_ARGB1555
authorChad Versace <chadversary@chromium.org>
Thu, 22 Dec 2016 22:44:47 +0000 (14:44 -0800)
committerChad Versace <chadversary@chromium.org>
Tue, 27 Dec 2016 17:13:43 +0000 (09:13 -0800)
commit9aa6ab074876dfa853863a74edad0b5b017fb8c7
treeed66c1744b3321cd7ee04f09e322b88fa77c44aa
parent4d6d4f939e0af4252e0b6ba3fcb2c9f4101e9e39
dri: Add __DRI_IMAGE_FORMAT_ARGB1555

This allows eglCreateImage() to accept textures of said format.

Patch 1/2 to fix
dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
on Intel.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99185
Cc: Haixia Shi <hshi@chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
include/GL/internal/dri_interface.h
src/mesa/drivers/dri/common/dri_util.c