commit | 1d0b0609ceddfff71db44e2d52aaf4b5567d9503 | [log] [tgz] |
---|---|---|
author | Nathan Hebert <nhebert@chromium.org> | Thu Mar 31 20:25:30 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 31 20:25:30 2022 |
tree | 64b0593a29375333c5d564ebe82b612c214a0f92 | |
parent | b86d11dbcbc051b4d441a506afd91ea0fe8665e3 [diff] |
platform_video_frame_utils: Set GMB ID This ensures that a unique ID is set for new GMB handles created with CreateGpuMemoryBufferHandle(const VideoFrame*) when the source frame's storage type is STORAGE_DMABUFS. Every code path that produces a GpuMemoryBufferHandle should assign a unique ID. This was found when running tests with VaapiImageProcessorBackend. The VaapiImageProcessorBackend depends on unique GpuMemoryBufferHandle |id|'s for its va_surface caching mechanism. Buffer handles produced by the image processor test code using CreateGpuMemoryBufferHandle did not have |id| assigned, so there were collisions. Bug: b:227177979 Test: image_processor_test on hatch Change-Id: I3f00f2d29e71a49c1454116dada1585849669561 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3557982 Reviewed-by: Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Nathan Hebert <nhebert@chromium.org> Cr-Commit-Position: refs/heads/main@{#987608}
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.