Commit Graph

13 Commits

Author SHA1 Message Date
Dean Lee
7222d0f20d 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>
2021-05-08 22:15:17 -07:00
Dean Lee
fe2f63849a util.cc: reduce two read_file functions into one (#20655)
* no need to malloc one extra byte

* combine two read_file into a faster one

* cleanup #include

* use resize

* apply suggestions from review

* space

* rebase master
2021-04-13 11:43:43 -07:00
Dean Lee
4cce4385af FrameBuffer: move the status,success variables closer to usage (#20308) 2021-03-11 15:02:35 +01:00
Dean Lee
6583206ed4 convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
2021-01-28 14:47:05 +01:00
Dean Lee
c5c9b6f712 text.c->text.cc (#19734) 2021-01-15 13:42:26 -08:00
Dean Lee
6476207009 add function write_file() (#2181)
* add function write_file()

* handle EAGIN & EWOULDBLOCK

* don't  handle errno
2020-09-21 16:10:38 +02:00
George Hotz
b62da571b4 UI 10x speedup with hardware antialias (#1787)
* enable MSAA, disable nvg antialias

* less opaque and clean up

Co-authored-by: Comma Device <device@comma.ai>
2020-06-29 13:54:23 -07:00
Willem Melching
ceba6fc675 Set brightness takes an int 2020-06-10 12:42:00 -07:00
Willem Melching
431690be1e Move helper function definition to top of file 2020-06-10 11:41:45 -07:00
Dean Lee
8ad1135e80 add set_brightness in framebuffer.h (#1659) 2020-06-10 10:28:18 -07:00
Adeeb
ab83e48ec4 Add pre-commit hooks (#1629) 2020-06-03 12:54:49 -07:00
Dean Lee
2fc3247343 close file descriptor (#1353)
* close file descriptor

* check return value
2020-04-13 15:09:48 -07:00
George Hotz
368a956b96 selfdrive/common 2020-01-17 11:01:02 -08:00