[OpenJDK 2D-Dev] RFR: 8210253: Clipped UI rendering with X11 pipeline and HiDPI
serb at openjdk.java.net
Wed Nov 18 09:18:12 UTC 2020
The fix for https://bugs.openjdk.java.net/browse/JDK-8137571 where HiDPI support on Linux was implemented missed the change in the X11 pipeline, only XRender pipeline was updated. The same logic should be implemented in X11SurfaceData:
- The size of the native surface should be scaled based on scale factor, except the TEXTURE type, because it is used for managed(cached) images.
See the old change:
I hit this bug on my local system, and confirm that this change cures it. mach5 is green.
- Merge branch 'master' into JDK-8210253
- Initial fix
Stats: 76 lines in 3 files changed: 41 ins; 16 del; 19 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1284/head:pull/1284
More information about the 2d-dev