[SurfaceFlinger] add minimum frame count for early gl offsets.

This is to avoid edge case behavior by rapidly switching in and out
of gl composition, causing poor vsync timelines.

Bug: 132997413
Test: systrace
Change-Id: I4665f34f7e027a7883cfb5e47e14f41d845d1298
1 file changed