commit | 88c843775504c8beb480aae0f62c02791ecbb108 | [log] [tgz] |
---|---|---|
author | Yuta Kitamura <yutak@chromium.org> | Fri Sep 28 12:33:54 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Sep 28 12:33:54 2018 |
tree | d9a1550087fc3f7b5abe407992bf030bb66c8433 | |
parent | c465ab4014a8793ffd9aabdb058441fbec76ee90 [diff] |
Move most of compositor thread's initialization to Platform. This CL moves most of the actual work of initializing compositor thread from RenderThreadImpl to Platform. This further reduces //content's dependency to WebThread. A new virtual function is introduced to Platform so we can change the thread priority of the created compositor thread on Linux, where we need to talk to the browser process to change the thread priority. Additionally, a new function Platform::CompositorThreadTaskRunner() is introduced, because RenderThreadImpl needs to post tasks to the compositor thread after the thread is initialized. Bug: 826203 Change-Id: Ic80e6452cdfe8af25ae2b277125687854859d106 Reviewed-on: https://chromium-review.googlesource.com/1249424 Commit-Queue: Yuta Kitamura <yutak@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#595063}
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 .