Skip to content
Commit 9fce4f77 authored by vikas soni's avatar vikas soni Committed by Chromium LUCI CQ
Browse files

Provide ToBufferFormat() access to ClientSharedImage.

ClientSharedImage needs to use ToBufferFormat() in order to
work with MultiPlanar SharedImage format.
One solution is to move the ToBufferFormat from service side to
client side code. But since we want to phase out BufferFormat usage
in future, we do not want all clients to access this method.

Hence allow restricted access to that method only to ClientSharedImage
via new classes implemented in this CL.

Bug: 1431344, 330743881
Change-Id: Ia960404023b56623c17327a2687a84096dc6ce34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5403281


Auto-Submit: vikas soni <vikassoni@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1280163}
parent a78ce4b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment