-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
Support OpenGL GTK3 New API #25822
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
Support OpenGL GTK3 New API #25822
Conversation
|
|
I created a sample from your test and it shows just empty window: |
ea0e347 to
a35dfd3
Compare
|
@asmorkalov I'll continue working on supporting current OpenCV's OpenGL example code. |
|
And I squashed some commits into a single commit. |
|
Looks like we are closer to result, but opengl/opengl.cpp still does not work correctly. I do not see error messages any more and just black window. |
|
In case I add sample with your test code I see the following error: The error means that libepoxy is missing somewhere in cmake. I'll take a look today. |
Thank you. The code is written in a legacy OpenGL version, so it won't be drawn in a newer GtkGlArea, I think. So I added the example code for OpenGL 3.2 c035d93 |
|
Sorry, I forgot to remove them. |
|
Tested manually with:
|
Support OpenGL GTK3 New API opencv#25822 Fixes opencv#20001 GSoC2024 Project ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
Fixes #20001
GSoC2024 Project
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.