KWin
|
#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< ContentType > | contentType () const |
void | setPresentationMode (PresentationMode mode) |
PresentationMode | presentationMode () const |
Definition at line 41 of file renderbackend.h.
|
explicit |
Definition at line 16 of file renderbackend.cpp.
|
default |
void KWin::OutputFrame::addFeedback | ( | std::unique_ptr< PresentationFeedback > && | feedback | ) |
Definition at line 23 of file renderbackend.cpp.
std::optional< ContentType > KWin::OutputFrame::contentType | ( | ) | const |
Definition at line 46 of file renderbackend.cpp.
void KWin::OutputFrame::failed | ( | ) |
Definition at line 36 of file renderbackend.cpp.
PresentationMode KWin::OutputFrame::presentationMode | ( | ) | const |
Definition at line 56 of file renderbackend.cpp.
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.
void KWin::OutputFrame::setContentType | ( | ContentType | type | ) |
Definition at line 41 of file renderbackend.cpp.
void KWin::OutputFrame::setPresentationMode | ( | PresentationMode | mode | ) |
Definition at line 51 of file renderbackend.cpp.