Miklós Máté mtmkls@gmail.com writes:
The v2 I sent to the list fixes the test, but I'm fairly sure that the critical section is wrong. I tried to run the d3d11 test to see if it better exercises multithreading, but it skipped all tests ("None of the requested D3D feature levels is supported on this GPU with the current shader backend." even though Mesa 11.2 supports GL 4.1 core profile on my hw).
Is it an acceptable solution to not leave the critical section until the XSaveContext line?
That should be OK.