Replace VRI and SV sync logic with SurfaceSyncer

Instead of using the count to keep track of sync information in VRI, use
the SurfaceSyncer to handle this. This also means changing SV since SV
would also increment the VRI counter. This cleans up the logic since
code that's used for the SurfaceSyncer can be re-used in VRI.

Test: seamless rotation, launching apps
Bug: 200284684
Fixes: 225776224
Change-Id: Idb505b35eef9f99b2f76e9d1f1b26f5c50ed9a90
(cherry picked from commit cc671616946fe45af9c2c4849b3b2dbc88d2ac07)
Merged-In: Idb505b35eef9f99b2f76e9d1f1b26f5c50ed9a90
4 files changed