Skip to content

Commit

Permalink
Revert "cameraview: remove glflush, reduce C3 CPU usage (#22949)"
Browse files Browse the repository at this point in the history
This reverts commit 33b1b94.
  • Loading branch information
pd0wm committed Nov 17, 2021
1 parent 33b1b94 commit 372b0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/test/test_onroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"./loggerd": 70.0,
"selfdrive.controls.controlsd": 28.0,
"./camerad": 31.0,
"./_ui": 21.0,
"./_ui": 30.2,
"selfdrive.controls.plannerd": 11.7,
"./_dmonitoringmodeld": 10.0,
"selfdrive.locationd.paramsd": 5.0,
Expand Down
1 change: 1 addition & 0 deletions selfdrive/ui/qt/widgets/cameraview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ void CameraViewWidget::vipcThread() {

emit vipcThreadFrameReceived(buf);

glFlush();
} else {
emit vipcThreadFrameReceived(buf);
}
Expand Down

0 comments on commit 372b0f1

Please sign in to comment.