qt: playlist: use item title if available
[vlc.git] / modules / video_output / win32 / d3d11_swapchain.h
blob3d373713405b8e2c8b5ec68337802386324792b0
1 /*****************************************************************************
2 * d3d11_swapchain.h: Direct3D11 swapchain handled by the display module
3 *****************************************************************************
4 * Copyright (C) 2014-2019 VLC authors and VideoLAN
6 * Authors: Martell Malone <martellmalone@gmail.com>
7 * Steve Lhomme <robux4@gmail.com>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2.1 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef VLC_D3D11_SWAPCHAIN_H
25 #define VLC_D3D11_SWAPCHAIN_H
27 #include <vlc_common.h>
28 #include "dxgi_swapchain.h"
29 #include "../../video_chroma/d3d11_fmt.h"
31 void *D3D11_CreateLocalSwapchainHandleHwnd(vlc_object_t *, HWND, d3d11_device_t *d3d_dev);
32 #ifdef HAVE_DCOMP_H
33 void *D3D11_CreateLocalSwapchainHandleDComp(vlc_object_t *, void* dcompDevice, void* dcompVisual, d3d11_device_t *d3d_dev);
34 #endif
36 void D3D11_LocalSwapchainCleanupDevice( void *opaque );
37 bool D3D11_LocalSwapchainUpdateOutput( void *opaque, const libvlc_video_render_cfg_t *cfg, libvlc_video_output_cfg_t *out );
38 bool D3D11_LocalSwapchainStartEndRendering( void *opaque, bool enter );
39 bool D3D11_LocalSwapchainSelectPlane( void *opaque, size_t plane, void *output );
40 bool D3D11_LocalSwapchainWinstoreSize( void *opaque, uint32_t *, uint32_t * );
41 void D3D11_LocalSwapchainSwap( void *opaque );
42 void D3D11_LocalSwapchainSetMetadata( void *opaque, libvlc_video_metadata_type_t, const void * );
44 #endif /* VLC_D3D11_SWAPCHAIN_H */