KWin
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
KWin::WindowScreenCastSource Class Reference

#include <windowscreencastsource.h>

Inheritance diagram for KWin::WindowScreenCastSource:
KWin::ScreenCastSource

Public Member Functions

 WindowScreenCastSource (Window *window, QObject *parent=nullptr)
 
quint32 drmFormat () const override
 
bool hasAlphaChannel () const override
 
QSize textureSize () const override
 
uint refreshRate () const override
 
void render (GLFramebuffer *target) override
 
void render (spa_data *spa, spa_video_format format) override
 
std::chrono::nanoseconds clock () const override
 
- Public Member Functions inherited from KWin::ScreenCastSource
 ScreenCastSource (QObject *parent=nullptr)
 

Additional Inherited Members

- Signals inherited from KWin::ScreenCastSource
void closed ()
 

Detailed Description

Definition at line 18 of file windowscreencastsource.h.

Constructor & Destructor Documentation

◆ WindowScreenCastSource()

KWin::WindowScreenCastSource::WindowScreenCastSource ( Window * window,
QObject * parent = nullptr )
explicit

Definition at line 26 of file windowscreencastsource.cpp.

Member Function Documentation

◆ clock()

std::chrono::nanoseconds KWin::WindowScreenCastSource::clock ( ) const
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 77 of file windowscreencastsource.cpp.

◆ drmFormat()

quint32 KWin::WindowScreenCastSource::drmFormat ( ) const
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 34 of file windowscreencastsource.cpp.

◆ hasAlphaChannel()

bool KWin::WindowScreenCastSource::hasAlphaChannel ( ) const
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 39 of file windowscreencastsource.cpp.

◆ refreshRate()

uint KWin::WindowScreenCastSource::refreshRate ( ) const
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 82 of file windowscreencastsource.cpp.

◆ render() [1/2]

void KWin::WindowScreenCastSource::render ( GLFramebuffer * target)
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 62 of file windowscreencastsource.cpp.

◆ render() [2/2]

void KWin::WindowScreenCastSource::render ( spa_data * spa,
spa_video_format format )
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 49 of file windowscreencastsource.cpp.

◆ textureSize()

QSize KWin::WindowScreenCastSource::textureSize ( ) const
overridevirtual

Implements KWin::ScreenCastSource.

Definition at line 44 of file windowscreencastsource.cpp.


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