Commit Graph

19 Commits

Author SHA1 Message Date
Dean Lee 7534abdd50 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
old-commit-hash: fe2f63849ae467fee70c72d18fa52a184c056331
2021-04-13 11:43:43 -07:00
Dean Lee 1cef96b8a9 FrameBuffer: move the status,success variables closer to usage (#20308)
old-commit-hash: 4cce4385afa5c4526fb56d7159fc9e1b0cec568b
2021-03-11 15:02:35 +01:00
Dean Lee 7a086b3f3d convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
old-commit-hash: 6583206ed41c9277bb7509bcb66b7d5e058ea5fe
2021-01-28 14:47:05 +01:00
Dean Lee c3043515d8 text.c->text.cc (#19734)
old-commit-hash: c5c9b6f7123e573f6c3171c5d5843fcfc8af5dcd
2021-01-15 13:42:26 -08:00
Dean Lee ef8b6d20fb add function write_file() (#2181)
* add function write_file()

* handle EAGIN & EWOULDBLOCK

* don't  handle errno
old-commit-hash: 64762070097884de48b7168ec337a96e3f03a07a
2020-09-21 16:10:38 +02:00
George Hotz ada8359180 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>
old-commit-hash: b62da571b4108487cfc4d2dbd1970a504ba0a317
2020-06-29 13:54:23 -07:00
Willem Melching 14881ace78 Set brightness takes an int
old-commit-hash: ceba6fc6754b73c8fff114a45001b8d1fd5cbd2b
2020-06-10 12:42:00 -07:00
Willem Melching b7ae2df26b Move helper function definition to top of file
old-commit-hash: 431690be1e0843eda72a7e703344d7a2d20f12fd
2020-06-10 11:41:45 -07:00
Dean Lee 0f9202c4b7 add set_brightness in framebuffer.h (#1659)
old-commit-hash: 8ad1135e80f93b19bb2f0a6b4c7531a9b5eb7d8a
2020-06-10 10:28:18 -07:00
Adeeb d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
2020-06-03 12:54:49 -07:00
Dean Lee ea0392cc2a close file descriptor (#1353)
* close file descriptor

* check return value
old-commit-hash: 2fc324734371b2eac7f7f34aedf4715febd65eb6
2020-04-13 15:09:48 -07:00
George Hotz 189c815e8f selfdrive/common
old-commit-hash: 368a956b96
2020-01-17 11:01:02 -08:00
George Hotz 81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c
2020-01-15 14:05:04 -08:00
Vehicle Researcher e4ba9edefa openpilot v0.4.4 release
old-commit-hash: 9a9ff839a9
2018-04-14 06:10:58 +00:00
Vehicle Researcher d21c4170d8 openpilot v0.3.3 release
old-commit-hash: 5cf91d0496
2017-06-28 13:57:09 -07:00
Vehicle Researcher 5de48a7668 openpilot v0.3.0-devel release
old-commit-hash: 4653a9aef0
2017-05-11 12:41:17 -07:00
Vehicle Researcher 7609fa3b51 openpilot v0.2.4 release
old-commit-hash: ecc565aa3f
2017-01-29 16:10:13 -08:00
Vehicle Researcher 79ca8c9ec9 openpilot release
old-commit-hash: e94a30bec0
2016-11-29 18:34:21 -08:00