mesa/src/gbm
Marek Olšák df49f29a50 Revert "gbm: mark surface buffers as explicit flushed"
This reverts commit c49a71c03c.

It broke radeonsi.

GBM can't set __DRI_IMAGE_USE_BACKBUFFER if gbm itself doesn't use it as
a back buffer by rendering to it and calling SwapBuffers. If another
library uses it as a back buffer, that library should set
__DRI_IMAGE_USE_BACKBUFFER, not GBM. A different flag could be added
to indicate the behavior that the original commit expected.

Fixes: c49a71c03c - gbm: mark surface buffers as explicit flushed
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11996
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32345>
(cherry picked from commit 1a7c54b840)
2024-12-02 13:45:13 -08:00
..
backends/dri Revert "gbm: mark surface buffers as explicit flushed" 2024-12-02 13:45:13 -08:00
main Revert "gbm: mark surface buffers as explicit flushed" 2024-12-02 13:45:13 -08:00
gbm-symbols.txt gbm: add gbm_{bo,surface}_create_with_modifiers2 2021-10-01 00:02:32 +02:00
meson.build meson/gbm: clean up dependencies 2024-09-19 05:06:50 +00:00