
W dniu 9 kwietnia 2010 16:52 użytkownik Øyvind Kolås <islewind@...400...> napisał:
Replacing the full inkscape rendering with GEGL would probably not be a good idea (long term, _I_ probably want to experiment with some such hybrid non-SVG raster/vector authoring UI, with features such as stroking with soft brushes, variable line widths, non SVG 1.2 filters and more, so perhaps it will more sense at some point in the future). Where GEGL and SVG overlap most is SVG 1.2 Filters, it would make sense to use GeglBuffers ability to wrap other in-memory linear buffers (like cairo image surfaces) and do such raster ops using GEGL.
Thanks for a great comment!
I didn't consider GEGL for filters because I thought it was primarily for raster graphics compositing rather than rasterization, though it could make sense if it implements the necessary operations. However, can GEGL operate on OpenGL memory objects? In the mid-to-long term I want to use the OpenGL based cairo-gl backend on platforms where it's available, and being able to run the filters on the GPU without moving the data to the main memory could give a decent performance boost.
Regards, Krzysztof