mesa/src
Kenneth Graunke 2f8cd4a8c3 mesa: Add GL_BGRA_EXT to the list of GenerateMipmap internal formats.
The GL_EXT_texture_format_BGRA8888 extension specification defines a
GL_BGRA_EXT unsized internal format (which is a little odd - usually
BGRA is a pixel transfer format).  The extension is written against
the ES 1.0 specification, so it's a little hard to map, but I believe
it's effectively adding it to the table used here, so we should allow
it here as well.

Note that GL_EXT_texture_format_BGRA8888 is always enabled (dummy_true),
so we don't need to check if it's enabled here.

This fixes mipmap generation in Skia and ChromeOS.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
References: https://bugs.chromium.org/p/chromium/issues/detail?id=630371
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reported-by: Stéphane Marchesin <marcheu@chromium.org>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit cb70773129)
2016-07-28 14:44:45 +01:00
..
compiler nir: Add a base const_index to shared atomic intrinsics. 2016-07-28 14:40:24 +01:00
egl egl/android: Stop leaking DRI images 2016-07-21 14:29:40 +01:00
gallium swr: Refactor checks for compiler feature flags 2016-07-27 15:15:34 +01:00
gbm gbm: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
getopt
glx Avoid overflow in 'last' variable of FindGLXFunction(...) 2016-07-21 14:31:27 +01:00
gtest
hgl
intel Android: add missing u_math.h include path for libmesa_isl 2016-07-27 14:06:27 +01:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi mapi: Massage code to allow clang to compile. 2016-07-27 11:07:53 +01:00
mesa mesa: Add GL_BGRA_EXT to the list of GenerateMipmap internal formats. 2016-07-28 14:44:45 +01:00
util mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Makefile.am automake: don't mandate git_sha1.h/MESA_GIT_SHA1 2016-07-07 16:12:33 +01:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00