Hi Laurent, > Does metal support correct color blending ? > I mean not the basic srgb mixing but gamma corrected at least.
No, metal does not support it out of the box but I think it should not be a problem to implement the conversion in shaders or computational kernels. > FYI I am implementing a new experimental color blender in pure java for the > future Marlin renderer to achieve higher quality like gimp 2.10, skia > (firefox, android) does... I think that GPU accelerated proper blending would be a great feature in Lanai. Best Regards, Alexey > On 15 May 2020, at 11:28, Laurent Bourgès <bourges.laur...@gmail.com> wrote: > > Congratulations ! > > I suppose it was an intense task. > > Does metal support correct color blending ? > I mean not the basic srgb mixing but gamma corrected at least. > > FYI I am implementing a new experimental color blender in pure java for the > future Marlin renderer to achieve higher quality like gimp 2.10, skia > (firefox, android) does... > > Cheers, > Laurent > > Le ven. 15 mai 2020 à 00:20, Philip Race <philip.r...@oracle.com > <mailto:philip.r...@oracle.com>> a écrit : > The first EA build of Project Lanai is available at > https://jdk.java.net/lanai/ <https://jdk.java.net/lanai/> > > This is a new Java2D graphics pipeline for macOS. > > It can run the usual client demos, such as SwingSet2 and J2Ddemo, > and even a large app like an IDE, although not without glitches. > The EA download page has a link to the list of known, open bugs you can > consult. > > It is a first EA build and there is plenty of work still to be done > and we have doubtless not tested every situation nor do we have > every piece of mac hardware out there, so there will be unreported > issues too. > > Please try it, and provide feedback to the lanai-...@openjdk.java.net > <mailto:lanai-...@openjdk.java.net> > mailing list. > > Make sure you specify -Dsun.java2d.metal=true !! > > -phil. > > > > >