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

#include <renderbackend.h>

Public Member Functions

 OutputFrame (RenderLoop *loop)
 
 ~OutputFrame ()
 
void presented (std::chrono::nanoseconds refreshDuration, std::chrono::nanoseconds timestamp, std::chrono::nanoseconds renderTime, PresentationMode mode)
 
void failed ()
 
void addFeedback (std::unique_ptr< PresentationFeedback > &&feedback)
 
void setContentType (ContentType type)
 
std::optional< ContentTypecontentType () const
 
void setPresentationMode (PresentationMode mode)
 
PresentationMode presentationMode () const
 

Detailed Description

Definition at line 41 of file renderbackend.h.

Constructor & Destructor Documentation

◆ OutputFrame()

KWin::OutputFrame::OutputFrame ( RenderLoop * loop)
explicit

Definition at line 16 of file renderbackend.cpp.

◆ ~OutputFrame()

KWin::OutputFrame::~OutputFrame ( )
default

Member Function Documentation

◆ addFeedback()

void KWin::OutputFrame::addFeedback ( std::unique_ptr< PresentationFeedback > && feedback)

Definition at line 23 of file renderbackend.cpp.

◆ contentType()

std::optional< ContentType > KWin::OutputFrame::contentType ( ) const

Definition at line 46 of file renderbackend.cpp.

◆ failed()

void KWin::OutputFrame::failed ( )

Definition at line 36 of file renderbackend.cpp.

◆ presentationMode()

PresentationMode KWin::OutputFrame::presentationMode ( ) const

Definition at line 56 of file renderbackend.cpp.

◆ presented()

void KWin::OutputFrame::presented ( std::chrono::nanoseconds refreshDuration,
std::chrono::nanoseconds timestamp,
std::chrono::nanoseconds renderTime,
PresentationMode mode )

Definition at line 28 of file renderbackend.cpp.

◆ setContentType()

void KWin::OutputFrame::setContentType ( ContentType type)

Definition at line 41 of file renderbackend.cpp.

◆ setPresentationMode()

void KWin::OutputFrame::setPresentationMode ( PresentationMode mode)

Definition at line 51 of file renderbackend.cpp.


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