Cherry-pick: aw: Add and use DrawGL kModeSync

Clean cherry-pick of Chromium r285712

BUG: 16526750

Original description:

We need to support this new hidden api to avoid onDraw getting ahead of
DrawGL. Without this, onDraw can finish producing frame n+1 before DrawGL
consumes frame n, in which case DrawGL skips a frame.

Also make AwDrawGLInfo future proof.

Change-Id: I297341cce7d2aa85af1704898fdb6b48a1f4d6dd
4 files changed