[webkit-dev] Cairo Port

Holger Freyther zecke at selfish.org
Sat Nov 22 18:46:09 PST 2008


On Sunday 23 November 2008 00:32:04 Arvid Ephraim Picciani wrote:
> Hi,
> When googling I found references to a cairo port of webkit.  I checked svn
> but only could find a gtk port.  Am i missing something?
> Cairo is fairly portable, while GTK  is not.

Oh well, Gtk+ is working everywhere where Cairo is working. I think the term 
"Cairo port" is referring to the Windows Platform where the usage of 
CoreGraphics is replaced with Cairo.

> If there is no pure cairo
> port and there are no plans to make one either,  how time consuming is
> writing a new port? I read webkit is supposed to be very portable.  Is the
> port API stable or does it require constant maintainance?

Constant maintainance is required. On the other hand you can reuse a lot of 
what was created and is maintained for the Gtk+ port (Cairo graphics, 
Curl/Soup networking..). On the other hand the Gtk+ API will gain the ability 
to draw to a cairo_surface sooner or later.  Things like the clutter webkit[1] 
show what is necessary.

z.

[1]http://git.o-hand.com/cgit.cgi?url=webkit/tree/WebKit/clutter/webkit



More information about the webkit-dev mailing list