aw: Refactor hardware init
Move inserting the initialization task to first OnDraw with hardware
canvas rather than OnAttach. Also insert view into GLViewRendererManager
here.
Refactor DeferredGpuCommandService into its own file, and have
AwContents interact with it. Move ScopedAppGLStateRestore into
AwContents as well. This meant that the header cannot include any GL
files, so required a refactor there.
Also discovered GLViewRendererManager::PushBack is not thread safe
during refactoring. Fix that as well.
BUG=344087
Review URL: https://codereview.chromium.org/
273703008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269461 0039d316-1c4b-4281-b951-d872f2087c98