-
Notifications
You must be signed in to change notification settings - Fork 345
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
Substitute QGL classes with QOpenGL #764
Conversation
e911ce0
to
76e631b
Compare
76e631b
to
30c7095
Compare
30c7095
to
f0818c6
Compare
Did you test the Qt4 build as well? |
Yes, although it was only on a Linux box but I think it'll do fine on the other OSes. |
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.
asking for a few changes and explanations
I'll take some time to test on macOS (Qt4 and Qt5). Sorry if it causes some delay |
d436c17
to
ccb937e
Compare
No problem with it and thanks for taking the time to test it. |
@devernay how's testing going? As this is a blocker for some local work, although no problem if testing should take even more time. |
good! |
PR Description
What type of PR is this? (Check one of the boxes below)
What does this pull request do?
Given that the Qt OpenGL module was deprecated in Qt 5.4.0, removed in Qt 6 and most importantly was not functioning under a Wayland session (e.g. alpha output in KDE KWin or corrupted images in Sway), I've replaced its usage with the newer OpenGL integration from Qt Gui and used both type definitions plus preprocessor conditionals for backwards compatibility with Qt 4.
Show a few screenshots (if this is a visual change)
Have you tested your changes (if applicable)? If so, how?
By building Natron and using the viewer, the dope sheet editor, the curve editor and the histogram.
Futher details of this pull request
Will post support for Wayland offscreen (
OSGLContext
) soon.