-
-
Notifications
You must be signed in to change notification settings - Fork 56.3k
highgui Wayland xdg_shell #22102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
highgui Wayland xdg_shell #22102
Conversation
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.
Thank you for great contribution!
Please take a look on comments below.
Something this PR doesn't handle is buffer scaling. This is when you have multiple displays, and you set one display with a different scaling factor than another. I will add that in subsequent PR. Another thing to be validate/added is SW rendering support (llvmpipe). For GPU-less CI runs. |
c18abee
to
7f8bd2c
Compare
@alalek Changes are now ready for review. I had missed a couple. |
@alalek ping |
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.
Thank you for update! Overall look good.
Please take a look on minor comments below.
61e8682
to
58b7ee7
Compare
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 👍
A few comments but generally looks like the right thing (noting that I'm not at all familiar with OpenCV internals), thanks Joel! |
@alalek I just noticed GLX pulling in X11 deps. I am planning to factor this out for a Wayland only build. It will be a few days before I get this and the last items above done. |
@alalek OpenGL (egl/GLESv2) support would come later (preference is Vulkan) as second phase. A Wayland only build is no longer directly pulling in X11. |
1fc14ac
to
ff06a73
Compare
-enable using -DWITH_WAYLAND=ON -adapted from https://github.com/pfpacket/opencv-wayland -using xdg_shell stable protocol -overrides HAVE_QT if HAVE_WAYLAND and WITH_WAYLAND are set Signed-off-by: Joel Winarske <[email protected]> Co-authored-by: Ryo Munakata <[email protected]>
/cc @pfpacket |
Anyway, it seems like the branch doesn't work now (at least in my environment). |
@pfpacket |
@jwinarske |
-enable using -DWITH_WAYLAND=ON
-adapted from https://github.com/pfpacket/opencv-wayland
-using stable protocol
-overrides HAVE_QT if HAVE_WAYLAND and WITH_WAYLAND are set
Signed-off-by: Joel Winarske [email protected]
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.
@pfpacket