Reduce internal Flush() in GL resource glGen/Delete APIs.
Previously command buffer Flush() was inserted in all
glGen/glDelete APIs to preserve glGen/glDelete/glBind
ordering semantics across shared contexts.
This change removes auto Flush() on glGen*, and requires
that users call glFlush or glFinish explicitly to
guarantee ordering semantics.
Further for share groups without bind_generates_resouce
semantic, this change replaces the auto Flush() on
glDelete* with lazy ID collection.
BUG=
343269
Committed:
https://src.chromium.org/viewvc/chrome?view=rev&revision=252635