I think I'm going to query the SWT list about this issue. There is
no reason that Linux should be slower than Windows or Macintosh. Both
of those platforms use the SWT implementation and they have good
performance. So it seems like it must be an issue with the GC object
in SWT. I will let you know if I can find anything out.
Jesse
On 4-Oct-06, at 6:15 AM, Gabriel Roldán wrote:
Hi Aleksander, thanks for your reply
Switching off antialiasing in ViewPortPaneSWT solves only half
(maybe 1/3?) of
the problem, good hint anyways.
Even with antialiasing off I am experimenting terrible performance
(like only
3 redraws when drawing a zoom box, a little better than with
antialiasing ON,
in which case I got no redraws at all but have to wait for about a
second
once I stop dragging to see the box).
So if you or someone else has any clue on what could be going on I
would
really appreciate that.
Gabriel
On Wednesday 04 October 2006 12:15, Aleksander Bandelj wrote:
The reason might be antialiasing which is hardcoded in
ViewPortPaneSWT
for some reason (there is a preference which should affect this, but
doesn't seem to be implemented).
g.setAntialias(SWT.ON);
I commented it out in my checkout and performance is OK ;) I use same
cairo version as you (1.2 doesn't work with SWT/Draw2D, even though
cairo page says it should be binary compatible with 1.0)
Gabriel ďż˝ wrote:
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
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
--
Gabriel Roldán ([EMAIL PROTECTED])
Axios Engineering (http://www.axios.es)
Tel. +34 944 41 63 84
Fax. +34 944 41 64 90
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel