Cherry-pick: GLInProcessContext: Implement global sync points

Clean cherry-pick of crrev.com/r253201

Original description:

Replaces the implementation that relied on flush ordering since that
is not guaranteed when running different service threads.

BUG: 13328348

Change-Id: I1ca360324399e0de7220a733d2aca47772838e02
2 files changed