We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5264485 commit 8655f6dCopy full SHA for 8655f6d
selfdrive/ui/qt/widgets/cameraview.cc
@@ -309,6 +309,10 @@ void CameraViewWidget::vipcThread() {
309
assert(glGetError() == GL_NO_ERROR);
310
311
wait_fence.reset(new WaitFence());
312
+
313
+ // Ensure the fence is in the GPU command queue, or waiting on it might block
314
+ // https://www.khronos.org/opengl/wiki/Sync_Object#Flushing_and_contexts
315
+ glFlush();
316
}
317
latest_texture_id = buf->idx;
318
0 commit comments