RFR: 8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently
Phil Race
prr at openjdk.org
Tue Sep 23 17:51:10 UTC 2025
On Mon, 22 Sep 2025 19:46:37 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> > > why on WIndows/Linux we set "-Dsun.java2d.uiScale=1" option and on mac we do not?
> >
> >
> > I'd have used uiScale=1 everywhere, but I actually observed a few rounding errors on retina if I used uiScale = 1 . Letting uiScale be whatever is the default has so far worked on all Mac cases.
>
> If it works mostly fine on macos then why it is needed on win/lin?
Because fractional scaling on Windows causes problems too. And Linux we don't scale unless it is 2X and I don't have anything to test that so playing it safe.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27399#issuecomment-3324987531
More information about the client-libs-dev
mailing list