egl: Add a note explaining the swapBuffers badness in dri2_x11_copy_buffers().
authorEmma Anholt <emma@anholt.net>
Tue, 14 Feb 2023 22:48:32 +0000 (14:48 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Feb 2023 19:17:07 +0000 (19:17 +0000)
commit3e1b40be54f1c2e0313a1b3f0193a84a52198417
tree9167e0e4db6adb2766793913ebaa63b07154028f
parenta6b850e335815536e03177f7ab568c4d1f8630b3
egl: Add a note explaining the swapBuffers badness in dri2_x11_copy_buffers().

I tried to drop the swapBuffers path, but it turns out it's being taken by
softpipe/llvmpipe, and the tests are passing.  The piglit egl-copy-buffers
test even passes on zink, but you end up with a bad display because of an
un-preserved back buffer.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21317>
src/egl/drivers/dri2/platform_x11.c