|
KWin
|
#include <renderloop_p.h>
Public Member Functions | |
| RenderLoopPrivate (RenderLoop *q, Output *output) | |
| void | dispatch () |
| void | invalidate () |
| void | delayScheduleRepaint () |
| void | scheduleRepaint () |
| void | maybeScheduleRepaint () |
| void | notifyFrameFailed () |
| void | notifyFrameCompleted (std::chrono::nanoseconds timestamp, std::chrono::nanoseconds renderTime, PresentationMode mode=PresentationMode::VSync) |
| void | notifyVblank (std::chrono::nanoseconds timestamp) |
Static Public Member Functions | |
| static RenderLoopPrivate * | get (RenderLoop *loop) |
Public Attributes | |
| RenderLoop *const | q |
| Output *const | output |
| std::chrono::nanoseconds | lastPresentationTimestamp = std::chrono::nanoseconds::zero() |
| std::chrono::nanoseconds | nextPresentationTimestamp = std::chrono::nanoseconds::zero() |
| QTimer | compositeTimer |
| RenderJournal | renderJournal |
| int | refreshRate = 60000 |
| int | pendingFrameCount = 0 |
| int | inhibitCount = 0 |
| bool | pendingReschedule = false |
| bool | pendingRepaint = false |
| std::chrono::nanoseconds | safetyMargin {0} |
| PresentationMode | presentationMode = PresentationMode::VSync |
Definition at line 21 of file renderloop_p.h.
|
explicit |
Definition at line 29 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::delayScheduleRepaint | ( | ) |
Definition at line 71 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::dispatch | ( | ) |
Definition at line 122 of file renderloop.cpp.
|
static |
Definition at line 24 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::invalidate | ( | ) |
Definition at line 135 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::maybeScheduleRepaint | ( | ) |
Definition at line 76 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::notifyFrameCompleted | ( | std::chrono::nanoseconds | timestamp, |
| std::chrono::nanoseconds | renderTime, | ||
| PresentationMode | mode = PresentationMode::VSync ) |
Definition at line 94 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::notifyFrameFailed | ( | ) |
Definition at line 84 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::notifyVblank | ( | std::chrono::nanoseconds | timestamp | ) |
Definition at line 109 of file renderloop.cpp.
| void KWin::RenderLoopPrivate::scheduleRepaint | ( | ) |
Definition at line 39 of file renderloop.cpp.
| QTimer KWin::RenderLoopPrivate::compositeTimer |
Definition at line 42 of file renderloop_p.h.
| int KWin::RenderLoopPrivate::inhibitCount = 0 |
Definition at line 46 of file renderloop_p.h.
| std::chrono::nanoseconds KWin::RenderLoopPrivate::lastPresentationTimestamp = std::chrono::nanoseconds::zero() |
Definition at line 40 of file renderloop_p.h.
| std::chrono::nanoseconds KWin::RenderLoopPrivate::nextPresentationTimestamp = std::chrono::nanoseconds::zero() |
Definition at line 41 of file renderloop_p.h.
| Output* const KWin::RenderLoopPrivate::output |
Definition at line 39 of file renderloop_p.h.
| int KWin::RenderLoopPrivate::pendingFrameCount = 0 |
Definition at line 45 of file renderloop_p.h.
| bool KWin::RenderLoopPrivate::pendingRepaint = false |
Definition at line 48 of file renderloop_p.h.
| bool KWin::RenderLoopPrivate::pendingReschedule = false |
Definition at line 47 of file renderloop_p.h.
| PresentationMode KWin::RenderLoopPrivate::presentationMode = PresentationMode::VSync |
Definition at line 51 of file renderloop_p.h.
| RenderLoop* const KWin::RenderLoopPrivate::q |
Definition at line 38 of file renderloop_p.h.
| int KWin::RenderLoopPrivate::refreshRate = 60000 |
Definition at line 44 of file renderloop_p.h.
| RenderJournal KWin::RenderLoopPrivate::renderJournal |
Definition at line 43 of file renderloop_p.h.
| std::chrono::nanoseconds KWin::RenderLoopPrivate::safetyMargin {0} |
Definition at line 49 of file renderloop_p.h.