19enum class WindowMode :
int
26enum class SwapchainFlag :
int
33enum class SwapchainFormat :
int
36 HDRExtendedSrgbLinear,
38 HDRExtendedDisplayP3Linear
50 QPointF topLeft{0.0, 0.0};
51 QPointF topRight{1.0, 0.0};
52 QPointF bottomLeft{0.0, 1.0};
53 QPointF bottomRight{1.0, 1.0};
55 bool isIdentity()
const noexcept
57 constexpr double eps = 1e-6;
58 return qAbs(topLeft.x()) < eps && qAbs(topLeft.y()) < eps
59 && qAbs(topRight.x() - 1.0) < eps && qAbs(topRight.y()) < eps
60 && qAbs(bottomLeft.x()) < eps && qAbs(bottomLeft.y() - 1.0) < eps
61 && qAbs(bottomRight.x() - 1.0) < eps && qAbs(bottomRight.y() - 1.0) < eps;
65enum class OutputLockMode :
int
74static const constexpr QPoint defaultWindowPosition{100, 100};
86 return p.isNull() ? defaultWindowPosition : p;
91 QRectF sourceRect{0.0, 0.0, 1.0, 1.0};
97 QSize windowSize{1280, 720};
98 bool fullscreen{
false};
102 EdgeBlend blendRight;
104 EdgeBlend blendBottom;
107 CornerWarp cornerWarp;
109 OutputLockMode lockMode{OutputLockMode::Free};
Binds the rendering pipeline to ossia processes.
Definition AssetTable.cpp:7
QPoint windowPositionForSource(QPoint p) noexcept
Where to put the window of an output whose source starts at p.
Definition WindowSettings.hpp:84
Definition WindowSettings.hpp:49
Definition WindowSettings.hpp:43
Definition WindowSettings.hpp:90
QPoint windowPosition
Definition WindowSettings.hpp:96
Definition WindowSettings.hpp:11