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

#include <screencaststream.h>

Inheritance diagram for KWin::ScreenCastStream:
KWin::WindowStream

Public Slots

void invalidateCursor ()
 
void recordCursor ()
 
bool includesCursor (Cursor *cursor) const
 

Signals

void streamReady (quint32 nodeId)
 
void startStreaming ()
 
void stopStreaming ()
 

Public Member Functions

 ScreenCastStream (ScreenCastSource *source, std::shared_ptr< PipeWireCore > pwCore, QObject *parent)
 
 ~ScreenCastStream ()
 
bool init ()
 
uint framerate ()
 
uint nodeId ()
 
QString error () const
 
void stop ()
 
void recordFrame (const QRegion &damagedRegion)
 
void setCursorMode (ScreencastV1Interface::CursorMode mode, qreal scale, const QRectF &viewport)
 

Detailed Description

Definition at line 49 of file screencaststream.h.

Constructor & Destructor Documentation

◆ ScreenCastStream()

KWin::ScreenCastStream::ScreenCastStream ( ScreenCastSource * source,
std::shared_ptr< PipeWireCore > pwCore,
QObject * parent )
explicit

Definition at line 310 of file screencaststream.cpp.

◆ ~ScreenCastStream()

KWin::ScreenCastStream::~ScreenCastStream ( )

Definition at line 345 of file screencaststream.cpp.

Member Function Documentation

◆ error()

QString KWin::ScreenCastStream::error ( ) const
inline

Definition at line 59 of file screencaststream.h.

◆ framerate()

uint KWin::ScreenCastStream::framerate ( )

Definition at line 378 of file screencaststream.cpp.

◆ includesCursor

bool KWin::ScreenCastStream::includesCursor ( Cursor * cursor) const
slot

Definition at line 809 of file screencaststream.cpp.

◆ init()

bool KWin::ScreenCastStream::init ( )

Definition at line 353 of file screencaststream.cpp.

◆ invalidateCursor

void KWin::ScreenCastStream::invalidateCursor ( )
slot

Definition at line 651 of file screencaststream.cpp.

◆ nodeId()

uint KWin::ScreenCastStream::nodeId ( )

Definition at line 387 of file screencaststream.cpp.

◆ recordCursor

void KWin::ScreenCastStream::recordCursor ( )
slot

Definition at line 656 of file screencaststream.cpp.

◆ recordFrame()

void KWin::ScreenCastStream::recordFrame ( const QRegion & damagedRegion)

Renders frame into the current framebuffer into the stream timestamp

Definition at line 456 of file screencaststream.cpp.

◆ setCursorMode()

void KWin::ScreenCastStream::setCursorMode ( ScreencastV1Interface::CursorMode mode,
qreal scale,
const QRectF & viewport )

Definition at line 876 of file screencaststream.cpp.

◆ startStreaming

void KWin::ScreenCastStream::startStreaming ( )
signal

◆ stop()

void KWin::ScreenCastStream::stop ( )

Definition at line 450 of file screencaststream.cpp.

◆ stopStreaming

void KWin::ScreenCastStream::stopStreaming ( )
signal

◆ streamReady

void KWin::ScreenCastStream::streamReady ( quint32 nodeId)
signal

Member Data Documentation

◆ bitmapSize

const QSize KWin::ScreenCastStream::bitmapSize = QSize(256, 256)

Definition at line 129 of file screencaststream.h.

◆ invalid

bool KWin::ScreenCastStream::invalid = true

Definition at line 135 of file screencaststream.h.

◆ lastRect

QRectF KWin::ScreenCastStream::lastRect

Definition at line 132 of file screencaststream.h.

◆ mode

Definition at line 128 of file screencaststream.h.

◆ scale

qreal KWin::ScreenCastStream::scale = 1

Definition at line 130 of file screencaststream.h.

◆ texture

std::unique_ptr<GLTexture> KWin::ScreenCastStream::texture

Definition at line 133 of file screencaststream.h.

◆ viewport

QRectF KWin::ScreenCastStream::viewport

Definition at line 131 of file screencaststream.h.

◆ visible

bool KWin::ScreenCastStream::visible = false

Definition at line 134 of file screencaststream.h.


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