commit | d5bd60f820f57b8c3326ee5993652100780013d1 | [log] [tgz] |
---|---|---|
author | Hajime Hoshi <hajimehoshi@chromium.org> | Fri May 25 13:32:04 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 25 13:32:04 2018 |
tree | 8576bcfb5a90f6dc36a4794ca5cb60a84f5bd5ce | |
parent | 1c8d34f6f3b1efbc7faf42c3282058629a904a0d [diff] |
Add TaskType::kWorkerThreadTaskQueueCompositor and use it for compositors Before this CL, null was passed to Mojo binding as a compositor task runner in offscreen canvas on worker thread as NonMainThreadTaskRunner:: CompositorTaskRunner() returns null. In this case, SingleThreadTaskRunner::Get() was used internally Mojo. This CL implements WorkerThreadScheduler::CompositorTaskRunner() with a new task type kWorkerThreadTaskQueueCompositor so that we can know the task runner's usage on UMA for task duration per task type. Bug: 841172 Change-Id: I8caf3244169300aed45eeab4fcd01999bc823976 Reviewed-on: https://chromium-review.googlesource.com/1073169 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#561847}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .