I broke it, and fixed it, sent on the ML, but unfortunately it needed changes and I haven't tested vgl and other things like it currently after those so it's not merged, and there will be changes needed in your code.
which fixes the currently broken glwin32. However with opengl callbacks it means that you'll need to actually provide the OpenGL implementation, and your get_proc_address implementation will need to provide all opengl functions, meaning you'll probably need a GetProcAddress in addition to wglGetProcAddress.
I'll try to do the testing leftover and resubmit in the next days.
Hi Alexandre, I do not mean to rush things by any means but is there an ETA approximation for resolving this issue?
I've merged the addition to the QtGl sample, but not yet the other patches. I'll try by the end of the week or next week since it's almost ready, I was wondering whether I find a solution for #25256 (closed) (ie. typically EGL extensions through the OpenGL callbacks, but wgl would need that too) before.
Actually I was mistaken, the commit I've linked did break it for you, but the fix is actually on you side, you'll need to implement the get_proc_address callback like this on Windows for wgl: https://patches.videolan.org/patch/31310/
Basically we'll expect all function to be loadable through get_proc_address.
Is this patch already merged with the master? What about qtvlcwidget/QtGl, are they updated as well? How are we supposed to compare the before and after mechanic?
getProcAddress mechanic was already in qtvlcwidget.cpp in May 2020 and my implementation was working fine at that time. Same code base on my part stop working between may 2020 and this post (3 months ago). If I cant get my hands on your patch using the nightly builds and qtvlcwidget.cpp is about the same today compared to May 2020, I'm not sure what needs to be fix on my side. What am I missing here?
Indeed, I haven't looked into details but there's some additional work to do on the extension discovery. I've found a workaround for this and #25256 (closed) but I might not have time until next week. I'll keep you updated.
I've sent the fix to the mailing list for windows: https://patches.videolan.org/patch/31488/
If accepted, I'll merge and then close the ticket, so you'll be able to test through the nightly build that follows the merge. I'll iterate on the other platform afterwards.