mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
d3dvideosink: create a d3d device for each sink and use the default swap chain in connection with flushing the GPU and not recreating the swap chain this avoids tearing also use GST_xx_DEBUG macros where appropriate
This commit is contained in:
parent
ab22a64a13
commit
0c5037072a
2 changed files with 462 additions and 673 deletions
File diff suppressed because it is too large
Load diff
|
@ -83,8 +83,9 @@ struct _GstD3DVideoSink
|
|||
gboolean is_hooked;
|
||||
|
||||
GMutex *d3d_swap_chain_lock;
|
||||
LPDIRECT3DSWAPCHAIN9 d3d_swap_chain;
|
||||
LPDIRECT3DSURFACE9 d3d_offscreen_surface;
|
||||
LPDIRECT3DDEVICE9 d3ddev;
|
||||
D3DPRESENT_PARAMETERS d3dpp;
|
||||
|
||||
D3DFORMAT d3dformat;
|
||||
D3DFORMAT d3dfourcc;
|
||||
|
|
Loading…
Reference in a new issue