Hi all,
Please look at the new version:
http://cr.openjdk.java.net/~ant/JDK-8029455/webrev.2
It contains the following changes:
- All the scale related stuff is moved to the new class:
OffScreenHiDPIImage.java
- JViewport and RepaintManager no longer cache buffers.
- JLightweightFrame has
Hi, Anton.
Since OffScreenHiDPIImage looks similar to VolatileImage. Why we cannot
use VolatileImage inside Swing everywhere?
What happens if the graphicsConfig for the particular offscreen image
will be changed/remoed/disposed? I suppose Volatile should became
invalid in this case.
Hi Anton,
javax.swing.RepaintManager.getOffscreenBuffer is a public method that
can now return one of the new HiDPI offscreen images which is a subclass
of BufferedImage. This was what I was worried about in terms of one of
these internal double buffers leaking to developer code. If they