commit | b57edf32f099f437e5c10ddcaa9b54b3898df63f | [log] [tgz] |
---|---|---|
author | Xu Xing <xing.xu@intel.com> | Tue Aug 22 04:18:47 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 22 04:18:47 2017 |
tree | acc4b7506afaa4f2febc34504e8ddc1abaaf4b37 | |
parent | 44248851c5f19227c3fc9bcc8c60285175064a3a [diff] |
Split ResourceProvider into LayerTreeResourceProvider and DisplayResourceProvider ResourceProvider manages resources shared between producer (render layer tree, browser layer tree) and consumer (display compositor). The producer writes to resources and sends it to the consumer, the consumer receives and reads resources. These write/send and receive/read currently live in a single ResourceProvider. The general idea is to split the responsibilities in ResourceProvider into two parts: write/send in the LayerTreeResourceProvider, receive/read in the DisplayResourceProvider. After investigating the write/read in producer and consumer (list in below table: https://docs.google.com/spreadsheets/d/1lnyONBganHkiQKw8J-3e3xC7STZkYvSh7dkzxSUFmPw/edit), most of these Scoped*s are used by both the producer and consumer. So in this patch, will split send into LayerTreeResourceProvider and receive into DisplayResourceProvider first. TODO: split read/write in ResourceProvider into LayerTreeResourceProvider or DisplayResourceProvider, related bug is https://bugs.chromium.org/p/chromium/issues/detail?id=757291 BUG=738190 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ifc686fbd234f325228a8de0c6270500fc1b22fe2 Reviewed-on: https://chromium-review.googlesource.com/599628 Commit-Queue: Xing Xu <xing.xu@intel.com> Reviewed-by: Eric Karl <ericrk@chromium.org> Reviewed-by: Fady Samuel <fsamuel@chromium.org> Reviewed-by: enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#496211}
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 .