KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::RegionScreenCastSource Class Reference

#include <regionscreencastsource.h>

Inheritance diagram for KWin::RegionScreenCastSource:
KWin::ScreenCastSource

Public Member Functions

 RegionScreenCastSource (const QRect &region, qreal scale, 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
 
QRect region () const
 
qreal scale () const
 
void updateOutput (Output *output)
 
- 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 19 of file regionscreencastsource.h.

Constructor & Destructor Documentation

◆ RegionScreenCastSource()

KWin::RegionScreenCastSource::RegionScreenCastSource ( const QRect & region,
qreal scale,
QObject * parent = nullptr )
explicit

Definition at line 23 of file regionscreencastsource.cpp.

Member Function Documentation

◆ clock()

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

Implements KWin::ScreenCastSource.

Definition at line 74 of file regionscreencastsource.cpp.

◆ drmFormat()

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

Implements KWin::ScreenCastSource.

Definition at line 42 of file regionscreencastsource.cpp.

◆ hasAlphaChannel()

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

Implements KWin::ScreenCastSource.

Definition at line 37 of file regionscreencastsource.cpp.

◆ refreshRate()

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

Implements KWin::ScreenCastSource.

Definition at line 124 of file regionscreencastsource.cpp.

◆ region()

QRect KWin::RegionScreenCastSource::region ( ) const
inline

Definition at line 35 of file regionscreencastsource.h.

◆ render() [1/2]

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

Implements KWin::ScreenCastSource.

Definition at line 100 of file regionscreencastsource.cpp.

◆ render() [2/2]

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

Implements KWin::ScreenCastSource.

Definition at line 118 of file regionscreencastsource.cpp.

◆ scale()

qreal KWin::RegionScreenCastSource::scale ( ) const
inline

Definition at line 39 of file regionscreencastsource.h.

◆ textureSize()

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

Implements KWin::ScreenCastSource.

Definition at line 32 of file regionscreencastsource.cpp.

◆ updateOutput()

void KWin::RegionScreenCastSource::updateOutput ( Output * output)

Definition at line 47 of file regionscreencastsource.cpp.


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