Skip to content
Snippets Groups Projects

access: screen: add DXGI capture support on Windows

Merged Steve Lhomme requested to merge robUx4/vlc:screen-dxgi into master
  • rework the screen code so it can use different capture callbacks depending on which open function worked.
  • allow the vout to use a video context from a decoder device it didn't create, as long as it didn't create one The access has no way to communicate/force its own "decoder" device to the vout and we want to avoid a copy
  • a D3D11-based picture is created from a GPU copy during capture and sent as a block, a dummy decoder transforms this block picture into a picture sent to the display

This will only be used on Win8+. On Windows 7 it will fallback to the GDI capture code.


v13: added support for --screen-follow-mouse, disable DXGI capture when --screen-mouse-image or --screen-fragment-size are used (for now, they could both be supported).


v15: split some platform specific code and better use of the defines (that may go away at some point)

Edited by Steve Lhomme

Merge request reports

Merge request pipeline #198825 passed

Merge request pipeline passed for a84e2e72

Merged by François CartegnieFrançois Cartegnie 3 years ago (Mar 10, 2022 10:36pm UTC)

Loading

Pipeline #198906 passed

Pipeline passed for a84e2e72 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading