Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Issue 431383003: aw: Track UI request GL separately from other threads (Closed)

Created:
6 years, 4 months ago by boliu
Modified:
6 years, 4 months ago
Reviewers:
hush (inactive)
CC:
chromium-reviews, android-webview-reviews_chromium.org, no sievers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287713

Patch Set 1 #

Total comments: 6

Patch Set 2 : review + add trace event #

Patch Set 3 : add is_idle to trace event #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M android_webview/browser/deferred_gpu_command_service.cc View 1 2 8 chunks +24 lines, -1 line 0 comments Download
M android_webview/browser/shared_renderer_state.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/shared_renderer_state.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
boliu
6 years, 4 months ago (2014-08-01 19:38:07 UTC) #1
boliu
Tested that fix works
6 years, 4 months ago (2014-08-05 22:29:24 UTC) #2
hush (inactive)
https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc File android_webview/browser/deferred_gpu_command_service.cc (right): https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc#newcode127 android_webview/browser/deferred_gpu_command_service.cc:127: bool on_ui_thread = renderer_state->CurrentlyOnUIThread(); on_ui_thread only means render state ...
6 years, 4 months ago (2014-08-05 23:04:39 UTC) #3
boliu
https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc File android_webview/browser/deferred_gpu_command_service.cc (right): https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc#newcode127 android_webview/browser/deferred_gpu_command_service.cc:127: bool on_ui_thread = renderer_state->CurrentlyOnUIThread(); On 2014/08/05 23:04:39, hush wrote: ...
6 years, 4 months ago (2014-08-05 23:07:55 UTC) #4
hush (inactive)
lgtm https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc File android_webview/browser/deferred_gpu_command_service.cc (right): https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc#newcode133 android_webview/browser/deferred_gpu_command_service.cc:133: } yes. if on_ui_thread is false, you will ...
6 years, 4 months ago (2014-08-05 23:55:15 UTC) #5
boliu
Also slipped in TRACE_EVENT for PerformIdleWork https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc File android_webview/browser/deferred_gpu_command_service.cc (right): https://codereview.chromium.org/431383003/diff/1/android_webview/browser/deferred_gpu_command_service.cc#newcode133 android_webview/browser/deferred_gpu_command_service.cc:133: } On 2014/08/05 ...
6 years, 4 months ago (2014-08-06 00:05:46 UTC) #6
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 4 months ago (2014-08-06 00:08:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/431383003/40001
6 years, 4 months ago (2014-08-06 00:09:24 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 06:45:21 UTC) #9
Message was sent while issue was closed.
Change committed as 287713

Powered by Google App Engine
This is Rietveld 408576698