KWin
|
#include <fakeoutput.h>
Public Member Functions | |
FakeOutput () | |
KWin::RenderLoop * | renderLoop () const override |
void | setName (const QString &name) |
void | setManufacturer (const QString &manufacturer) |
void | setModel (const QString &model) |
void | setMode (QSize size, uint32_t refreshRate) |
void | setSubPixel (SubPixel subPixel) |
void | setDpmsSupported (bool supported) |
void | setPhysicalSize (QSize size) |
void | setTransform (KWin::OutputTransform transform) |
void | moveTo (const QPoint &pos) |
void | setScale (qreal scale) |
![]() | |
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 |
virtual void | setDpmsMode (DpmsMode mode) |
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) |
virtual bool | updateCursorLayer () |
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 13 of file fakeoutput.h.
FakeOutput::FakeOutput | ( | ) |
Definition at line 11 of file fakeoutput.cpp.
void FakeOutput::moveTo | ( | const QPoint & | pos | ) |
Definition at line 38 of file fakeoutput.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 16 of file fakeoutput.cpp.
void FakeOutput::setDpmsSupported | ( | bool | supported | ) |
Definition at line 59 of file fakeoutput.cpp.
void FakeOutput::setManufacturer | ( | const QString & | manufacturer | ) |
Definition at line 80 of file fakeoutput.cpp.
void FakeOutput::setMode | ( | QSize | size, |
uint32_t | refreshRate ) |
Definition at line 21 of file fakeoutput.cpp.
void FakeOutput::setModel | ( | const QString & | model | ) |
Definition at line 87 of file fakeoutput.cpp.
void FakeOutput::setName | ( | const QString & | name | ) |
Definition at line 73 of file fakeoutput.cpp.
void FakeOutput::setPhysicalSize | ( | QSize | size | ) |
Definition at line 66 of file fakeoutput.cpp.
void FakeOutput::setScale | ( | qreal | scale | ) |
Definition at line 45 of file fakeoutput.cpp.
void FakeOutput::setSubPixel | ( | SubPixel | subPixel | ) |
Definition at line 52 of file fakeoutput.cpp.
void FakeOutput::setTransform | ( | KWin::OutputTransform | transform | ) |
Definition at line 31 of file fakeoutput.cpp.