CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/02/27 12:45:35
Modified files:
. : ChangeLog
javax/swing : RepaintManager.java
Log message:
2006-02-27 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/RepaintManager.java
(currentRepaintManagers): Made field private.
(rectCache): New field.
(addDirtyRegion): Clip dirty rectangle with visible rectangle of
component. Changed Rectangle handling to avoid unnecessary new
Rectangle instances.
(getOffscreenBuffer): Create buffer with size of the root window.
Respect the maximum buffer size here.
(commitBuffer): Align the regions so that they are inside the buffer
image and inside the clip. This avoids problems with a bug in GTKImage.
Fixed Rectangle handling to avoid creation of new Rectangle instances.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6518&tr2=1.6519&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/RepaintManager.java.diff?tr1=1.26&tr2=1.27&r1=text&r2=text