[OpenJDK 2D-Dev] what changed to make NSImage://NSListViewTemplate render correctly in JDK 17?

2021-05-27 Thread Alan Snyder
I notice that NSImage://NSListViewTemplate renders correctly in JDK 17 but not in previous JDKs, at least those that I have tried. In the older JDKs, it renders as lines, whereas in JDK 17 it renders as dots and lines (as it does in Finder). I tested on a recent iMac with Retina display using mac

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

2021-05-06 Thread Alan Snyder
h, then about 50% of the time. I tried creating a different window about 25 times, and it happened on #1, #4, and #25. > Any app or some specific app ? I’ve only tried a couple of apps and only this test program has shown the problem. > -phil. > > > On 4/29/21 7:18 PM, Al

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

2021-05-06 Thread Alan Snyder
I am seeing some unusual behavior (in b20) that I do not see using OpenGL (or using JDK 16). Sometimes when I open a new window, the window appears blank (except for the title bar) for about two seconds before the content appears. This behavior is not consistent. Opening another instance of the

Re: [OpenJDK 2D-Dev] EA8 build of Project Lanai (Java 2D Metal rendering pipeline for macOS) is now posted

2021-02-05 Thread Alan Snyder
> On Dec 16, 2020, at 11:57 PM, Philip Race wrote: > > To anyone who has a mac still running 10.12 - we don't expect Metal to run > (it requires at least 10.13 > and maybe even later by the time it is final) but we would like confirmation > that nothing in Metal > prevents OpenGL running on o

Re: [OpenJDK 2D-Dev] [10] Review Request: 8187399 Different problems in the javadoc's links in java.desktop package

2018-01-16 Thread Alan Snyder
It’s also not English, which not using @code would make it look like... > On Sep 15, 2017, at 12:34 PM, Phil Race wrote: > > 771 * @implNote Please note that for Mac OS, notifications > 772 * are only sent if the Java app is a bundled application, > 773 * with a {@code CFBundle

Re: [OpenJDK 2D-Dev] thoughts on multiresolution images

2016-03-11 Thread Alan Snyder
> On Mar 11, 2016, at 6:27 AM, Alexander Scherbatiy > wrote: > > > Hello Alan, > > Thank you for the feedback. > > On 04/03/16 19:59, Alan Snyder wrote: >> I am writing to share some thoughts based on recent experience using >> multiresolution

Re: [OpenJDK 2D-Dev] Fwd: creating images using native code

2015-08-20 Thread Alan Snyder
I have filed an RFE <https://bugs.openjdk.java.net/browse/JDK-8133998>. Alan > On Aug 18, 2015, at 9:58 AM, Sergey Bylokhov > wrote: > > This is 2d related question (cc 2d-dev). >> From: Alan Snyder < <mailto:javali...@cbfiddle.com>javali...@cbfiddle.com

Re: [OpenJDK 2D-Dev] Review request for 8029339 Custom MultiResolution image support on HiDPI displays

2015-07-15 Thread Alan Snyder
supporting a HiDPI display. I am assuming this capability already exists to support toolkit images. It would be nice to make that capability available to applications. Alan > On Jul 15, 2015, at 4:07 AM, Alexander Scherbatiy > wrote: > > On 7/14/2015 3:18 AM, Alan Snyder wrote:

Re: [OpenJDK 2D-Dev] Review request for 8029339 Custom MultiResolution image support on HiDPI displays

2015-07-15 Thread Alan Snyder
I am commenting on your suggestion that I can determine which display the image will displayed on. > On Jul 15, 2015, at 7:42 AM, Alexander Scherbatiy > wrote: > > On 7/15/2015 5:09 PM, Alan Snyder wrote: >> >> It seems you are making an assumption that the cod

Re: [OpenJDK 2D-Dev] Review request for 8029339 Custom MultiResolution image support on HiDPI displays

2015-07-13 Thread Alan Snyder
I have a concern about how custom multiresolution images are supported based on a problem I ran into using the JDK 8 classes, which are similar. The problem is that the selection of a variant image happens during painting. That is a very bad time to actually try to render an image, if one is in