mesa/src/gbm/backends/dri
Marek Olšák 1a7c54b840 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>
2024-11-27 22:48:04 +00:00
..
gbm_dri.c Revert "gbm: mark surface buffers as explicit flushed" 2024-11-27 22:48:04 +00:00
gbm_driint.h gbm/dri: Use PIPE_FORMAT_* instead of using __DRI_IMAGE_* 2024-10-25 14:18:24 +00:00
meson.build meson: drop unused variables 2024-11-26 20:45:41 +00:00