Create Context with OutputSurface in SyncCompositor
commit4d7902ea95846e3dee701dc10cf8110716e79e47
authorboliu <boliu@chromium.org>
Fri, 10 Apr 2015 20:36:59 +0000 (10 13:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Apr 2015 20:38:36 +0000 (10 20:38 +0000)
treea40844729592b33eeb538e2afdacd0edef0f770a
parente40a7f63b7f09ddfc5fd8f3eaacac50b0f8eef5a
Create Context with OutputSurface in SyncCompositor

Create GLContext when OutputSurface is created, ie at the
same time as rest of chrome platforms.

This is possible because renderer compositor context run on
chrome's gpu thread, rather than android's thread which was
not always available.

This allows the explicit initialize/release code paths to
be deleted. Delete them from android_webview and content
in this CL.

BUG=474416

Review URL: https://codereview.chromium.org/1077783002

Cr-Commit-Position: refs/heads/master@{#324679}
android_webview/browser/browser_view_renderer.cc
android_webview/browser/browser_view_renderer.h
content/browser/android/in_process/synchronous_compositor_factory_impl.cc
content/browser/android/in_process/synchronous_compositor_impl.cc
content/browser/android/in_process/synchronous_compositor_impl.h
content/browser/android/in_process/synchronous_compositor_output_surface.cc
content/browser/android/in_process/synchronous_compositor_output_surface.h
content/public/browser/android/synchronous_compositor.h
content/public/test/test_synchronous_compositor_android.cc
content/public/test/test_synchronous_compositor_android.h