emacs-devel
[Top][All Lists]
Advanced

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

Re: SVG hack for display engine


From: Gerry Agbobada
Subject: Re: SVG hack for display engine
Date: Fri, 26 Nov 2021 02:33:08 +0100
User-agent: Cyrus-JMAP/3.5.0-alpha0-1371-g2296cc3491-fm-20211109.003-g2296cc34

Hello,

On Wed, Nov 17, 2021, at 05:46, Po Lu wrote:
> FWIW I am working on a port of Emacs to GTK 4, which doesn't use Cairo
> (which has been deprecated by the GTK developers), instead using the
> native GSK scene graph kit to draw.  It does something very similar to
> what your SVG rendering would be like, keeping a tree of render nodes
> around past calls to gtk_widget_draw, and modifying it from the RIF.
>
> Getting it to work mostly correctly was extremely painful, and it still
> struggles with leaks (where obscured render nodes are not pruned
> correctly by xg_fixup_render_table) and the lack of the scroll
> optimization.
>
> (If someone wants details on this, wait a few weeks.  I will probably
> have it in a usable state by then.)
>
> Thanks.


Is there a forge/repository online where you push your work on GTK4, I wonder 
what the changes/work to do look like.


-- 
Gerry Agbobada



reply via email to

[Prev in Thread] Current Thread [Next in Thread]