diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-06-24 21:46:26 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2019-08-06 17:22:02 +0200 |
commit | 0aaac8d783e78c040a70a55ba8d67809abd7e625 (patch) | |
tree | 0f23f8af3740d8fb6b32b821d1765855a7534a8b /randr/randrstr.h | |
parent | 0331153b227c1cadf94f912cc02949d7159b02a2 (diff) |
modesetting: Disable pageflipping when using a swcursor
The miPointerSpriteFunc swcursor code expects there to only be a single
framebuffer and when the cursor moves it will undo the damage of the
previous draw, potentially overwriting what ever is there in a new
framebuffer installed after a flip.
This leads to all kind of artifacts, so we need to disable pageflipping
when a swcursor is used.
The code for this has shamelessly been copied from the xf86-video-amdgpu
code.
Fixes: https://gitlab.freedesktop.org/xorg/xserver/issues/828
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'randr/randrstr.h')
0 files changed, 0 insertions, 0 deletions