commit | 55c26cfa56aece65a1f69f7da6d85e67710a3fd6 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Tue Jun 10 21:23:41 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 10 21:23:41 2025 |
tree | a05e0054183eccc7c8108f379599bb47e2935519 | |
parent | 8b1f27c717bfcf31564f6163da076329c72d0a78 [diff] |
[ios blink] IOSurface remote mapping Allow renderer process on iOS to access IOSurfaces by sharing the memory segment backing the IOSurface and mapping it as shared memory, avoiding the use of IOKit to access the IOSurface which is blocked by sandbox. Even though we're not using IOSurfaceLock/Unlock to synchronize CPU access, this is fine since we enforce exclusive write access to the IOSurface on the CPU or GPU in Chromium. We still need to signal that the IOSurface was updated on the CPU so we do a IOSurfaceLock+Unlock in UpdateSharedImage. Bug: 40254930 Change-Id: I378f03baea3b569ace258ce702d270aa272fc4d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6625734 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Will Harris <wfh@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/main@{#1472066}
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.