Hello Mathieu: On 26/01/2011, at 7:41 PM, Mathieu Baudier wrote:
>> I suspect your performance problems may have been because of the >> SWT_AWT bridge itself. > > This was like four years ago, so it may have improved, but I remember > stuff like depth conversions being costly, and looking at the SWT > code, being not performed very efficiently. I had some more recent experience (with the udig tiled renderer and creating a "glasspane" so developers could use the SWT draw functionality ontop of a map). We did see the performance top out after a while; but in general it was pretty good - and in the same ballpark as swing (by which I guess the feature access, coordinate transforms and so on were the bottleneck). The downside was the inability to really go multithreaded, as we do with geotools , only one thread really could be drawing in a canvas at a time. Andrea found that there was also a limitation in swing; but it occurred at a much lower level (where there was a system wide singleton which would slow down Java2D graphics use). There is an "advanced" SWT mode a while back; which improved some things with respect to affine transformations, transparency and the like. I was not able to compare those head to head. I was hoping to see either this (or OpenGL) used for "composition" of layers into a single image. So my ideal (for SWT or Swing) desktop use would be: - geotools renderers drawing into various raster images (using as many threads are are useful with respect to desk and network IO access): - native composition (OpenGL or other) merging the layers into a final image - with labeling done as part of the composition step I have looked at a couple frameworks now, WorldWInd, gvSig, JUMP, uDig and still have not found the above balance. Jody ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
