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
4 years ago
Dean Lee
4cce4385af
FrameBuffer: move the status,success variables closer to usage ( #20308 )
4 years ago
Dean Lee
6583206ed4
convert framebuffer to class ( #19800 )
...
* class FrameBuffer
* fix build error
* remove bootlog
4 years ago
Dean Lee
c5c9b6f712
text.c->text.cc ( #19734 )
4 years ago
Dean Lee
6476207009
add function write_file() ( #2181 )
...
* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't handle errno
5 years ago
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>
5 years ago
Willem Melching
ceba6fc675
Set brightness takes an int
5 years ago
Willem Melching
431690be1e
Move helper function definition to top of file
5 years ago
Dean Lee
8ad1135e80
add set_brightness in framebuffer.h ( #1659 )
5 years ago
Adeeb
ab83e48ec4
Add pre-commit hooks ( #1629 )
5 years ago
Dean Lee
2fc3247343
close file descriptor ( #1353 )
...
* close file descriptor
* check return value
5 years ago
George Hotz
368a956b96
selfdrive/common
5 years ago