[cp-patches] FYI: JViewport fix

2007-02-08 Thread Roman Kennke
This fixes two issues in JViewport: - in scrollRectToVisible() we were calculating with the viewport coordinates, but we should be calculating with the view coordinates to get the correct results. This caused wrong scrolling offset. - in paintBackbuffer() we must update the buffer when we are not

[cp-patches] FYI: JViewport fix

2006-09-29 Thread Roman Kennke
In order to fix bug#28929 I switched back the JViewport to use backingstore scrollmode. This has similar performance characteristics like the blitting scrollmode, but is much more reliable in my experience. I think I implemented the blitting scrollmode wrong anyway and need to reimplement this.

[cp-patches] FYI: JViewport fix

2006-02-27 Thread Roman Kennke
Together with the last RepaintManager fix, we are now finally able to do the BLIT scroll mode in JViewport, which is more efficient and less memory hungry than the BACKINGSTORE scroll mode. I also had to do some clipping to avoid painting problems. This time I think I have thoroughly tested the

Re: [cp-patches] FYI: JViewport fix

2006-02-27 Thread Mark Wielaard
Hi, On Mon, 2006-02-27 at 14:05 +0100, Roman Kennke wrote: 2006-02-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/JViewport.java (static_init): Changed default scrollmode to BLIT. (paintSimple): Added some clipping to avoid painting problems. (paintBlit):