Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0
-
None
-
Windows 8.1
-
a8410384e3b74b0b057422f7faa1f772b7b38fbf
Description
Starting in Qt 5.4.0 OpenGL HDC may change causing artifacts or crashes to Windows applications that use OpenCL and rely on OpenGL/OpenCL Interoperability for improved performance.
We found that there was a recent change in Qt 5.4.0 SDK in qsgthreadedrenderloop.cpp line 356 that introduced a gl->doneCurrent() causing HDC changes. Removing this on Windows seems to solve the issue. Is it safe to remove? Why was this introduced in 5.4? What does it fix?