1
0
Fork 0
mutter-performance-source/clutter/wayland
Neil Roberts d5896d284e wayland: Queue a redraw after showing the stage
On the other backends we will get some sort of expose event after
showing the stage's window which will queue a redraw. These expose
events don't exist on Wayland so nothing will cause Clutter to queue a
redraw. Weston doesn't bother displaying anything for the stage's
surface until the first buffer is sent, which of course it will never
receive if Clutter doesn't paint anything. This patch just makes it
explicitly queue a redraw after the stage is shown so that we will
always pass at least one frame to the compositor.

The bug can be seen by running test-stage-sizing. That example doesn't
have any animations so it won't try to queue any redraws until
something interacts with it. On the other hand something like
test-actors works fine without the patch because it constantly queues
redraws anyway in order to display the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=696791
2013-03-28 16:12:34 +00:00
..
clutter-backend-wayland-priv.h wayland: Only include Wayland headers in private 2013-02-20 23:06:28 +00:00
clutter-backend-wayland.c wayland: Only include Wayland headers in private 2013-02-20 23:06:28 +00:00
clutter-backend-wayland.h wayland: Only include Wayland headers in private 2013-02-20 23:06:28 +00:00
clutter-device-manager-wayland.c wayland: Only include Wayland headers in private 2013-02-20 23:06:28 +00:00
clutter-device-manager-wayland.h wayland: Updates client side wayland support 2011-12-08 16:13:37 +00:00
clutter-event-wayland.c wayland: Port to new protocol 2012-10-12 18:54:25 +01:00
clutter-event-wayland.h wayland: Updates client side wayland support 2011-12-08 16:13:37 +00:00
clutter-input-device-wayland.c wayland: Only include Wayland headers in private 2013-02-20 23:06:28 +00:00
clutter-input-device-wayland.h Hide clutter_input_device_wayland and clutter_stage_wayland types 2012-10-12 15:12:55 +01:00
clutter-stage-wayland.c wayland: Queue a redraw after showing the stage 2013-03-28 16:12:34 +00:00
clutter-stage-wayland.h Hide clutter_input_device_wayland and clutter_stage_wayland types 2012-10-12 15:12:55 +01:00
clutter-wayland-compositor.h wayland-compositor: Don't use Wayland types in public API 2013-02-20 23:06:28 +00:00
clutter-wayland-surface.c Fixes for the API reference 2012-04-27 12:30:48 +01:00
clutter-wayland-surface.h docs: Updates to the API reference 2012-03-05 23:45:40 +00:00
clutter-wayland.h Port to new Wayland and xkbcommon APIs 2012-10-12 15:12:55 +01:00