Just curious...while reading up on the below Metal API / MacOS OpenGL 
depreciation, I notice reference to coming changes with OpenGL relating to 
transition to “Vulkan” which if I understand correctly may be a similar change 
in lower level graphics API (I think similar to Metal). Will updated to JFX 
with something similar eventually also be needed there as well?

Eric Bresie
ebre...@gmail.com (mailto:ebre...@gmail.com)

> On February 26, 2021 at 12:02:11 PM CST, Kevin Rushforth 
> <kevin.rushfo...@oracle.com (mailto:kevin.rushfo...@oracle.com)> wrote:
> Part of that 11+ minutes of the macOS build on GitHub Actions (which
> starts from a clean machine) is downloading and installing the JDK and
> other tools (gradle, etc), and cloning the repo. Also, incremental
> builds are much faster after the first one. So even if you do a full
> build once, subsequent builds for the debug-edit-build cycle is pretty
> quick.
>
> Phil might want to comment about the possibility of eliminating
> sub-pixel (LCD) text entirely on macOS. If it does turn out to be
> something worth doing, I note that macOS 10.13 is pretty old by now, so
> that wouldn't be a compelling reason to hold off (as long as it doesn't
> regress horribly).
>
> As for Project Lanai, that isn't related to this issue. Lanai is an
> implementation of the Java2D back end on Apple's Metal API (as an
> alternative to OpenGL). See JEP 382 [1] for more information. We will
> very likely do the same for FX starting in the not-too-distant future.
>
> -- Kevin
>
> [1] https://openjdk.java.net/jeps/382
>
>
> On 2/26/2021 9:39 AM, John Neffenger wrote:
> > On 2/26/21 6:56 AM, Rob Nikander wrote:
> > > I wonder if I can get a dev setup with a quick edit-compile-run
> > > cycle, or if the compile step takes a long time.
> >
> > The builds for macOS are taking just over 11 minutes on GitHub.
> >
> > To speed that up, I do my development in a project with only the
> > JavaFX Graphics module, linked below, and then use a guest machine to
> > do a full build for amd64 and armhf. Things go pretty quickly with the
> > help of 'rsync'. Not sure whether the same setup would help on macOS.
> >
> > JavaFX Graphics
> > https://github.com/jgneff/javafx-graphics
> >
> > > Do you know if the color fringes are being produced by the Core Text
> > > rendering to a bitmap, and not the subsequent OpenGL phase?
> >
> > No, I don't. I also don't know how the JavaFX code for macOS relates
> > to what's going on with the Lanai Project:
> >
> > Lanai Project
> > https://wiki.openjdk.java.net/display/lanai/Main
> >
> > Regarding my suggestion of removing the sub-pixel rendering, it would
> > be good to check how many Macs out there are still running on macOS
> > 10.13 High Sierra and earlier. Apple removed its sub-pixel rendering
> > and switched to grayscale anti-aliasing in macOS 10.14 Mojave.
> >
> > John
>

Reply via email to