KWin
|
#include <virtual_output.h>
Public Member Functions | |
VirtualOutput (VirtualBackend *parent, bool internal) | |
~VirtualOutput () override | |
RenderLoop * | renderLoop () const override |
void | present (const std::shared_ptr< OutputFrame > &frame) |
void | init (const QPoint &logicalPosition, const QSize &pixelSize, qreal scale) |
void | updateEnabled (bool enabled) |
![]() | |
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 |
Friends | |
class | VirtualBackend |
Definition at line 23 of file virtual_output.h.
KWin::VirtualOutput::VirtualOutput | ( | VirtualBackend * | parent, |
bool | internal ) |
Definition at line 21 of file virtual_output.cpp.
|
override |
Definition at line 37 of file virtual_output.cpp.
void KWin::VirtualOutput::init | ( | const QPoint & | logicalPosition, |
const QSize & | pixelSize, | ||
qreal | scale ) |
Definition at line 52 of file virtual_output.cpp.
void KWin::VirtualOutput::present | ( | const std::shared_ptr< OutputFrame > & | frame | ) |
Definition at line 46 of file virtual_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 41 of file virtual_output.cpp.
void KWin::VirtualOutput::updateEnabled | ( | bool | enabled | ) |
Definition at line 68 of file virtual_output.cpp.
|
friend |
Definition at line 41 of file virtual_output.h.