aw: Track UI request GL separately from other threads
commit0dcee537638124ad9ed3c2c4c492db02d45a313b
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 06:45:15 +0000 (6 06:45 +0000)
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 06:45:15 +0000 (6 06:45 +0000)
treeb4a9e2a057538fd99a6f1008720a24cd23c86036
parent4765de44d3d8f5fbec4228aacfc474585150c61e
aw: Track UI request GL separately from other threads

Track UI and other threads differently in requesting DrawGL. The request
itself is posted through UI thread, so not tracking them separately can
lead to deadlocks. See bug for more detail.

BUG=399745

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287713 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/browser/deferred_gpu_command_service.cc
android_webview/browser/shared_renderer_state.cc
android_webview/browser/shared_renderer_state.h