Re: [Gimp-developer] Using GEGL on GIMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peixuan!

Great that you want to continue contributing :)
Give a look at that branch and the new OpenCL code, GeglBuffers are manipulated directly, so we don't need to do that anymore.

Don't forget that most of the discussions happen in the IRC channel.
Victor

On Thu, Apr 5, 2012 at 11:24 AM, Zhang Peixuan <zhangpeixuan.cn@xxxxxxxxx> wrote:
Thanks a lot.
 
I still hope to continue adding code to GEGL,  so I would like to know what I can do next.
Now I have some difficult on building GIMP-goat-invasion on Windows. But I will continue trying it.
 
If there is any infomation, please tell me, thanks.





在 2012年4月5日 下午5:59,Øyvind Kolås <pippin@xxxxxxxx>写道:

On Thu, Apr 5, 2012 at 10:40 AM, Zhang Peixuan
<zhangpeixuan.cn@xxxxxxxxx> wrote:
> Hello All,
>      I tested GEGL-0.2.0 on GIMP 2.8-RC1, I change some code for
> GIMP-2.8.RC1:
>
> app/gegl/gimpoperationtilesource.c
>
> gimp_operation_tile_source_prepare (GeglOperation *operation)
>  {
>    GimpOperationTileSource *self = GIMP_OPERATION_TILE_SOURCE (operation);
> +  const Babl *format;
> +  format = gimp_bpp_to_babl_format (tile_manager_bpp (self->tile_manager),
> +      self->linear);
>
>    if (self->tile_manager)
>      {
> -      gegl_operation_set_format (operation, "output",
> -                                 babl_format ("RaGaBaA float"));
> +      gegl_operation_set_format (operation, "output", format);
>      }
>  }
>
> I think it will make the GIMP faster when using GEGL.
>
>      And My questions is that: I found it only does one CL color conversion
> (when data in), but did not do the other conversion (data out), I don't know
> why, who can check it?

The TileSource and TileSink operations are being deperecated during
the GIMP-2.10 development cycle, please look at the goat-invasion git
branch of GIMP to see the new way things will be done.


--
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/


_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gimp-developer-list


_______________________________________________
gegl-developer-list mailing list
gegl-developer-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gegl-developer-list

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux