Sunshine latest
Self-hosted game stream host for Moonlight.
platf::dxgi::duplication_t Class Reference

#include <src/platform/windows/display.h>

Collaboration diagram for platf::dxgi::duplication_t:
[legend]

Public Member Functions

int init (display_base_t *display, const ::video::config_t &config)
 
capture_e next_frame (DXGI_OUTDUPL_FRAME_INFO &frame_info, std::chrono::milliseconds timeout, resource_t::pointer *res_p)
 
capture_e release_frame ()
 
capture_e reset (dup_t::pointer dup_p=dup_t::pointer())
 

Public Attributes

dup_t dup
 
bool has_frame {}
 
std::chrono::steady_clock::time_point last_protected_content_warning_time {}
 

Detailed Description

Display duplicator that uses the DirectX Desktop Duplication API.

Member Function Documentation

◆ init()

int platf::dxgi::duplication_t::init ( display_base_t * display,
const ::video::config_t & config )

DDAPI-specific initialization goes here.


The documentation for this class was generated from the following files: