SF: resync to vsync on transaction.

Currently only Choreographer requestNextVsync will resync otherwise.
Scheduler::resync already checks to make sure resync won't happen too
frequently (750 ms currently).

Bug: 266128330
Bug: 425994753
Test: jank metrics
Flag: com.android.graphics.surfaceflinger.flags.resync_on_tx
Change-Id: I62a22d20a5183e612d71e104ee7405852604f976
5 files changed