Cherry-pick: Support multiple service instances with GLInProcessContext
Cherry-pick with conflict of crrev.com/r250984
Conflicts are due to not having crrev.com/r249099 and crrev.com/r244697.
Moved had to fix some includes and add gfx::GLSurface::InitializeOneOff to
For example, it supports running two GPU threads.
This simplifies the scheduling/queuing logic in InProcessCommandBuffer
a bit and moves the non-thread/queue implementation out to WebView by
allowing for passing in a InProcessCommandBuffer::Service instance
when creating a context.
12 files changed