compositor-drm: Wait for vblank events before starting next frame
authorAnder Conselvan de Oliveira <conselvan2@gmail.com>
Tue, 26 Jun 2012 14:09:13 +0000 (17:09 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 26 Jun 2012 14:24:27 +0000 (10:24 -0400)
commita73269637f705e489abbca63d2b2889faef911a4
tree21a3af32c7c4e48ca00327b3720de0629dc7970c
parentd450b1901fcec3bb38b11800c2d435f38354344b
compositor-drm: Wait for vblank events before starting next frame

Besides the fact of the frame not being done, assigning planes before
the vblank handler is called will make the state inconsistent, leading
to a crash.
src/compositor-drm.c