-
Notifications
You must be signed in to change notification settings - Fork 342
Update output transform matrix calculation #2770
Conversation
Got correct results with this: https://l.sr.ht/zxBA.txt |
Runs well with |
8624124
to
d93031a
Compare
Can you squash these two commits, and add the motivation for this change in the commit message? |
d93031a
to
00f2766
Compare
Done, let me know if you want more info in the commit message. |
It seems like this breaks cursors. Applied this patch to the Wayland backend and works again: Can you do something similar for DRM and X11? |
Good catch, I'll make a fix soon. |
00f2766
to
7582f42
Compare
I squashed the fix into the first commit. Do you think |
7582f42
to
964ce78
Compare
Yes, I think so. That function passes the matrix to To test, use |
Compute only the transform matrix in the output. The projection matrix will be calculated inside the gles2 renderer when we start rendering. The goal is to help the pixman rendering process.
964ce78
to
5e5646a
Compare
I pushed a fix, I also found another call to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Improve transform matrix calculation in
wlr_output
to help the pixman rendering process.Breaking change: the projection has been moved from
wlr_output.transform_matrix
to the GLES2 renderer. Compositors usingwlr_output.transform_matrix
only with the GLES2 renderer don't need an update.