Commit 8f5d0925 authored by Peter Qiu's avatar Peter Qiu Committed by Commit Bot

Enable YUV biplanar support for chromecast

Required for supporting GpuMemoryBuffer backed by NV12 dmabuf.

Bug: b/166284508
Test: Manually on cast device
Change-Id: I18201b53fbd77e0f1e4c4947a346b68ee6895eb0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2417508
Commit-Queue: Michael Spang <spang@chromium.org>
Reviewed-by: default avatarDaniel Nicoara <dnicoara@chromium.org>
Reviewed-by: default avatarMichael Spang <spang@chromium.org>
Reviewed-by: default avatarAlbert Chaulk <achaulk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809332}
parent 05736585
......@@ -104,7 +104,7 @@ bool ClientNativePixmapDmaBuf::IsConfigurationSupported(
#endif
bool disable_yuv_biplanar = true;
#if defined(OS_CHROMEOS)
#if defined(OS_CHROMEOS) || BUILDFLAG(IS_CHROMECAST)
// IsConfigurationSupported(SCANOUT_CPU_READ_WRITE) is used by the renderer
// to tell whether the platform supports sampling a given format. Zero-copy
// video capture and encoding requires gfx::BufferFormat::YUV_420_BIPLANAR to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment