[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: JViewport optimization
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: JViewport optimization |
Date: |
Wed, 12 Oct 2005 15:32:10 +0000 |
This optimizes JViewport. The backingstore drawing mechanism created
images far too often. Now it only creates a new image when the actual
size of the viewport changed.
2005-10-12 Roman Kennke <address@hidden>
* javax/swing/JViewport.java
(sizeChanged): A new flag, indicating when the size of the
viewport has changed relative to the last painting operation.
(reshape): Set sizeChanged flag if size has changed.
(paintBackingStore): Only create new backingstore image when
the size has changed.
/Roman
JViewport.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: JViewport optimization,
Roman Kennke <=