Opened 12 years ago
Closed 12 years ago
#768 closed defect/bug (fixed)
Cache image data in gtk graphics driver
Reported by: | tegzed | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
Hello,
I noticed that the gtk_drawing_area graphics driver keeps opening image files at runtime. With a simple caching algorithm constant filesystem operations and image decompression can be avoided which improves performance. On map areas with a lot of POI icons this can save large amount of cpu time. The attached patch stores cached uncompressed image data in a hash map avoiding unnecessary repeated image loading.
Attachments (1)
Change History (2)
Changed 12 years ago by tegzed
comment:1 Changed 12 years ago by woglinde
- Resolution set to fixed
- Status changed from new to closed
Was commited in svn revision
http://navit.svn.sourceforge.net/viewvc/navit?view=revision&revision=4238
Note: See
TracTickets for help on using
tickets.
added some cleanup code