I hit app stall frequently when running virgl on Windows/macOS, it turned out virgl kept calling glClientWaitSync and just got timeout. According to https://www.khronos.org/opengl/wiki/Sync_Object, the sync object may never be signaled without proper flushing. This glFlush fixes the stall issue on Windows/macOS. Tested-by: Jakob Bornecrantz <jakob@collabora.com> Reviewed-by: Jakob Bornecrantz <jakob@collabora.com> Signed-off-by: Lepton Wu <lepton@chromium.org> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>macos/master
parent
85675f35b0
commit
21bbc9ea2d
Loading…
Reference in new issue