Issue #2393 - Part 2 - Add D3D11YCbCrImage type and related methods

Will allow to directly upload a YUV420 buffer into a D3D11 texture.
This commit is contained in:
trav90 2023-11-28 14:40:11 -06:00 committed by roytam1
commit 74a22e5c00
9 changed files with 568 additions and 69 deletions

View file

@ -48,6 +48,7 @@ EXPORTS += [
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
SOURCES += [
'D3D11ShareHandleImage.cpp',
'D3D11YCbCrImage.cpp',
]
UNIFIED_SOURCES += [
'D3D9SurfaceImage.cpp',
@ -153,6 +154,7 @@ EXPORTS.mozilla.layers += [
'Compositor.h',
'CompositorTypes.h',
'D3D11ShareHandleImage.h',
'D3D11YCbCrImage.h',
'D3D9SurfaceImage.h',
'Effects.h',
'ImageDataSerializer.h',