Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Willem Melching
7e12817e02
MacOS: ensure 1:1 rendering on HiDPI screens ( #23860 )
...
old-commit-hash: ca8d4e417e53e5869ad77e8bfd5da62a78a88de3
2022-02-25 14:36:27 +01:00
Dean Lee
f0eb7a5402
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
old-commit-hash: 75687169eb978a7a49f15fb086df87cc959a871a
2021-12-14 22:58:47 -08:00
Dean Lee
96ee460f96
Qt/spinner: reduce cpu usage from 12% to 9% ( #21552 )
...
* faster spinner
* reduce to 6%
* Revert "reduce to 6%"
This reverts commit 65e23bb7a9542ccca13b8f01b7a5d56580a61bf6.
old-commit-hash: 776516d72b85c5cdf4f0c40992dcedb03d06638c
2021-08-02 21:24:02 -07:00
Adeeb Shihadeh
444649d4f6
show registration debug info after 60s ( #21679 )
...
* show registration debug info after 60s
* little nicer
* larch
* aarch
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 987abb31ddd7affb18f9d93153eb00cf3bfb9c23
2021-07-21 23:30:02 -07:00
Dean Lee
86cc8f615c
qt/spinner: reduce CPU usage from 17% to 12% ( #21495 )
...
* faster spinner
* initApp
* no brightness
* Update selfdrive/ui/qt/util.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: b7f8c6ad03e70b9b73ef67238c7a5946b315483e
2021-07-07 21:19:56 -07:00
Dean Lee
63ff493fe8
UI widgets: remove unnecessary setLayout ( #21232 )
...
* remove setlayout
* remove setLayout
* space
* Update selfdrive/ui/qt/maps/map.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8f5c7e7bb5e4796708a8be672529bf65e89edaca
2021-06-12 21:28:17 -07:00
Dean Lee
625bf79623
qt/util.h : add new function setQtSurfaceFormat ( #21206 )
...
old-commit-hash: 9429bd27835bf2b9e2df192c888d3600ef784cef
2021-06-09 14:09:49 +02:00
Dean Lee
f70a79b838
Use C++ header files instead of C header files. ( #21192 )
...
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570adb82bc454fcabab458d7e7f09738c
2021-06-08 13:46:22 -07:00
Dean Lee
a88660795a
Properly set parent for widgets ( #21196 )
...
old-commit-hash: 4a74d777f09b606abdde141c456cd73281d20947
2021-06-08 13:32:10 -07:00
Dean Lee
3a698faadc
Use full include path ( #21194 )
...
old-commit-hash: b06b3ecb60c651dacf079513635f7d9d99228783
2021-06-08 12:09:30 -07:00
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805
2021-05-08 22:15:17 -07:00
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
2021-05-03 11:53:11 +02:00
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e1228b3f8707afa7237864f4cb4df9d71
2021-05-01 14:12:35 -07:00
Comma Device
ef4a479880
spinner is a qwidget
...
old-commit-hash: 065e2bc7d0d0e3f3e356b4f1147538c4f6417280
2021-04-30 11:11:05 -07:00
Adeeb Shihadeh
8c72eac7fb
set display power + brightness in spinner and text window ( #20719 )
...
* set display power + brightness in spinner and text window
* update aarch64
* update larch
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 31dd0cbd427dcf069e4677a39817d7f14df4a7ab
2021-04-20 20:45:46 -07:00
Adeeb Shihadeh
5a7167aaaf
GL spinner fix ( #20684 )
...
* GL spinner fix
* update larch spinner
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: aaa8d937f504e4240444454a32b85de6977bf8b6
2021-04-15 00:49:34 -07:00
Dean Lee
52d327f0ec
Faster spinner, reduce cpu usage ( #20618 )
...
* Faster spinenr
* correct path
* remove binary
* 30 fps
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 8c3ec9dd31b33efd1b7e58d9cfae2e80544e7610
2021-04-10 15:06:16 -07:00
Comma Device
e11b03e9b1
fix qt spinner height
...
old-commit-hash: dc0bfaaeadc9c1a6fb81566885c4e0df4a7e3500
2021-03-25 22:43:34 -07:00
Adeeb Shihadeh
c61d1bbce6
spinner: pre-compute rotations
...
old-commit-hash: 1bcc3beae80fd22e9536d8a3538917f327a74085
2020-12-24 01:55:52 -08:00
Adeeb Shihadeh
12e6f7a607
Qt cleanup ( #2622 )
...
* scale
* contain weston hack in one file
* rest
* no show
* missed one
old-commit-hash: efc30f4a83953363d665290f99b91c7b52652cc2
2020-11-24 22:07:03 -08:00
Adeeb Shihadeh
6a6bab9917
nicer spinner
...
old-commit-hash: 12bddb985d32a5efe460224fef55a47f92ecaae3
2020-11-14 17:54:05 -08:00
Adeeb Shihadeh
3a05f06ced
Qt spinner ( #2494 )
...
* move android spinner
* qt spinner
* rotation
* nothing by default
* spin spin
* fix rotate
* style
* spinner for all
* -2
* unused
old-commit-hash: 6c86afee16c706a3c8e787d576ead509373e6b55
2020-11-06 18:44:04 -08:00