Shane Smiskol
830f64e02c
ternary, not too complicated
3 years ago
Shane Smiskol
24585a76bc
not sure why passing to cameraview causes overflow
3 years ago
Shane Smiskol
2cc2a2f1c9
frame_id is a uint32_t
3 years ago
Shane Smiskol
aff7d92696
remove comments
3 years ago
Shane Smiskol
5895ba2d03
make tests pass
3 years ago
Shane Smiskol
007d8cd6c0
conflate, reduce buffer, and remove special case when starting
3 years ago
Shane Smiskol
20fa6767c7
fix drawing
3 years ago
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
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
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
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
Dean Lee
00db14af64
cameraview: fix frameskip ( #23022 )
...
* fix frameskip
* sync upload->render
* cleanup
* comment
* rename to latest_texture_id
4 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
4 years ago
Dean Lee
c1f617db46
UI: fix cameraview crash after going offroad in settings window ( #23009 )
4 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
Dean Lee
6e5fed63df
UI: do vipc recv in thread ( #22354 )
...
* move vipc to thread
* use invokeMethod
* cleanup
* latest_frame = nullptr
* space
* safe quit
* running_-> exit_
* recv timeout 1000
* cleanup
* run in loop
* requestInterruption
* block queue on vipcConnected for thread safety
* cleanup
* remove unused signal updateFrame
* make signals public
* dont emit signal in update
* apply reviews
* cleanup
* little more cleanup
* fix
* use glTexSubImage2D
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Mayfield
5246f0231e
enable wshadow ( #22756 )
...
* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Adeeb Shihadeh
7f3904ee8e
UI: increase camera view update frequency
4 years ago