KWin
|
#include <wayland_output.h>
Public Member Functions | |
WaylandOutput (const QString &name, WaylandBackend *backend) | |
~WaylandOutput () override | |
RenderLoop * | renderLoop () const override |
bool | updateCursorLayer () override |
void | init (const QSize &pixelSize, qreal scale) |
bool | isReady () const |
KWayland::Client::Surface * | surface () const |
WaylandCursor * | cursor () const |
WaylandBackend * | backend () const |
void | lockPointer (KWayland::Client::Pointer *pointer, bool lock) |
void | resize (const QSize &pixelSize) |
void | setDpmsMode (DpmsMode mode) override |
void | updateDpmsMode (DpmsMode dpmsMode) |
void | updateEnabled (bool enabled) |
void | framePending (const std::shared_ptr< OutputFrame > &frame) |
![]() | |
Q_ENUM (AutoRotationPolicy) | |
Output (QObject *parent=nullptr) | |
~Output () override | |
void | ref () |
void | unref () |
QRect | mapFromGlobal (const QRect &rect) const |
QRectF | mapFromGlobal (const QRectF &rect) const |
QRectF | mapToGlobal (const QRectF &rect) const |
Q_INVOKABLE QPointF | mapToGlobal (const QPointF &pos) const |
Q_INVOKABLE QPointF | mapFromGlobal (const QPointF &pos) const |
QString | name () const |
QUuid | uuid () const |
bool | isEnabled () const |
QRect | geometry () const |
QRectF | geometryF () const |
QRect | rect () const |
QRectF | rectF () const |
uint32_t | refreshRate () const |
bool | isInternal () const |
qreal | scale () const |
QSize | physicalSize () const |
QSize | pixelSize () const |
QSize | modeSize () const |
QString | eisaId () const |
QString | manufacturer () const |
QString | model () const |
QString | serialNumber () const |
void | inhibitDirectScanout () |
void | uninhibitDirectScanout () |
bool | directScanoutInhibited () const |
OutputTransform | transform () const |
OutputTransform | manualTransform () const |
QSize | orientateSize (const QSize &size) const |
void | applyChanges (const OutputConfiguration &config) |
SubPixel | subPixel () const |
QString | description () const |
Capabilities | capabilities () const |
const Edid & | edid () const |
QList< std::shared_ptr< OutputMode > > | modes () const |
std::shared_ptr< OutputMode > | currentMode () const |
DpmsMode | dpmsMode () const |
uint32_t | overscan () const |
VrrPolicy | vrrPolicy () const |
RgbRange | rgbRange () const |
bool | isPlaceholder () const |
bool | isNonDesktop () const |
OutputTransform | panelOrientation () const |
bool | wideColorGamut () const |
bool | highDynamicRange () const |
uint32_t | sdrBrightness () const |
AutoRotationPolicy | autoRotationPolicy () const |
std::shared_ptr< IccProfile > | iccProfile () const |
QString | iccProfilePath () const |
QByteArray | mstPath () const |
virtual bool | setGammaRamp (const std::shared_ptr< ColorTransformation > &transformation) |
virtual bool | setChannelFactors (const QVector3D &rgb) |
std::optional< double > | maxPeakBrightness () const |
std::optional< double > | maxAverageBrightness () const |
double | minBrightness () const |
std::optional< double > | maxPeakBrightnessOverride () const |
std::optional< double > | maxAverageBrightnessOverride () const |
std::optional< double > | minBrightnessOverride () const |
double | sdrGamutWideness () const |
const ColorDescription & | colorDescription () const |
Definition at line 62 of file wayland_output.h.
KWin::Wayland::WaylandOutput::WaylandOutput | ( | const QString & | name, |
WaylandBackend * | backend ) |
Definition at line 96 of file wayland_output.cpp.
|
override |
Definition at line 141 of file wayland_output.cpp.
WaylandBackend * KWin::Wayland::WaylandOutput::backend | ( | ) | const |
Definition at line 168 of file wayland_output.cpp.
WaylandCursor * KWin::Wayland::WaylandOutput::cursor | ( | ) | const |
Definition at line 163 of file wayland_output.cpp.
void KWin::Wayland::WaylandOutput::framePending | ( | const std::shared_ptr< OutputFrame > & | frame | ) |
Definition at line 148 of file wayland_output.cpp.
void KWin::Wayland::WaylandOutput::init | ( | const QSize & | pixelSize, |
qreal | scale ) |
Definition at line 190 of file wayland_output.cpp.
bool KWin::Wayland::WaylandOutput::isReady | ( | ) | const |
Definition at line 153 of file wayland_output.cpp.
void KWin::Wayland::WaylandOutput::lockPointer | ( | KWayland::Client::Pointer * | pointer, |
bool | lock ) |
Definition at line 294 of file wayland_output.cpp.
|
overridevirtual |
Returns the RenderLoop for this output. If the platform does not support per screen rendering, all outputs will share the same render loop. FIXME: remove this and decouple RenderLoop from Output
Implements KWin::Output.
Definition at line 173 of file wayland_output.cpp.
void KWin::Wayland::WaylandOutput::resize | ( | const QSize & | pixelSize | ) |
Definition at line 205 of file wayland_output.cpp.
|
overridevirtual |
Reimplemented from KWin::Output.
Definition at line 217 of file wayland_output.cpp.
KWayland::Client::Surface * KWin::Wayland::WaylandOutput::surface | ( | ) | const |
Definition at line 158 of file wayland_output.cpp.
|
overridevirtual |
Reimplemented from KWin::Output.
Definition at line 178 of file wayland_output.cpp.
void KWin::Wayland::WaylandOutput::updateDpmsMode | ( | DpmsMode | dpmsMode | ) |
Definition at line 233 of file wayland_output.cpp.
void KWin::Wayland::WaylandOutput::updateEnabled | ( | bool | enabled | ) |
Definition at line 240 of file wayland_output.cpp.