Merge "SurfaceFlinger: calculate expected present once" into qt-r1-dev