Skip to content
Snippets Groups Projects
Commit 8a5fc3b9 authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

compositor: Do not read from front buffer


Reading from the front buffer is not advisable and gives random results
depending on the driver and/or hardware.

So instead of relying on the front buffer, re-copy the entire content to
the back buffer again just after we swapped buffers.

Also, by doing so, we don't need to accumulate damages with GLX backend.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
Fixes: a818cc06 "compositor: Optimize GLX code path"
parent 34595e33
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment