Integrating Skia as another rendering engine
Hi,
What parts of the Inkscape codebase do I need to modify to incorporate Skia as a rendering backend, or are there limitations tying Inkscape to Cairo, and what approach should I take if it's viable?
I've previously tried to hack on the codebase, but I'm a Qt developer, so found it difficult even to just modify UI dialogs, which will be important to provide an option to switch to GPU rendering.
Even though I've started writing a new vector graphics tool with Qt, and gotten Skia working with OpenGL, I'd rather prefer not to re-incorporate Inkscape's functionality.
Kind Regards,
Ben Cottrell
Dear Ben,
Welcome to Inkscape.
The rendering engine used to be a lot more tied to Cairo but today it should be more possible to write or integrate a new engine into Inkscape.
The best thing to do is to come to a developer meeting at https://inkscape.org/cals/event/1/ or pop into the chat room at https://chat.inkscape.org
The best person to ask about this is PBS as I don't have enough information to answer anything in depth myself.
Best Regards, Martin Owens
Hi,
I've sent a message in the past (Mar 1, 2020, 17:52) to ask about proposing adding skia as a GSoC.
After that there was a GSoC project to try integrating Pathfinder but it seems the complexity was very high for very short period of time. https://lists.inkscape.org/hyperkitty/list/inkscape-devel@lists.inkscape.org...
Kind regards ikbel
On Thu, Nov 9, 2023, 09:35 bens7372@gmail.com wrote:
Hi,
What parts of the Inkscape codebase do I need to modify to incorporate Skia as a rendering backend, or are there limitations tying Inkscape to Cairo, and what approach should I take if it’s viable?
I’ve previously tried to hack on the codebase, but I’m a Qt developer, so found it difficult even to just modify UI dialogs, which will be important to provide an option to switch to GPU rendering.
Even though I’ve started writing a new vector graphics tool with Qt, and gotten Skia working with OpenGL, I’d rather prefer not to re-incorporate Inkscape’s functionality.
Kind Regards,
Ben Cottrell _______________________________________________ Inkscape Devel mailing list -- inkscape-devel@lists.inkscape.org To unsubscribe send an email to inkscape-devel-leave@lists.inkscape.org
participants (3)
-
bens7372@gmail.com
-
doctormo@gmail.com
-
Mohamed Ikbel Boulabiar