Added basic monitor transforms, has bugs
blur doesnt work on transformed outputs full damage tracking issues
This commit is contained in:
parent
fdb3f610e5
commit
d0ff0c0990
7 changed files with 58 additions and 20 deletions
|
|
@ -7,9 +7,10 @@
|
|||
#include <array>
|
||||
|
||||
struct SMonitor {
|
||||
Vector2D vecPosition = Vector2D(0,0);
|
||||
Vector2D vecSize = Vector2D(0,0);
|
||||
Vector2D vecPixelSize = Vector2D(0,0);
|
||||
Vector2D vecPosition = Vector2D(0,0);
|
||||
Vector2D vecSize = Vector2D(0,0);
|
||||
Vector2D vecPixelSize = Vector2D(0,0);
|
||||
Vector2D vecTransformedSize = Vector2D(0,0);
|
||||
|
||||
bool primary = false;
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ struct SMonitor {
|
|||
float refreshRate = 60;
|
||||
wlr_output_damage* damage = nullptr;
|
||||
bool needsFrameSkip = false;
|
||||
wl_output_transform transform = WL_OUTPUT_TRANSFORM_NORMAL;
|
||||
|
||||
// Double-linked list because we need to have constant mem addresses for signals
|
||||
// We have to store pointers and use raw new/delete because they might be moved between them
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue