compositor: implement presentation_feedback
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 24 Sep 2014 02:08:46 +0000 (22:08 -0400)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 30 Sep 2014 10:02:06 +0000 (13:02 +0300)
commit133e4396745ccd33d321e0f6b639a4e10e4e6647
tree9db2044adc9e321729b32cc29f121d647ad5c45d
parentb5eedade367098c61e656c1c5b795760da60b978
compositor: implement presentation_feedback

Implement the presentation.feedback request, and the
presentation_feedback protocol interface. Feedback information is
delivered to clients as the backend reports it, except the refresh
counter (MSC) which is always reported as zero.

Changes in v4:

* add 'flags' argument to 'presented' event without implementation

Changes in v5:

* remove the 'destroy' method implementation for feedback objects
  [Pekka Paalanen: do not leak struct feedback.]

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
v3 Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
src/compositor.c
src/compositor.h