mesa/src/mesa
Erik Faye-Lund b6b980a904 mesa/main: work around chrome/firefox bug
Due to flawed logic, Chromium and Firefox thinks EXT_texture_storage
allows using GL_BGRA8_EXT for *all* texturing, including things like
glTexSubImage2D, which it does not.

However, this bug was introduced in Chromium back in 2016, and there's
also a lot of Electron apps that bundle outdated versions of Chromium.
This means it's going to be a *mess* to fix this properly while staying
within the spec.

I've opened a ticket with Khronos to consider changing the spec to make
this legal, because it seems most other OpenGL implementations allow it.

But in the mean time, let's complain a bit, but accept the behavior.
This way people can at least run browsers with hardware acceleration
again. If we decide to change the spec, we can remove this wording.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10550
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27521>
2024-02-13 17:08:27 +00:00
..
main mesa/main: work around chrome/firefox bug 2024-02-13 17:08:27 +00:00
math mesa: optimize setting the identity matrix 2023-12-08 04:25:51 +00:00
program mesa/st: don't use NIR_PASS_V 2024-01-12 01:13:03 +00:00
state_tracker st/mesa: remove !obj checking in _mesa_get_bufferobj_reference when it's useless 2024-02-13 04:39:13 +00:00
vbo mesa: inline _mesa_set_vao_immutable 2024-02-10 04:55:35 +00:00
x86 util: cleanup cpuinfo.* and it's related files 2022-11-15 19:06:07 +00:00
meson.build util: move ASTCLutHolder from mesa/main to util 2023-10-11 19:28:40 +00:00