Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions lorie/src/main/cpp/patches/xserver.patch
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,16 @@
present_check_flip2_ptr check_flip2;

+++ ./present/present_execute.c
@@ -67,6 +67,14 @@
@@ -34,5 +34,7 @@
ScreenPtr screen = vblank->screen;
present_screen_priv_ptr screen_priv = present_screen_priv(screen);
-
+ /* lorie: disarm, or miSyncTriggerFence()'s restart-scan re-fires this callback. */
+ present_fence_set_callback(vblank->wait_fence, NULL, NULL);
+
screen_priv->re_execute(vblank);
}
@@ -67,6 +69,14 @@
WindowPtr window = vblank->window;
ScreenPtr screen = window->drawable.pScreen;
present_screen_priv_ptr screen_priv = present_screen_priv(screen);
Expand All @@ -324,7 +333,7 @@

/* If present_flip failed, we may have to requeue for the next MSC */
if (vblank->exec_msc == crtc_msc + 1 &&
@@ -79,12 +87,59 @@
@@ -79,12 +95,59 @@
return;
}

Expand Down