From 598efc65c09284f4efb67deaac1daca8ec8385e6 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 22 Nov 2021 10:48:36 +0300 Subject: [PATCH] mfplat: Add mfd3d12 attributes to tracing. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/mfplat/main.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c index c36a2069bd8..d7cd0d360d9 100644 --- a/dlls/mfplat/main.c +++ b/dlls/mfplat/main.c @@ -46,6 +46,12 @@ #include "strsafe.h" #undef INITGUID #include "evr.h" +/* mfd3d12 guids are not included in mfuuid */ +#define INITGUID +#undef EXTERN_GUID +#define EXTERN_GUID DEFINE_GUID +#include "initguid.h" +#include "mfd3d12.h" WINE_DEFAULT_DEBUG_CHANNEL(mfplat); @@ -1572,6 +1578,8 @@ const char *debugstr_attr(const GUID *guid) X(MF_PD_PLAYBACK_ELEMENT_ID), X(MF_MEDIA_ENGINE_BROWSER_COMPATIBILITY_MODE_IE9), X(MF_MT_ALL_SAMPLES_INDEPENDENT), + X(MF_SA_D3D12_CLEAR_VALUE), + X(MF_MT_D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER), X(MF_PD_PREFERRED_LANGUAGE), X(MF_PD_PLAYBACK_BOUNDARY_TIME), X(MF_MEDIA_ENGINE_TELEMETRY_APPLICATION_ID), @@ -1596,6 +1604,7 @@ const char *debugstr_attr(const GUID *guid) X(MF_MEDIA_ENGINE_STREAM_CONTAINS_ALPHA_CHANNEL), X(MF_MEDIA_ENGINE_MEDIA_PLAYER_MODE), X(MF_MEDIA_ENGINE_EXTENSION), + X(MF_MT_D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS), X(MF_MT_DEFAULT_STRIDE), X(MF_MT_ARBITRARY_FORMAT), X(MF_TRANSFORM_CATEGORY_Attribute), @@ -1629,9 +1638,11 @@ const char *debugstr_attr(const GUID *guid) X(MF_READWRITE_DISABLE_CONVERTERS), X(MF_MEDIA_ENGINE_BROWSER_COMPATIBILITY_MODE_IE_EDGE), X(MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_FLAGS), + X(MF_SA_D3D12_HEAP_FLAGS), X(MF_MT_MINIMUM_DISPLAY_APERTURE), X(MFSampleExtension_Token), X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY), + X(MF_D3D12_SYNCHRONIZATION_OBJECT), X(MF_MT_AUDIO_VALID_BITS_PER_SAMPLE), X(MF_TRANSFORM_ASYNC_UNLOCK), X(MF_DISABLE_FRAME_CORRUPTION_INFO), @@ -1644,6 +1655,7 @@ const char *debugstr_attr(const GUID *guid) X(MFSampleExtension_3DVideo_SampleFormat), X(MF_MT_H264_RESOLUTION_SCALING), X(MF_MT_VIDEO_LEVEL), + X(MF_SA_D3D12_HEAP_TYPE), X(MF_SAMPLEGRABBERSINK_SAMPLE_TIME_OFFSET), X(MF_MT_SAMPLE_SIZE), X(MF_MT_AAC_PAYLOAD_TYPE), @@ -1665,6 +1677,8 @@ const char *debugstr_attr(const GUID *guid) X(MF_SESSION_QUALITY_MANAGER), X(MF_SESSION_CONTENT_PROTECTION_MANAGER), X(MF_MT_MPEG4_SAMPLE_DESCRIPTION), + X(MF_MT_D3D_RESOURCE_VERSION), + X(MF_MT_D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET), X(MF_MT_MPEG_START_TIME_CODE), X(MFT_REMUX_MARK_I_PICTURE_AS_CLEAN_POINT), X(MFT_REMUX_MARK_I_PICTURE_AS_CLEAN_POINT), @@ -1724,10 +1738,12 @@ const char *debugstr_attr(const GUID *guid) X(MF_EVENT_SOURCE_FAKE_START), X(MF_EVENT_SOURCE_PROJECTSTART), X(MF_EVENT_SOURCE_ACTUAL_START), + X(MF_MT_D3D12_TEXTURE_LAYOUT), X(MF_MEDIA_ENGINE_CONTENT_PROTECTION_MANAGER), X(MF_MT_AUDIO_SAMPLES_PER_BLOCK), X(MFT_ENUM_HARDWARE_URL_Attribute), X(MF_SOURCE_READER_ASYNC_CALLBACK), + X(MF_MT_D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE), X(MF_MT_OUTPUT_BUFFER_NUM), X(MF_SA_D3D11_BINDFLAGS), X(MFT_ENCODER_SUPPORTS_CONFIG_EVENT), @@ -1737,6 +1753,7 @@ const char *debugstr_attr(const GUID *guid) X(MFT_SUPPORT_3DVIDEO), X(MFT_SUPPORT_3DVIDEO), X(MFT_INPUT_TYPES_Attributes), + X(MF_MT_D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS), X(MF_MT_H264_LAYOUT_PER_STREAM), X(MF_EVENT_SCRUBSAMPLE_TIME), X(MF_MT_SPATIAL_AUDIO_MAX_METADATA_ITEMS), @@ -1754,6 +1771,7 @@ const char *debugstr_attr(const GUID *guid) X(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK), X(MF_SA_D3D11_SHARED), X(MF_MT_PAN_SCAN_ENABLED), + X(MF_MT_D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL), X(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID), X(MF_MT_DV_VAUX_CTRL_PACK), X(MFSampleExtension_ForwardedDecodeUnitType), @@ -1798,6 +1816,7 @@ const char *debugstr_attr(const GUID *guid) X(MF_PD_AUDIO_ISVARIABLEBITRATE), X(MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS), X(MF_MEDIA_ENGINE_BROWSER_COMPATIBILITY_MODE), + X(MF_MT_D3D12_CPU_READBACK), X(MF_AUDIO_RENDERER_ATTRIBUTE_SESSION_ID), X(MF_MT_MPEG2_CONTENT_PACKET), X(MFT_PROCESS_LOCAL_Attribute),