-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove media::UnalignedSharedMemory.
This was previously needed since //base's shmem implementation required mapping at page-aligned offsets. However, several different places throughout Chrome needed non-page-aligned offsets, so the //base API supports it directly now. For the most part, the changes in this CL follow as a natural result of removing media::UnalignedSharedMemory usage from media::BitstreamBuffer and media::DecoderBuffer. media::UnalignedSharedMemory internally contained the shmem region and potentially the shmem mapping as well. Usage has been split apart into region and mapping as appropriate. Many parts of the code used internal implementation details of base's shmem; these have been updated to use the non-subtle versions of the API as much as possible, though there are many ARC++ and/or CrOS endpoints that serialize raw Mojo handles or fds directly that cannot easily be updated. Bug: 795291, 849207, 1323416 Change-Id: Icbaa854930aac9f5409283a70a7ab6da48b60ad0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3632832 Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Dan Sanders <sandersd@chromium.org> Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org> Reviewed-by: Alex Gough <ajgo@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002338}
- Loading branch information
1 parent
557e4fb
commit 87b8cf9
Showing
50 changed files
with
387 additions
and
1,023 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.