RFR: 8247564: Lanai - SwingSet2 - Motif L&F - UI controls border is incorrectly drawn with uiScale=1.0 [v2]

Denis Konoplev github.com+14975482+dekonoplyov at openjdk.java.net
Fri Jul 31 11:52:53 UTC 2020


On Thu, 30 Jul 2020 19:17:19 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

>> Denis Konoplev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Replace redundant structs creation with assignment
>
> src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.m line 91:
> 
>> 90:
>> 91:         struct Vertex v1 = {{fx1 + 0.2f, fy}};
>> 92:         struct Vertex v2 = {{fx2 + 1.2f, fy}};
> 
> We can avoid creation of v1 and v2 by directly assigning to verts[0] and verts[1].
> 8250778 changes can be referred.

Fixed!

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

PR: https://git.openjdk.java.net/lanai/pull/68


More information about the lanai-dev mailing list