commit | bfe3d535991ac1681be438972792d624c1b74b6b | [log] [tgz] |
---|---|---|
author | Maksim Sisov <msisov@igalia.com> | Tue Nov 01 15:24:23 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 01 15:24:23 2022 |
tree | c7a04ea99342299ec7841498f4cd98b5dc68ead1 | |
parent | b6124a6e368f44e99075a361a3b4a9ebec276794 [diff] |
cc: Make it possible to create/use shared GpuImageDecodeCache This patch allows LayerTreeHostImpl use a shared gpu image decode cache created by RasterContextProviderWrapper. The wrapper is able to listen to visibility changes propagated through ImageCacheController and set ShouldAggressivelyFreeResources accordingly. At the moment, it's still disabled. Thus, each CC instance still uses own cache instance as LayerTreeSetting::enable_shared_image_cache_for_gpu needs to be set to make it use a shared cache. Bug: 1279568 Change-Id: Ib3080d3211487ae1111f633ac7008fad9f2f2718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3938082 Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1065945}
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.