JC
JC
Hello! Could I please join in? I have the same problem. The environment is Ubuntu Focal, X11, and glfw is compiled from upstream. I build glfw with `cmake ..`. I...
I can reproduce this bug with an AMD/Radeon 570 card on Manjaro.
Here's another suggestion for how to deal with this: [void GLContext::SwapBuffers()](https://github.com/beaumanvienna/gfxRenderEngine/blob/2074cd10260b86e41e04b18e1b96d05bea291bd5/engine/platform/OpenGL/GLGraphicsContext.cpp#L79) If the frame time is too short, this algo is switching to sleep().
Also, I get this access violation: 
If you would like to reproduce this issue, this is the premake file I used to generate the project. The extension should be changed to `.lua`. Thank you again! [premake5.txt](https://github.com/higan-emu/libco/files/7151165/premake5.txt)
It works. All's I had to do was define `LIBCO_MPROTECT` and uncomment `alignas(4096)`
### context-switching timing test MinGW-gcc/Release ``` 0.789 seconds per 50 million subroutine calls (500000000 iterations) 10.147 seconds per 100 million co_switch calls (500000000 iterations) co_switch skew = 12.860583x ``` MSVC/Release...
Same machine, under Ubuntu ``` context-switching timing test 0.824 seconds per 50 million subroutine calls (500000000 iterations) 3.252 seconds per 100 million co_switch calls (500000000 iterations) co_switch skew = 3.945070x...
@merryhime @Screwtapello Could you please review my PR? I hope adding premake is ok for you? There is at least one mistake in my PR [here](https://github.com/beaumanvienna/libco/blob/15b839249069da0370597fa4150e7eabdfc38e4f/doc/examples/premake5.lua#L48). This filters every Visual...
Issue for "ps2" and "gamecube" fixed with 88c9b1aaca030a08cd