On Sunday 14 June 2009 13:08:25 Øyvind Kolås wrote:
> On Sat, Jun 13, 2009 at 5:32 AM, Saul
>
> Lethbridge<[email protected]> wrote:
> >> Is it possible to do something similar with clutter API?
> >
> > This sounds like it would be a useful addition.
>
> What would be the useful addition?
>
> I think it only makes sense to do such color correction in cases where
> the software is part of a visual media production pipeline where both
> source material and display devices have proper ICC profiles. (inputs
> assumed to be in sRGB could be used).
>

Yes. I am working on an image viewer for photos (geeqie.sf.net), where the 
color management is a must. Processing the image data with lcms is rather slow 
(around 10 MPix/s), the method with 3D lut in GPU is at least 30x faster.
Clutter API would help a lot with image scaling, zooming, etc.


>
> You can do similar lookup-tables with cogls API if you have a real
> need for it, though I am not sure if you could used 3D-textures in the
> manner required.
>

I haven't found any possibility to use 3D textures with cogl. So the question 
is, if I can create it with opengl API and set it  up in the second texturing 
unit before the ClutterTexture is drawn with a  ClutterShader , or if there 
would be any conflict with clutter internals.


Vladimir

--
To unsubscribe send a mail to [email protected]

Reply via email to