Menu

#6 Scrolling performance

v1.0_(example)
open-fixed
misc (5)
5
2004-04-17
2004-04-17
No

When scrolling with scrollbars performance is o.k.

When using the down cursor key, performance degrades,
because the whole viewport content is redrawn.

Discussion

  • Robert Lichtenberger

    • status: open --> open-fixed
     
  • Robert Lichtenberger

    Logged In: YES
    user_id=68692

    The reason was the backing-store scroll mechanism, which was
    the best option back in the days when jdk1.2 was used to
    develop red. This backing-store mode has problems with the
    scrollToRectangle method (documented in JViewport.java)

    With jdk1.3 a new scroll mode has appeared which works with
    bitblt and is of course much faster. So the only thing to do
    was to eliminate the setScrollMode line from RSE.java.

     

Log in to post a comment.

MongoDB Logo MongoDB