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 <[email protected]> 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 <[email protected] > <mailto:[email protected]>> 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 [email protected] > <mailto:[email protected]> > mailing list. > > Make sure you specify -Dsun.java2d.metal=true !! > > -phil. > > > > >
