Add GetPlaneSurface to ui::GbmBuffer
There is currently a GetSurface() api but it only gives access to the plane 0. This new api GetPlaneSurface allows to get access to any planes to support YUV formats. Bug: 1043007 Test: ./out/ozone_build/ozone_unittests Change-Id: I4116affcf168cdaeebf3b405234aa3e5f55cc30f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032060Reviewed-by:Daniel Nicoara <dnicoara@chromium.org> Reviewed-by:
Maksim Sisov <msisov@igalia.com> Commit-Queue: Julien Isorce <julien.isorce@chromium.org> Cr-Commit-Position: refs/heads/master@{#740986}
Showing
Please register or sign in to comment