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

#include <outputscreencastsource.h>

Inheritance diagram for KWin::OutputScreenCastSource:
KWin::ScreenCastSource

Public Member Functions

 OutputScreenCastSource (Output *output, QObject *parent=nullptr)
 
uint refreshRate () const override
 
bool hasAlphaChannel () const override
 
QSize textureSize () const override
 
quint32 drmFormat () 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 outputscreencastsource.h.

Constructor & Destructor Documentation

◆ OutputScreenCastSource()

KWin::OutputScreenCastSource::OutputScreenCastSource ( Output * output,
QObject * parent = nullptr )
explicit

Definition at line 22 of file outputscreencastsource.cpp.

Member Function Documentation

◆ clock()

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

Implements KWin::ScreenCastSource.

Definition at line 76 of file outputscreencastsource.cpp.

◆ drmFormat()

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

Implements KWin::ScreenCastSource.

Definition at line 39 of file outputscreencastsource.cpp.

◆ hasAlphaChannel()

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

Implements KWin::ScreenCastSource.

Definition at line 34 of file outputscreencastsource.cpp.

◆ refreshRate()

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

Implements KWin::ScreenCastSource.

Definition at line 81 of file outputscreencastsource.cpp.

◆ render() [1/2]

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

Implements KWin::ScreenCastSource.

Definition at line 57 of file outputscreencastsource.cpp.

◆ render() [2/2]

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

Implements KWin::ScreenCastSource.

Definition at line 49 of file outputscreencastsource.cpp.

◆ textureSize()

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

Implements KWin::ScreenCastSource.

Definition at line 44 of file outputscreencastsource.cpp.


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