webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
webrtc::ScreenCapturerWinDirectx Class Reference

#include <screen_capturer_win_directx.h>

Inheritance diagram for webrtc::ScreenCapturerWinDirectx:
webrtc::DesktopCapturer webrtc::DesktopCapturer

Public Types

using D3dInfo = DxgiDuplicatorController::D3dInfo
 
using D3dInfo = DxgiDuplicatorController::D3dInfo
 
- Public Types inherited from webrtc::DesktopCapturer
enum  Result {
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT,
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT
}
 
enum  Result {
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT,
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT
}
 
typedef intptr_t SourceId
 
typedef std::vector< SourceSourceList
 
typedef intptr_t SourceId
 
typedef std::vector< SourceSourceList
 

Public Member Functions

 ScreenCapturerWinDirectx (const DesktopCaptureOptions &options)
 
 ~ScreenCapturerWinDirectx () override
 
void Start (Callback *callback) override
 
void SetSharedMemoryFactory (std::unique_ptr< SharedMemoryFactory > shared_memory_factory) override
 
void CaptureFrame () override
 
bool GetSourceList (SourceList *sources) override
 
bool SelectSource (SourceId id) override
 
 ScreenCapturerWinDirectx (const DesktopCaptureOptions &options)
 
 ~ScreenCapturerWinDirectx () override
 
void Start (Callback *callback) override
 
void SetSharedMemoryFactory (std::unique_ptr< SharedMemoryFactory > shared_memory_factory) override
 
void CaptureFrame () override
 
bool GetSourceList (SourceList *sources) override
 
bool SelectSource (SourceId id) override
 
- Public Member Functions inherited from webrtc::DesktopCapturer
virtual ~DesktopCapturer ()
 
virtual void SetExcludedWindow (WindowId window)
 
virtual bool FocusOnSelectedSource ()
 
virtual ~DesktopCapturer ()
 
virtual void SetExcludedWindow (WindowId window)
 
virtual bool FocusOnSelectedSource ()
 

Static Public Member Functions

static bool IsSupported ()
 
static bool RetrieveD3dInfo (D3dInfo *info)
 
static bool IsSupported ()
 
static bool RetrieveD3dInfo (D3dInfo *info)
 
- Static Public Member Functions inherited from webrtc::DesktopCapturer
static std::unique_ptr< DesktopCapturerCreateWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateScreenCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateScreenCapturer (const DesktopCaptureOptions &options)
 

Additional Inherited Members

- Static Protected Member Functions inherited from webrtc::DesktopCapturer
static std::unique_ptr< DesktopCapturerCreateRawWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateRawScreenCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateRawWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateRawScreenCapturer (const DesktopCaptureOptions &options)
 

Member Typedef Documentation

◆ D3dInfo [1/2]

◆ D3dInfo [2/2]

Constructor & Destructor Documentation

◆ ScreenCapturerWinDirectx() [1/2]

webrtc::ScreenCapturerWinDirectx::ScreenCapturerWinDirectx ( const DesktopCaptureOptions options)
explicit

◆ ~ScreenCapturerWinDirectx() [1/2]

webrtc::ScreenCapturerWinDirectx::~ScreenCapturerWinDirectx ( )
override

◆ ScreenCapturerWinDirectx() [2/2]

webrtc::ScreenCapturerWinDirectx::ScreenCapturerWinDirectx ( const DesktopCaptureOptions options)
explicit

◆ ~ScreenCapturerWinDirectx() [2/2]

webrtc::ScreenCapturerWinDirectx::~ScreenCapturerWinDirectx ( )
override

Member Function Documentation

◆ CaptureFrame() [1/2]

void webrtc::ScreenCapturerWinDirectx::CaptureFrame ( )
overridevirtual

◆ CaptureFrame() [2/2]

void webrtc::ScreenCapturerWinDirectx::CaptureFrame ( )
overridevirtual

◆ GetSourceList() [1/2]

bool webrtc::ScreenCapturerWinDirectx::GetSourceList ( SourceList sources)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ GetSourceList() [2/2]

bool webrtc::ScreenCapturerWinDirectx::GetSourceList ( SourceList sources)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ IsSupported() [1/2]

bool webrtc::ScreenCapturerWinDirectx::IsSupported ( )
static

◆ IsSupported() [2/2]

static bool webrtc::ScreenCapturerWinDirectx::IsSupported ( )
static

◆ RetrieveD3dInfo() [1/2]

static bool webrtc::ScreenCapturerWinDirectx::RetrieveD3dInfo ( D3dInfo info)
static

◆ RetrieveD3dInfo() [2/2]

bool webrtc::ScreenCapturerWinDirectx::RetrieveD3dInfo ( D3dInfo info)
static

◆ SelectSource() [1/2]

bool webrtc::ScreenCapturerWinDirectx::SelectSource ( SourceId  id)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ SelectSource() [2/2]

bool webrtc::ScreenCapturerWinDirectx::SelectSource ( SourceId  id)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ SetSharedMemoryFactory() [1/2]

void webrtc::ScreenCapturerWinDirectx::SetSharedMemoryFactory ( std::unique_ptr< SharedMemoryFactory shared_memory_factory)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ SetSharedMemoryFactory() [2/2]

void webrtc::ScreenCapturerWinDirectx::SetSharedMemoryFactory ( std::unique_ptr< SharedMemoryFactory shared_memory_factory)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ Start() [1/2]

void webrtc::ScreenCapturerWinDirectx::Start ( Callback callback)
overridevirtual

◆ Start() [2/2]

void webrtc::ScreenCapturerWinDirectx::Start ( Callback callback)
overridevirtual

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