Latest commit 77d094b Oct 25, 2013 @garnacho garnacho wayland: Improve SHM surface get_age()
Each of the two buffers has an n_uses counter, so at the time of
switching buffers, the age of the new current buffer can be figured
out of that.

Also, make offscreen surfaces single buffered, those are conceptually
back buffers always.