Opened 12 years ago
Closed 12 years ago
#671 closed defect/bug (fixed)
Make opengl graphics driver operational
Reported by: | tegzed | Owned by: | woglinde |
---|---|---|---|
Priority: | major | Milestone: | version 0.2.0 |
Component: | core | Version: | git master |
Severity: | Keywords: | opengl graphics driver | |
Cc: |
Description (last modified by kazer)
Hello All,
Recently I worked on the opengl driver for navit to make it operational in the current navit framwork. After some modifications I was able to run it on my Ubuntu system.
The following changes were done:
- the driver is successfully fitted into the current event system of Navit.
- font handling is adopted from gtk_drawing_area driver (there are still coloring and performance issues)
- display list based overlay handling is implemented
- added image handling using freeimage library
Dependencies of the current implementation:
- freeglut glut implementation
- freeimage image processing library
Known issues:
- font coloring
- font rendering performance
- need to add proper autoconf rules to carry out compile time checks
- modify opengl context initialization to support better integration into gtk and other opengl embeddable GUIs
- positions of osd items are not updated immediately on resize
- vehicle cursor is not displayed
The driver is still incomplete but if you want to try it out you will need to copy the attached files (Makefile and graphics_opengl.c) to navit/navit/graphics/opengl/ in the source tree and compile it. You will need to enable opengl plugin by adding the following line to the plugins secion of navit.xml :
<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_opengl.so" active="yes"/>
and setting the graphics type to opengl:
<graphics type="opengl"/>
The driver is developed using the internal gui support for other guis will possibly be added later.
If you find any unknown issues please let me know via this ticket or even better send your patch to fix them. :)
Regards, David Tegze
Attachments (6)
Change History (9)
Changed 12 years ago by tegzed
comment:1 Changed 12 years ago by woglinde
- Owner changed from KaZeR to woglinde
comment:2 Changed 12 years ago by kazer
- Description modified (diff)
- Milestone set to version 0.2.0
comment:3 Changed 12 years ago by woglinde
- Resolution set to fixed
- Status changed from new to closed
applied in revision 3615
http://navit.svn.sourceforge.net/viewvc/navit?view=revision&revision=3615
and tegzed has rw access to svn
makefile for the opengl driver