This problem seems to be related to mir dropping old buffers when the visibility changes from occluded->exposed.
If I remove the "drop old buffers" code from mir::scene::BasicSurface::set_visibility, then it seems to come right.
There have been some changes in mir related to the buffer stream and arbiter which I'm testing if might make a difference. It may also be that we're not handling the dropped buffers correctly in qtmir?
Testing in Ubuntu 15.04 (r168):
This problem seems to be related to mir dropping old buffers when the visibility changes from occluded->exposed. :BasicSurface: :set_visibility , then it seems to come right.
If I remove the "drop old buffers" code from mir::scene:
There have been some changes in mir related to the buffer stream and arbiter which I'm testing if might make a difference. It may also be that we're not handling the dropped buffers correctly in qtmir?