Bug 1787561 Part 1: Make GPUVideoImage track color depth, and make RemoteImageHolder...
commit9c2897078ce106ff97a44dd96d7e6b026db29c41
authorBrad Werth <bwerth@mozilla.com>
Wed, 7 Sep 2022 18:31:45 +0000 (7 18:31 +0000)
committerBrad Werth <bwerth@mozilla.com>
Wed, 7 Sep 2022 18:31:45 +0000 (7 18:31 +0000)
treed5e9e39e82f77a4c6d727c727f40da0a7247eeba
parented9a53c244ab1cf7dce28530bbbaf6e68138db0d
Bug 1787561 Part 1: Make GPUVideoImage track color depth, and make RemoteImageHolder pass it through. r=media-playback-reviewers,gfx-reviewers,alwu,aosmond

This ensures that the Image that the client receives has the color depth
information that was sent to the GPU, even though the client can't query
the GPU directly.

Differential Revision: https://phabricator.services.mozilla.com/D155902
dom/media/ipc/RemoteImageHolder.cpp
dom/media/ipc/RemoteImageHolder.h
dom/media/ipc/RemoteVideoDecoder.cpp
gfx/layers/GPUVideoImage.h