| commit | 09006937c6d680bd206fb45b613d6aaa2bf78f93 | [log] [tgz] |
|---|---|---|
| author | Colin Blundell <blundell@chromium.org> | Thu Apr 03 18:57:03 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 03 18:57:03 2025 |
| tree | 2e7fa37ed9222c95ae5280c0d3bab7ad4af00fbf | |
| parent | b71505b9e1f146f4dbe156328fd90bc2e53f3ecb [diff] |
[//cc] Pass format explicitly to ZeroCopyRasterBufferProvider Rather than passing RasterCaps into ZeroCopyRBP and having it obtain the format from there, pass in the format explicitly. Followup work will do this for all other providers and then have the RasterBufferProvider base class take in the format and eliminate RasterBufferProvider::GetFormat() being virtual. Note: I considered having RasterBufferProvider take in RasterCapabilities as an alternative, but it's kind of a headache to do so thanks to this [1]. [1] https://source.chromium.org/chromium/chromium/src/+/main:cc/test/fake_raster_buffer_provider.cc;l=35-38?q=FakeRasterBufferProvid&ss=chromium Bug: 403372453 Change-Id: Id62043747e0964df9bcd3367426a94c56271a9eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6429564 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1442329}
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.