зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1613364 [Wayland] Update SurfaceDescriptorDMABuf to export YUV surfaces, r=sotaro
We need to export more planes in SurfaceDescriptorDMABuf and also YUV color space. Differential Revision: https://phabricator.services.mozilla.com/D62000 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f656d38f91
Коммит
66d3858441
|
@ -60,15 +60,16 @@ struct SurfaceDescriptorMacIOSurface {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SurfaceDescriptorDMABuf {
|
struct SurfaceDescriptorDMABuf {
|
||||||
uint32_t width;
|
uint32_t bufferType;
|
||||||
uint32_t height;
|
|
||||||
uint32_t format;
|
|
||||||
uint64_t modifier;
|
uint64_t modifier;
|
||||||
uint32_t flags;
|
uint32_t flags;
|
||||||
uint32_t numFds;
|
|
||||||
FileDescriptor[] fds;
|
FileDescriptor[] fds;
|
||||||
|
uint32_t[] width;
|
||||||
|
uint32_t[] height;
|
||||||
|
uint32_t[] format;
|
||||||
uint32_t[] strides;
|
uint32_t[] strides;
|
||||||
uint32_t[] offsets;
|
uint32_t[] offsets;
|
||||||
|
YUVColorSpace yUVColorSpace;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SurfaceTextureDescriptor {
|
struct SurfaceTextureDescriptor {
|
||||||
|
@ -98,6 +99,7 @@ struct SurfaceDescriptorSharedGLTexture {
|
||||||
union RemoteDecoderVideoSubDescriptor {
|
union RemoteDecoderVideoSubDescriptor {
|
||||||
SurfaceDescriptorD3D10;
|
SurfaceDescriptorD3D10;
|
||||||
SurfaceDescriptorDXGIYCbCr;
|
SurfaceDescriptorDXGIYCbCr;
|
||||||
|
SurfaceDescriptorDMABuf;
|
||||||
null_t;
|
null_t;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче