mesa/src/gallium/winsys/sw
Adam Jackson 292d45497f gallium/xlib: Partial fix for glXCopySubBufferMESA
xmesa_copy_st_framebuffer would attempt to flush from the front buffer
to the display, but we don't actually have an attachment for the front
buffer (just the back) so nothing would happen. Fix this by flushing
fron the back to the display, threading the dirty box through so we
don't update more than we were told to.

This has the virtue of displaying correctly, but glx-copy-sub-buffer
still fails since there is no real front buffer, reads from GL_FRONT
actually read from the back buffer. The test does: clear to red, swap,
clear to green, copy sub-buffer, expect a green square inside of a red
one from the front buffer. Since you're really reading from the back you
instead get solid green.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9140>
2021-02-23 18:57:57 +00:00
..
dri drisw: fix unused variables warnings 2021-01-11 19:54:46 +00:00
gdi gallium: rename 'state tracker' to 'frontend' 2020-05-13 13:46:53 -04:00
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
kms-dri gallium/winsys: update fallthrough comments 2020-12-01 10:04:41 +01:00
null util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
wrapper util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
xlib gallium/xlib: Partial fix for glXCopySubBufferMESA 2021-02-23 18:57:57 +00:00