[udig-devel] _slow_ ui performance in Linux with cairo

Gabriel Roldán groldan at axios.es
Wed Oct 4 03:38:45 PDT 2006


Hi all,

since the move to eclipse 3.2 (and now 3.2.1), I am experiencing an incredible 
bad performance on anything that interacts with MapPane, to the point that 
the app becomes unusable.

Looking for the reasons of this change, I noticed that we're now relying on 
the same ViewportPane implementation (SWT) for the three target platforms.
On Linux that means the new cairo based SWT graphics, so I started to inspect 
my set up, and updated to the latest version available for my distribution:

- Cairo 1.0.4 with glitz 0.4.4 (using nVidia OpenGL drivers)

So I tried using  ViewportPaneJava instead of ViewportPaneSWT, which restores 
the tooling graphics to its normal performance, but surprisingly does not 
refreshes the viewport more or less randomly, like after a zoom or whatever.

Is anyone else experimenting this behavior on linux? if not, does somebody 
know what else I can try?

If this is actually a problem with swt+cairo I would suggest to switch back to 
the awt pane implementation for linux until a solution is found.

regards,

Gabriel

-- 
Gabriel Roldán (groldan at axios.es)
Axios Engineering (http://www.axios.es)
Tel. +34 944 41 63 84
Fax. +34 944 41 64 90


More information about the udig-devel mailing list