This CL adds the necessary steps to allow fuchsia video frames that
are associated with an independent ImagePipe to be promoted as
overlays. This is mostly done though NativePixmap interface.
- Note that, "use-overlays-for-video" flag added in a previous CL
allows fuchsia to associate video frames with an independent
ImagePipe through ScenicOverlayView class.
- Adding NativePixmap::SupportsOverlayPlane() to query platform
specific instances for overlay support. Fuchsia's SysmemNativePixmap
checks for ScenicOverlayView association.
- Add OverlayManagerScenic to filter overlay candidates.
- Allow access to the underlying pixmap in SharedImageInterface
through gpu::VulkanImage.
Bug: 1127984
Change-Id: I1f76deb28c4b94e948f600061caf7215f2ee1382
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2446523
Commit-Queue: Emircan Uysaler <emircan@chromium.org>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Khushal <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817209}