access: add a screen graber from DXGI rather than the GDI
The DXGI code is always compiled on Windows as it's only using calls available since Windows 7, although IDXGIOutputDuplication will not be available. The block_t sent contains a D3D11-based picture_t that can be used without any additional copy using the shared handle.
Showing
- modules/access/Makefile.am 7 additions, 2 deletionsmodules/access/Makefile.am
- modules/access/screen/dxgi.cpp 297 additions, 0 deletionsmodules/access/screen/dxgi.cpp
- modules/access/screen/screen.h 11 additions, 0 deletionsmodules/access/screen/screen.h
- modules/access/screen/win32.c 1 addition, 1 deletionmodules/access/screen/win32.c
- modules/video_chroma/d3d11_fmt.h 9 additions, 0 deletionsmodules/video_chroma/d3d11_fmt.h
Loading
Please register or sign in to comment