HomePhabricator

Handle wayland frame commits with no surface damage better

Authored by ManMower on Aug 31 2017, 12:41 PM.

Description

Handle wayland frame commits with no surface damage better

Previously we immediately kicked back the frame callback when a client
sent a surface frame without damage. This let clients that use frames
for timing proceed, but they generally just send another frame right
away and spin in this way until they reach their intended render time.

Now we use animators so the frame callbacks will be limited to the
animator tick source's frequency.

ref T5850