commit | 706970615727afe6ea87c2f64a46982dee528cc1 | [log] [tgz] |
---|---|---|
author | vikas soni <vikassoni@chromium.org> | Tue Apr 01 20:33:56 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 01 20:33:56 2025 |
tree | 7290cdecbd7a4e3b87f3ff5b628484e352357edd | |
parent | a80741b169edb73b7edf4ac0ba434521e5bd1c5d [diff] |
[TreesInViz] Update ClientResourceProvider to be used for TreesInViz. Allow ::ImportResource to use existing ResourceId. When Renderer sends a TransferableResource to Viz, it's ClientResourceProvider imports and generates a ResourceId for it via ::ImportResource(). With TreesInViz, Viz will have its own separate tracking of TransferableResource using LayerContextImpl's ClientResourceProvider and will be using ::ImportResource() to import the TransferableResource it received from Renderer. Since this TransferableResource already has a ResourceId, it does not want to generate it again. This CL allows ClientResourceProvider::ImportResource() to import an existing ResourceId from the TransferableResource for TreesInViz mode. Bug: 406994521 Change-Id: I94042e371aa8e09993f159b4db2b4a8e1723e25f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6409324 Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Victor Miura <vmiura@chromium.org> Auto-Submit: vikas soni <vikassoni@chromium.org> Commit-Queue: vikas soni <vikassoni@chromium.org> Cr-Commit-Position: refs/heads/main@{#1441154}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.