[OpenJDK 2D-Dev] Heads up : JDK 17 b19 through b22 will use Metal instead of OpenGL for Java 2D rendering on macOS.

2021-04-23 Thread Philip Race
Heads up to anyone who is testing JDK 17 for running apps on macOS. Starting with build 19 [1], JDK 17 for macOS is *temporarily* switched from using OpenGL to using Apple's Metal API for Java 2D rendering. This should be invisible to applications. We expect to revert this temporary switch in

Re: [OpenJDK 2D-Dev] RFR: 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1 [v2]

2021-04-23 Thread Sergey Bylokhov
On Fri, 23 Apr 2021 18:43:47 GMT, Alexey Ushakov wrote: >> Explicitly set storeAction in clear pass for stencil texture > > Alexey Ushakov has refreshed the contents of this pull request, and previous > commits have been removed. The incremental views will show differences > compared to the

Re: [OpenJDK 2D-Dev] RFR: 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1

2021-04-23 Thread Alexey Ushakov
On Fri, 23 Apr 2021 16:16:32 GMT, Sergey Bylokhov wrote: > Please add this bugid to the test. Done - PR: https://git.openjdk.java.net/jdk/pull/3651

Re: [OpenJDK 2D-Dev] RFR: 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1 [v2]

2021-04-23 Thread Alexey Ushakov
> Explicitly set storeAction in clear pass for stencil texture Alexey Ushakov has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit

Re: [OpenJDK 2D-Dev] RFR: 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1

2021-04-23 Thread Sergey Bylokhov
On Fri, 23 Apr 2021 11:19:06 GMT, Alexey Ushakov wrote: > Explicitly set storeAction in clear pass for stencil texture Please add this bugid to the test. - PR: https://git.openjdk.java.net/jdk/pull/3651

[OpenJDK 2D-Dev] RFR: 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1

2021-04-23 Thread Alexey Ushakov
Explicitly set storeAction in clear pass for stencil texture - Commit messages: - 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1 Changes: https://git.openjdk.java.net/jdk/pull/3651/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk=3651=00 Issue:

Re: [OpenJDK 2D-Dev] RFR: 8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were garbled

2021-04-23 Thread Toshio Nakamura
On Fri, 23 Apr 2021 06:49:10 GMT, Sergey Bylokhov wrote: > As far as I understand it is not directly related to the JTable and the bug > is reproduced if some specific font is used when any text is printed? Did you > check why the CTextPipe does not support it directly? It looks like the >

Re: [OpenJDK 2D-Dev] RFR: 8265761: Font with missed font family name is not properly printed on Windows

2021-04-23 Thread Alexander Scherbatiy
On Fri, 23 Apr 2021 07:02:45 GMT, Sergey Bylokhov wrote: >> PDFBox 1.8 uses >> [Graphics2D.drawGlyphVector()](https://github.com/apache/pdfbox/blob/41ae21bd4c3f304373d3b05f63af5325df248019/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDSimpleFont.java#L352) >> method with scaled glyphs

Re: [OpenJDK 2D-Dev] RFR: 8265761: Font with missed font family name is not properly printed on Windows

2021-04-23 Thread Sergey Bylokhov
On Thu, 22 Apr 2021 15:13:45 GMT, Alexander Scherbatiy wrote: > PDFBox 1.8 uses > [Graphics2D.drawGlyphVector()](https://github.com/apache/pdfbox/blob/41ae21bd4c3f304373d3b05f63af5325df248019/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDSimpleFont.java#L352) > method with scaled

Re: [OpenJDK 2D-Dev] RFR: 8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were garbled

2021-04-23 Thread Sergey Bylokhov
On Thu, 22 Apr 2021 09:21:20 GMT, Toshio Nakamura wrote: > Hi, > > Could you review the fix? > When non-English characters were printed from JTable on MacOS, > CTextPipe.doDrawGlyphs was called by OSXSurfaceData.drawGlyphs. However, > CTextPipe seems not support glyph with slot number of