Bug 1787561 Part 1: Make GPUVideoImage track color depth, and make RemoteImageHolder...
commitddc104b33213f528b905339f877db7b3e3ae050e
authorBrad Werth <bwerth@mozilla.com>
Thu, 8 Sep 2022 18:02:03 +0000 (8 18:02 +0000)
committerBrad Werth <bwerth@mozilla.com>
Thu, 8 Sep 2022 18:02:03 +0000 (8 18:02 +0000)
treea00d942e1d662f2abb4dcb2815dd18ec32c467da
parentf0e33014a0e2f426c53eb22d6b54ed9f43af60aa
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