weston-test-client-helper: Use a frame callback to flush surface geometry
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Dec 2012 02:49:13 +0000 (21:49 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Dec 2012 02:50:14 +0000 (21:50 -0500)
commitdb6dc7d47024a82d6a979888ade2067bda4dc563
treeaf6c95f85c01e0bd1147f4ed7af406ad01a34e9b
parent0a7d588740dfb182e118e6b13ba4d5a29b8ea522
weston-test-client-helper: Use a frame callback to flush surface geometry

When moving a test surface, use a frame callback to make sure the
surface has been moved and the geometry updated.  The compositor may
delay updating the transform matrices, but once we get the frame
callback we know the surface has been repainted and the geometry
updated.
tests/weston-test-client-helper.c