Shane Smiskol
1dee4855a5
draw latest frames when camerad is coming up with no modeld
3 years ago
Shane Smiskol
3985023069
more generic implementation
3 years ago
Willem Melching
aac7248a01
ui: fix cameraview widget on MacOS after YUV changes ( #24506 )
3 years ago
Willem Melching
3fc01ec15a
cameraview.cc: set alignment to 1 when copying texture ( #24418 )
3 years ago
Shane Smiskol
546cb349e8
try this
3 years ago
Shane Smiskol
28a21bcd5a
fix ui hang
3 years ago
Shane Smiskol
239f0bbdad
clean up
3 years ago
Joost Wooning
7ac92938d2
UI: remove unused lock and fence ( #24355 )
3 years ago
Willem Melching
a3cfa444d3
ui: combine OnroadHud into NvgWindow ( #24369 )
...
* ui: combine OnroadHUD and NVGWindow
* draw hud first
* cleanup
* removed commented line
* fix text rendering
* increase cpu usage
3 years ago
Shane Smiskol
55380c5bf2
heavy debugging
3 years ago
Shane Smiskol
83d6689fd4
sleep shorter
3 years ago
Shane Smiskol
d593935001
optimze
3 years ago
Shane Smiskol
bfeddc0a14
fix reversing
3 years ago
Shane Smiskol
0bebfffdc4
draw camera on same frame from modelV2
3 years ago
Joost Wooning
f84fdc86bb
UI: remove memcpy on frame receive ( #24318 )
...
* UI: remove frame memcpy
* fix freezing
* fix onroad test
3 years ago
Joost Wooning
43f43b1c64
UI: use YUV stream instead of RGB ( #24317 )
...
* UI: use YUV stream instead of RGB
* cleanup
* cleanup
3 years ago
Adeeb Shihadeh
13e1c0b339
Revert "UI: remove RGB buffer usage ( #24298 )"
...
This reverts commit b9907e86b2
.
3 years ago
Joost Wooning
b9907e86b2
UI: remove RGB buffer usage ( #24298 )
...
* ui: use yuv buffer
* cleanup
* fix watch3
* replay always send yuv
* fix drawing of path
* fix onroad test
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Shane Smiskol
4802c864d5
ui: repaint toggles after offroadTransition ( #24038 )
...
* repaint after offroadTransition
* Update selfdrive/ui/qt/widgets/controls.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Gijs Koning
57b6fdc17a
Rename RGB vision streams to match YUV streams ( #23961 )
...
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
4e4cb07297
ui: configure tethering based on prime type ( #23733 )
...
* Store prime type in param
* set tethering metric based on prime type
* update existing connections
* returning zero is fine
* always set
* add callback on activate
* call systemctl
* match server enum
* add delay
* assume field is there
* snake case
3 years ago
Dean Lee
786152f0f1
remove trailing whitespaces ( #23716 )
3 years ago
Willem Melching
d77782ea93
CameraView: sync pbo with glFence instead of calling glFinish ( #23409 )
...
* CameraView: sync pbo with glFence instead of calling glFinish (#23293 )
* Sync pbo with fence
* use std::unique_ptr
* cameraview.cc: call glFlush after creating fence
Co-authored-by: Dean Lee <deanlee3@gmail.com>
3 years ago
Willem Melching
8d80c0107f
catch gl_buffer->map() returning nullptr ( #23411 )
3 years ago
Adeeb Shihadeh
25f51470fc
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 5dbdad3276
.
3 years ago
Adeeb Shihadeh
34926dfab5
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit 8655f6df6b
.
3 years ago
Willem Melching
8655f6df6b
cameraview.cc: call glFlush after creating fence
3 years ago
Dean Lee
5dbdad3276
CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )
...
* Sync pbo with fence
* use std::unique_ptr
3 years ago
George Hotz
16dd7ce1fe
build for mac ( #23048 )
3 years ago
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
3 years ago
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
3 years ago
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
3 years ago
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
3 years ago
Dean Lee
f482354e4e
Qt/SetingWindow: faster initialization and painting ( #21764 )
...
* reduce init time from ~520ms to ~350ms
* faster init toggle
setfixedheight in ctor
delay init TogglesPanel,reduce init time to ~180ms
cleanup
* precise style, reduce to ~100ms
* revert 'faster toggle
* fix horizontal_line
* fix background
* cleanup
3 years ago
Willem Melching
f93d89b888
dmonitoring/DriverView: get crop_rect & transform by video size ( #23169 )
...
* dmonitoring/DriverView: get crop_rect & transform by video size (#23014 )
* keep rounding the same
Co-authored-by: Dean Lee <deanlee3@gmail.com>
3 years ago
Willem Melching
b5fdf646ff
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit 1af715d6a2
.
3 years ago
Dean Lee
1af715d6a2
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
3 years ago
Dean Lee
20f571db3c
UI: move rest of NVG to Qt ( #23133 )
...
* move ui_draw_world to qt
* draw world if world_objects_visible is true
* cleanup
* cleanup includes
* continue
* cleanup
* cleanup
* enable multisampling on all devices
3 years ago
Dean Lee
8c6242888c
CameraView: use unique_ptr for CameraView::program ( #23096 )
3 years ago
Cosmo Borsky
faecf4e4c1
keyboard: replace backtick with apostrophe ( #23104 )
...
* Replace existing symbol with apostrophe
Without `'`, I cannot type my WiFi password... though it might be time
to rotate it.
* Replace extra bactic with apostrophe
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Dean Lee
00db14af64
cameraview: fix frameskip ( #23022 )
...
* fix frameskip
* sync upload->render
* cleanup
* comment
* rename to latest_texture_id
3 years ago
Dean Lee
3fd0264960
refactor httprequest: emit single signals ( #23039 )
...
* refactor httprequest
* Trigger Build
3 years ago
Willem Melching
5069852573
navd: render map into VisionIPC ( #22800 )
...
* navd: render simple map
* render route
* offscreen rendering
* cleanup
* more cleanup
* render into visionIPC
* rename class
* split position update from route update
* stop broadcast if not active
* gate vipc server behind flag
* add python library
* faster
* no vipc from python
* put behind extras
* only send when loaded
* add glFlush just to be sure
* cleanup settings into helper function
* function ordering
* broadcast thumbnails
* put behind param
* adjust zoom level
* add route to python bindings
* revert that freq change
* add logging if map rendering is enabled
* use rlogs if available
* bump cereal
3 years ago
eFini
21ff97b8c9
UI: minor changes to make it translation friendly ( #23032 )
3 years ago
Dean Lee
c1f617db46
UI: fix cameraview crash after going offroad in settings window ( #23009 )
3 years ago
Willem Melching
372b0f10da
Revert "cameraview: remove glflush, reduce C3 CPU usage ( #22949 )"
...
This reverts commit 33b1b94067
.
4 years ago
Dean Lee
33b1b94067
cameraview: remove glflush, reduce C3 CPU usage ( #22949 )
...
* remove glflush
* revert cpu
4 years ago
Dean Lee
0dcb089254
ui: async uploading texture with PBO ( #22843 )
...
* async uploading texture using pbo
* use QOpenglBuffer
space
set usage pattern
share context
continue
* space
4 years ago
Adeeb Shihadeh
e528e2e3e2
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
4 years ago