mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 23:58:25 +02:00
present: Allow flipping with PRIME slave outputs
Works fine now.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(cherry picked from commit 542d9f6807)
This commit is contained in:
parent
10f8cf3572
commit
5c1dd4eba8
1 changed files with 0 additions and 4 deletions
|
|
@ -144,10 +144,6 @@ present_check_flip(RRCrtcPtr crtc,
|
||||||
if (!screen_priv->info->flip)
|
if (!screen_priv->info->flip)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* Fail to flip if we have slave outputs */
|
|
||||||
if (screen->output_slaves)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
/* Make sure the window hasn't been redirected with Composite */
|
/* Make sure the window hasn't been redirected with Composite */
|
||||||
window_pixmap = screen->GetWindowPixmap(window);
|
window_pixmap = screen->GetWindowPixmap(window);
|
||||||
if (window_pixmap != screen->GetScreenPixmap(screen) &&
|
if (window_pixmap != screen->GetScreenPixmap(screen) &&
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue