[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8210253: Clipped UI rendering with X11 pipeline and HiDPI
From:       Alexey Ivanov <aivanov () openjdk ! java ! net>
Date:       2020-11-30 23:13:56
Message-ID: ZzpG6Q-Oh5BraLeLdB0f6RhEf7FCK8kuKSAak2PSvqI=.b47adbb3-35a6-41ff-a597-86953afa8555 () github ! com
[Download RAW message or body]

On Wed, 18 Nov 2020 09:11:11 GMT, Sergey Bylokhov <serb@openjdk.org> wrote:

> 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:
> https://github.com/openjdk/jdk/commit/d48c3fcafbf93177919b0e37785a340e0789789b#diff-8e84507066ac1c725caee14aa6a3323b0fb06f2082a33e0c5dbe2c662bdc53ccR545
>  
> I hit this bug on my local system, and confirm that this change cures it. mach5 is \
> green.

The changes are similar to Xrender, looks reasonable.

-------------

Marked as reviewed by aivanov (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1284


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic