gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/d3d12
Seungha Yang 37e1847464 d3d12videosink: Add support for window handle update
A large refactoring commit for adding features and improve performance

* Reuse internal converter and overlay compositor:
  Converter can be reused as long as input and display formats are not
  changed. Also overlay compositor reconstruction is required only if
  display format is changed

* Don't wait for full GPU flush on resize or close:
  D3D12 swapchain requires GPU idle in order to resize backbuffer.
  Thus CPU side waiting is required for swapchain related commands
  to be finished. However, don't need to wait for full GPU flushing.

* Support multiple sink on a single external window
  Keep installed subclass window procedure even if there's no associated
  our internal HWND. This will make window procedure hooking less racy.
  Then parent HWND's message will be transferred to our internal HWNDs
  if needed.

* Adding support for window handle update
  Application can change target HWND even when videosink is playing or
  paused state. So, users can call gst_video_overlay_set_window_handle()
  against d3d12videosink anytime. The videosink will be able to update
  internal state and setup resource upon requested.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7013>
2024-06-17 16:05:00 +00:00
..
d3d12-prelude.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12-private.h d3d12videosink: Add support for window handle update 2024-06-17 16:05:00 +00:00
gstd3d12.h d3d12: Add GstD3D12Frame struct and helper method 2024-04-14 09:55:41 +00:00
gstd3d12_fwd.h d3d12: Add GstD3D12Frame struct and helper method 2024-04-14 09:55:41 +00:00
gstd3d12bufferpool.cpp d3d12memory: Fix staging buffer alignment 2024-05-30 10:40:44 +00:00
gstd3d12bufferpool.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12commandallocatorpool.cpp d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12commandallocatorpool.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12commandlistpool.cpp d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12commandlistpool.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12commandqueue-private.h d3d12videosink: Add support for window handle update 2024-06-17 16:05:00 +00:00
gstd3d12commandqueue.cpp d3d12videosink: Add support for window handle update 2024-06-17 16:05:00 +00:00
gstd3d12commandqueue.h d3d12commandqueue: Add execute_wait_and_command_lists() method 2024-04-28 12:49:07 +00:00
gstd3d12compat.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12converter-builder.cpp d3d12converter: Simplify root signature build 2024-04-08 13:24:20 +00:00
gstd3d12converter-builder.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12converter-private.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12converter.cpp d3d12converter: Add support for GPU-side external fence waiting 2024-04-28 12:49:07 +00:00
gstd3d12converter.h d3d12converter: Add support for GPU-side external fence waiting 2024-04-28 12:49:07 +00:00
gstd3d12descriptorpool.cpp d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12descriptorpool.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12device-private.h d3d12: Workaround for Intel iGPU decoder crash 2024-06-17 15:15:07 +00:00
gstd3d12device.cpp d3d12: Workaround for Intel iGPU decoder crash 2024-06-17 15:15:07 +00:00
gstd3d12device.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12fencedatapool.cpp gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
gstd3d12fencedatapool.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12format-private.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12format.cpp d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12format.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12frame.cpp d3d12frame: Extract external fence from memory and wait helper function 2024-04-28 12:49:07 +00:00
gstd3d12frame.h d3d12frame: Extract external fence from memory and wait helper function 2024-04-28 12:49:07 +00:00
gstd3d12memory-private.h d3d12: Move core part to gst-libs 2024-04-01 10:37:50 +00:00
gstd3d12memory.cpp d3d12memory: Fix staging buffer alignment 2024-05-30 10:40:44 +00:00
gstd3d12memory.h d3d12memory: Use explicit type for GST_MAP_D3D12 define 2024-04-28 12:49:07 +00:00
gstd3d12utils.cpp d3d12utils: Fix documentation 2024-04-21 12:06:03 +00:00
gstd3d12utils.h d3d12: Move gst_d3d12_buffer_copy_into method to library 2024-04-14 09:55:41 +00:00
meson.build d3d12: Add support for DXGI debug layer 2024-06-15 13:24:24 +00:00