Mac zero copy capture: Add software IOSurface support
The capture process knows nothing about whether or not hardware acceleration is enabled, and cannot therefore be told not to send GpuMemoryBuffers when there is no GpuMemoryBuffer support. Add a path whereby a media::VideoFrame can be created to wrap an IOSurface-backed gfx::GpuMemoryBufferHandle. This will be used when the capture process gives Blink a GpuMemoryBuffer handle, but there no longer exists hardware acceleration support (because of being disabled statically or dynamically). Bug: 1125879 Change-Id: Id87ca3d832e68a3501ed12540d3d265f23cd0362 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2415575 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:ccameron <ccameron@chromium.org> Reviewed-by:
Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#808244}
Showing
Please register or sign in to comment