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

List:       kde-kimageshop
Subject:    Re: Future of Shiva, lack of future of OpenGTL
From:       Cyrille Berger Skott <cberger () cberger ! net>
Date:       2013-12-01 12:17:37
Message-ID: 4817804.oOkVzzVmDJ () pixie
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sunday 01 December 2013 11:39:20 Boudewijn Rempt wrote:
> On Saturday 30 November 2013 Nov 09:35:17 Cyrille Berger wrote:
> > Most definitely. I don't have an explicit roadmap yet. I also haven't
> > follow closely enough to know if you already have figured out a way to
> > integrate OpenCL in Krita, but in any case, I would start with
> > integrating the C++ backend first.
> 
> Ack... For opencl, there's a branch by Matus that uses the qt bindings to
> opencl. This isn't ideal because it goes through QImage. We haven't 
done
> anything else yet.

You actually don't need to go through QImage with the qt bindings, you can 
give a "char*". But well anyway, for Krita that is not the biggest challenge, 
the big challenge is to have a full opencl pipeline, it doesn't really make 
sense to move between CPU and GPU. And this transition is difficult, just 
look at how long it takes for the Gimp to move to Gegl... I guess I have it 
easier by starting from scratch.

That said, Shiva could help there, if it has a path to C++ and a path to 
OpenCl, if we can write filters in Shiva, then we can use in C++ until we are 
ready to move to OpenCL. And I guess Krita is in the same situation as my 
application, it needs to be able to run on non-OpenCL devices. The biggest 
challenge is that Shiva is not color space independent friendly, I haven't 
figured out a good way to handle that, I am already struggling a bit with 
RGB and Gray, and both are actually the same color space.

Well anyway, this is far future plan, maybe we will have the opportunity to 
talk about that in Copenhagen.

-- 
Cyrille Berger Skott

[Attachment #5 (unknown)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans Mono'; font-size:9pt; \
font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">On Sunday 01 December 2013 11:39:20 Boudewijn Rempt wrote:</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; On Saturday 30 November \
2013 Nov 09:35:17 Cyrille Berger wrote:</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; Most definitely. I don't have an \
explicit roadmap yet. I also haven't</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; follow closely enough to know if you \
already have figured out a way to</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; integrate OpenCL in Krita, but in any case, I would \
start with</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
integrating the C++ backend first.</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; </p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; Ack... For opencl, there's a branch by Matus that uses the qt \
bindings to</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; \
opencl. This isn't ideal because it goes through QImage. We haven't done</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; anything else yet.</p> \
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">You actually don't need to go \
through QImage with the qt bindings, you can give a &quot;char*&quot;. But well \
anyway, for Krita that is not the biggest challenge, the big challenge is to have a \
full opencl pipeline, it doesn't really make sense to move between CPU and GPU. And \
this transition is difficult, just look at how long it takes for the Gimp to move to \
Gegl... I guess I have it easier by starting from scratch.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">That said, Shiva could help \
there, if it has a path to C++ and a path to OpenCl, if we can write filters in \
Shiva, then we can use in C++ until we are ready to move to OpenCL. And I guess Krita \
is in the same situation as my application, it needs to be able to run on non-OpenCL \
devices. The biggest challenge is that Shiva is not color space independent friendly, \
I haven't figured out a good way to handle that, I am already struggling a bit with \
RGB and Gray, and both are actually the same color space.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Well anyway, this is far \
future plan, maybe we will have the opportunity to talk about that in Copenhagen.</p> \
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Cyrille Berger \
Skott</p></body></html>



_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


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

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