Summary: | Optimize map_hittest | ||
---|---|---|---|
Product: | roadster | Reporter: | Jeff Garrett <jeff> |
Component: | general | Assignee: | Jeff Garrett <jeff> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | ian |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jeff Garrett
2007-09-08 05:29:56 UTC
map_hittest is used in two places: 1) when clicking, to find out what the user clicked on. 2) when moving the mouse, to show tooltips of what the mouse cursor is over (roads, POI, etc.) It is plenty fast for the first use. For the second use, and IF you want to keep the tooltip feature, instead of optimizing map_hittest, I suggest only showing a tooltip when the mouse has stopped moving for around 100 milliseconds. It would be more consistent (GTK+ has a tooltip delay) and wouldn't waste CPU time like it does now. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.