[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] <AWT Dev> Project Lana EA build now available at https://jdk.java.net/lanai/ - 
From:       Alexey Ushakov <alexey.ushakov () jetbrains ! com>
Date:       2020-05-15 12:10:16
Message-ID: 395A2BA5-4051-47EA-8F56-16AE9F1F5523 () jetbrains ! com
[Download RAW message or body]

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.laurent@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.race@oracle.com \
> <mailto:philip.race@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-dev@openjdk.java.net \
> <mailto:lanai-dev@openjdk.java.net>  mailing list.
> 
> Make sure you specify -Dsun.java2d.metal=true  !!
> 
> -phil.
> 
> 
> 
> 
> 


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">Hi Laurent,<div class=""><br \
class=""></div><div class=""><blockquote type="cite" class=""><div dir="auto" \
class=""><div dir="auto" class=""><div dir="auto" class="">Does metal support correct \
color blending ?&nbsp;</div><div dir="auto" class="">I mean not the basic srgb mixing \
but gamma corrected at least.</div></div></div></blockquote></div><div class=""><div \
dir="auto" class=""><div dir="auto" class=""><div dir="auto" class=""><br \
class=""></div></div></div></div><div class=""><div>No, metal does not support it out \
of the box but I think it should not be &nbsp;a problem to implement the conversion \
in shaders or computational kernels.</div><div><br class=""></div><div><blockquote \
type="cite" class=""><div dir="auto" class=""><div dir="auto" class=""><div \
dir="auto" class="">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...</div></div></div></blockquote><div class=""><div \
dir="auto" class=""><div dir="auto" class=""><div dir="auto" class=""><br \
class=""></div><div dir="auto" class="">I think that GPU accelerated proper blending \
would be a great feature in Lanai.</div></div></div></div></div><div><br \
class=""></div><div>Best Regards,</div><div>Alexey</div><div><br class=""><blockquote \
type="cite" class=""><div class="">On 15 May 2020, at 11:28, Laurent Bourgès &lt;<a \
href="mailto:bourges.laurent@gmail.com" class="">bourges.laurent@gmail.com</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" \
class="">Congratulations !<div dir="auto" class=""><br class=""><div dir="auto" \
class="">I suppose it was an intense task.</div><div dir="auto" class=""><br \
class=""></div><div dir="auto" class="">Does metal support correct color blending \
?&nbsp;</div><div dir="auto" class="">I mean not the basic srgb mixing but gamma \
corrected at least.</div><div dir="auto" class=""><br class=""></div><div dir="auto" \
class="">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...</div><div dir="auto" class=""><br class=""></div><div dir="auto" \
class="">Cheers,</div><div dir="auto" class="">Laurent</div></div></div><br \
class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 15 mai \
2020 Ã  00:20, Philip Race &lt;<a href="mailto:philip.race@oracle.com" \
target="_blank" rel="noreferrer" class="">philip.race@oracle.com</a>&gt; a \
écrit&nbsp;:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">The first EA build of Project Lanai \
is available at <br class=""> <a href="https://jdk.java.net/lanai/" rel="noreferrer \
noreferrer noreferrer" target="_blank" class="">https://jdk.java.net/lanai/</a><br \
class=""> <br class="">
This is a new Java2D graphics pipeline for macOS.<br class="">
<br class="">
It can run the usual client demos, such as SwingSet2 and J2Ddemo,<br class="">
and even a large app like an IDE, although not without glitches.<br class="">
The EA download page has a link to the list of known, open bugs you can <br class="">
consult.<br class="">
<br class="">
It is a first EA build and there is plenty of work still to be done<br class="">
and we have doubtless not tested every situation nor do we have<br class="">
every piece of mac hardware out there, so there will be unreported <br class="">
issues too.<br class="">
<br class="">
Please try it, and provide feedback to the <a \
href="mailto:lanai-dev@openjdk.java.net" rel="noreferrer noreferrer" target="_blank" \
class="">lanai-dev@openjdk.java.net</a> <br class=""> mailing list.<br class="">
<br class="">
Make sure you specify -Dsun.java2d.metal=true&nbsp; !!<br class="">
<br class="">
-phil.<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic