d3d12memory: Make D3D12 map flags inspectable

GIR scanner does not seem to be able to infer integer value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9076>
This commit is contained in:
Seungha Yang 2025-05-26 18:24:01 +09:00
parent 7b8d4c0974
commit 66b35a984d

View File

@ -64,7 +64,7 @@ G_BEGIN_DECLS
#define GST_CAPS_FEATURE_MEMORY_D3D12_MEMORY "memory:D3D12Memory"
/**
* GST_MAP_D3D12:
* GST_MAP_D3D12: (value 131072) (type GstMapFlags)
*
* Flag indicating that we should map the D3D12 resource instead of to system memory.
*
@ -73,7 +73,7 @@ G_BEGIN_DECLS
#define GST_MAP_D3D12 ((GstMapFlags) (GST_MAP_FLAG_LAST << 1))
/**
* GST_MAP_READ_D3D12:
* GST_MAP_READ_D3D12: (value 131073) (type GstMapFlags)
*
* GstMapFlags value alias for GST_MAP_READ | GST_MAP_D3D12
*
@ -82,7 +82,7 @@ G_BEGIN_DECLS
#define GST_MAP_READ_D3D12 ((GstMapFlags) (GST_MAP_READ | GST_MAP_D3D12))
/**
* GST_MAP_WRITE_D3D12:
* GST_MAP_WRITE_D3D12: (value 131074) (type GstMapFlags)
*
* GstMapFlags value alias for GST_MAP_WRITE | GST_MAP_D3D12
*