[cairo] How to test the gl backend?

Russell Shaw rjshaw at netspace.net.au
Fri Jun 4 05:53:10 PDT 2010


Emmanuele Bassi wrote:
> On Thu, 2010-06-03 at 17:44 +0200, Clemens Eisserer wrote:
> 
>> However, again, as far as I know, GTK uses a lot ob child-windows so
>> you would probably need a lot of OpenGL contexts which doesn't work
>> that well.
> 
> gtk+ doesn't use sub-windows any more, since 2.18. now there's a general
> 1:1 mapping between top-level windows and X windows[0].
> 
> ciao,
>  Emmanuele.
> 
> [0] except that code might still request a real, native Window for
> specific purposes, e.g. direct GL drawing, XEmbed or legacy stuff.

If gtk only uses top-level X windows, that means gtk has to register
for always-on mouse-motion events. Urgh...


More information about the cairo mailing list