navit-project.org
http://forum.navit-project.org/

EGL rendering for RaspberryPI
http://forum.navit-project.org/viewtopic.php?f=14&t=625
Page 1 of 1

Author:  cedricp [ 20 Feb 2017, 14:31 ]
Post subject:  EGL rendering for RaspberryPI

Hi,
I've almost finished to write a graphic driver for NavIt and I would be glad to share it. There's some bugs to tracks yet, and overlay rendering is WIP.
I use SDL2, for events handling and EGL context creation and SDL2-image.

Regards,
Cedric

EDIT : I created a Git repository here : https://github.com/cedricp/navit_rpi that contains changes

* Added multisampling rendring (OK)
* Overlays are now working (all is rendered in an offscreen framebuffer)
* Good reactivity

Still having issues with SDL2 mouse drawing (sometimes freezes the Pi, Ok if I disable cursor) and a crash at startup if I enable compass OSD, but zoom buttons OSD are OK :/

Hope you'll like it.

Attachments:
File comment: Screenshot mutlisampling=4
rpi.jpg
rpi.jpg [ 198.51 KiB | Viewed 355 times ]

Author:  KaZeR [ 21 Feb 2017, 22:47 ]
Post subject:  Re: EGL rendering for RaspberryPI

Nice work!

I really want to merge that in the repo!

Could you submit a PR against a branch in the official repo?

Author:  KaZeR [ 07 May 2017, 03:59 ]
Post subject:  Re: EGL rendering for RaspberryPI

For the record : https://github.com/navit-gps/navit/pull/208

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/