[OpenJDK 2D-Dev] Speed of drawPolyline on JDK11

Peter Hull peterhull90 at gmail.com
Thu Oct 11 08:29:25 UTC 2018


I can answer part of that, but I can't get access to the older system just now.

On Wed, Oct 10, 2018 at 4:41 PM Philip Race <philip.race at oracle.com> wrote:
> In other words does
>
> -Dsun.java2d.uiScale=1.0
>
> even change the physical size of the window on JDK 9/10/11 ?
>
Yes, because I can run the same jar under Java 8 and 11. Without the
scale option, the Java 11 window is bigger than the Java 8 one, by
about 1.25x (this corresponds to my system setting)
When I add the scale=1 option to both, they are both the same size
(and the same as JDK8 without any scaling)
I've attached 2 images so you can see what I mean, one is without any
scale option (and I labelled the approx size on this) and the other is
with -Dsun.java2d.uiScale=1.0.
The window title contains the system property "java.runtime.version"
so you can see which is which.

I do appreciate your help on this. It looks like it's coming down to
Intel's graphics driver, do you agree?

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sizes-scale1.png
Type: image/png
Size: 18563 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20181011/c7bdca48/sizes-scale1-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sizes.png
Type: image/png
Size: 25752 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20181011/c7bdca48/sizes-0001.png>


More information about the 2d-dev mailing list