summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2021-05-07 17:58:27 +0200
committerMichel Dänzer <michel@daenzer.net>2021-07-09 16:18:47 +0200
commitaac31d2758d4e84774b633ec108d18f0bad6ef64 (patch)
tree2b617beeb872720f73d2bb85918ec81573c8a10a
parentf8c086b2145d1c9364e9b43ff4d796791d8af169 (diff)
xwayland/present: Drop exec_queue member from struct xwl_present_window
Doesn't serve any purpose anymore. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
-rw-r--r--hw/xwayland/xwayland-present.c5
-rw-r--r--hw/xwayland/xwayland-present.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/hw/xwayland/xwayland-present.c b/hw/xwayland/xwayland-present.c
index b199ac889..d1eb0dfd3 100644
--- a/hw/xwayland/xwayland-present.c
+++ b/hw/xwayland/xwayland-present.c
@@ -71,7 +71,6 @@ xwl_present_window_get_priv(WindowPtr window)
xorg_list_init(&xwl_present_window->frame_callback_list);
xorg_list_init(&xwl_present_window->wait_list);
- xorg_list_init(&xwl_present_window->exec_queue);
xorg_list_init(&xwl_present_window->flip_queue);
xorg_list_init(&xwl_present_window->idle_queue);
@@ -835,8 +834,6 @@ xwl_present_execute(present_vblank_ptr vblank, uint64_t ust, uint64_t crtc_msc)
/* Clear the pixmap field, so this will fall through to present_execute_post next time */
dixDestroyPixmap(vblank->pixmap, vblank->pixmap->drawable.id);
vblank->pixmap = NULL;
-
- xorg_list_add(&vblank->event_queue, &xwl_present_window->exec_queue);
return;
}
}
@@ -868,7 +865,6 @@ xwl_present_pixmap(WindowPtr window,
int ret;
present_vblank_ptr vblank, tmp;
ScreenPtr screen = window->drawable.pScreen;
- struct xwl_present_window *xwl_present_window = xwl_present_window_get_priv(window);
present_window_priv_ptr window_priv = present_get_window_priv(window, TRUE);
present_screen_priv_ptr screen_priv = present_screen_priv(screen);
struct xwl_present_event *event;
@@ -937,7 +933,6 @@ xwl_present_pixmap(WindowPtr window,
*/
vblank->exec_msc = vblank->target_msc - 1;
- xorg_list_append(&vblank->event_queue, &xwl_present_window->exec_queue);
vblank->queued = TRUE;
if (crtc_msc < vblank->exec_msc) {
if (xwl_present_queue_vblank(screen, window, target_crtc, vblank->event_id, vblank->exec_msc) == Success)
diff --git a/hw/xwayland/xwayland-present.h b/hw/xwayland/xwayland-present.h
index e3aaf933d..9999e8cd8 100644
--- a/hw/xwayland/xwayland-present.h
+++ b/hw/xwayland/xwayland-present.h
@@ -45,7 +45,6 @@ struct xwl_present_window {
struct wl_callback *sync_callback;
struct xorg_list wait_list;
- struct xorg_list exec_queue;
struct xorg_list flip_queue;
struct xorg_list idle_queue;