[OpenJDK 2D-Dev] Speed of drawPolyline on JDK11
bourges.laurent at gmail.com
Wed Oct 10 10:55:03 UTC 2018
What is the corresponding bug ?
> > Peter, what is your hardware & OS info ?
> It's an Intel core i7-8750H, 8GB RAM, intel UHD 630 graphics
> Windows 10 Pro 1803 build 17134.320
> Note that Java 8 is still 'fast' so there must be some difference
> between 8 & 11.
> I saw that on Java 11, the window size was bigger. I assume this is
> due to the HiDPI support added in Java 9 (my display scaling is set to
> 125%, which is the 'recommended' setting)
> Are there any options I can pass to java.exe which would turn off
> scaling - that might help to narrow down the problem.
I think it is -Djava2d.ui.scale=1.0 AFAIR.
> By the way, I tried it on a Mac, it was also 'fast', so it just seems
> to be Windows at the moment. I would appreciate it if someone else on
> Windows could check it out.
I can run tests in windows but i5+ discrete nvidia card.
You should run java2d in verbose mode to see if your intel gpu is not
supported by jdk11.
It could then use software rendering as fallback and explain the slowdown.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev