Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » GEF in RAP repaints the whole SWT canvas on any update
GEF in RAP repaints the whole SWT canvas on any update [message #876961] Fri, 25 May 2012 11:46 Go to next message
Eclipse UserFriend

When I monitor the network traffic of my GEF application on RAP, I found that even a small repaint on a figure in GEF editor will also transfer the painting info for all other figures in the editor even they don't need to be updated at all. I think this is big problem since it will heavily affect the GEF performance on RAP.

Could this problem be resolved?

Thanks!
Re: GEF in RAP repaints the whole SWT canvas on any update [message #877057 is a reply to message #876961] Fri, 25 May 2012 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Looks like the reason is that in RAP the redraw() method of swt.widgets.Control ignored the rectangle region and just redraw the whole control whenever it is needed:

public void redraw( int x, int y, int width, int height, boolean all ) {
checkWidget();
if( width > 0 && height > 0 ) {
internalSetRedraw( true );
}
}

Re: GEF in RAP repaints the whole SWT canvas on any update [message #878547 is a reply to message #877057] Tue, 29 May 2012 10:03 Go to previous messageGo to next message
Eclipse UserFriend
Can anyone help to look at this and point to me if this could be solved? This is really important to me because it is the performance bottleneck for my project.

Thank you!
Re: GEF in RAP repaints the whole SWT canvas on any update [message #878688 is a reply to message #878547] Tue, 29 May 2012 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Hi Xihui,

Could you open a bug on this issue? Thanks.
Re: GEF in RAP repaints the whole SWT canvas on any update [message #878707 is a reply to message #878688] Tue, 29 May 2012 15:18 Go to previous message
Eclipse UserFriend
I have reported the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=380949

Thanks!
Previous Topic:Getting Servlet Request Info
Next Topic:rap - new message protocol
Goto Forum:
  


Current Time: Wed Jun 18 08:45:33 EDT 2025

Powered by FUDForum. Page generated in 0.08964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top