diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-10 15:10:56 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-10 15:13:38 +0200 |
commit | adc0159bdb733eaa870b8e12a4a14547a8d96407 (patch) | |
tree | c5e9044136327fafd9c137f6f78205f245af0fa7 /gdk/wayland/gdkvulkancontext-wayland.c | |
parent | e44bbeb558ddef5ffd3749aca3fec2dafaa0d634 (diff) | |
download | gtk+-adc0159bdb733eaa870b8e12a4a14547a8d96407.tar.gz |
wayland: Factor out frame timings request code
Also call the code everywhere we draw and not just with Cairo.
Diffstat (limited to 'gdk/wayland/gdkvulkancontext-wayland.c')
-rw-r--r-- | gdk/wayland/gdkvulkancontext-wayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/wayland/gdkvulkancontext-wayland.c b/gdk/wayland/gdkvulkancontext-wayland.c index b5e82139f5..714ae6de4b 100644 --- a/gdk/wayland/gdkvulkancontext-wayland.c +++ b/gdk/wayland/gdkvulkancontext-wayland.c @@ -67,6 +67,7 @@ gdk_vulkan_context_wayland_end_frame (GdkDrawContext *context, GdkSurface *surface = gdk_draw_context_get_surface (GDK_DRAW_CONTEXT (context)); gdk_wayland_surface_sync (surface); + gdk_wayland_surface_request_frame (surface); GDK_DRAW_CONTEXT_CLASS (gdk_wayland_vulkan_context_parent_class)->end_frame (context, painted, damage); } |