Skip to content

Commit

Permalink
cameraview: remove glflush, reduce C3 CPU usage (#22949)
Browse files Browse the repository at this point in the history
* remove glflush

* revert cpu
  • Loading branch information
deanlee authored Nov 17, 2021
1 parent 0a1aaaa commit 33b1b94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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": 30.2,
"./_ui": 21.0,
"selfdrive.controls.plannerd": 11.7,
"./_dmonitoringmodeld": 10.0,
"selfdrive.locationd.paramsd": 5.0,
Expand Down
1 change: 0 additions & 1 deletion selfdrive/ui/qt/widgets/cameraview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ void CameraViewWidget::vipcThread() {

emit vipcThreadFrameReceived(buf);

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

0 comments on commit 33b1b94

Please sign in to comment.