xserver/hw
Olivier Fourdan bdb4712da3 xwayland/eglstream: Set ALU to GXCopy for blitting
The EGLstream backend's post damage function uses a shader and
glDrawArrays() to copy the data from the glamor's pixmap texture prior
to do the eglSwapBuffers().

However, glDrawArrays() can be affected by the GL state, and therefore
not reliably produce the expected copy, causing the content of the
buffer to be corrupted.

Make sure to set the ALU to GXCopy prior to call glDrawArrays() to get
the expected result.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Suggested-by: Michel Dänzer <mdaenzer@redhat.com>
(cherry picked from commit 012350e3db)
2021-06-21 11:16:58 +02:00
..
vfb Don't install Xvfb 2021-02-03 18:22:18 +01:00
xwayland xwayland/eglstream: Set ALU to GXCopy for blitting 2021-06-21 11:16:58 +02:00
meson.build Drop Xephyr / kdrive DDX 2021-02-03 18:13:15 +01:00