Hi;

On Fri, 2006-09-15 at 14:12 +0100, Bastien Nocera wrote:
> 
> I saw in the clutter TODO list, the line:
>  - More portability - GL ES, DirectFB?, Windows, Mac ?
> 
> Wouldn't it be a good idea to remove direct X calls, and use GTK+/GDK
> instead? 

Check the backends branch in SVN, this currently very roughly implements
an EGL+GLES backend. You'll need to configure with --enable-egl and for
a basic non h/w accel EGL/GLES implementation grab;
http://svn.o-hand.com/repos/misc/trunk/ogles/ . 

It may need some poking for it to work for you, its *very* experimental
proof of concept code atm.

This branch basically moves all windowing system dependent code into
clutter-stage. Hopefully the code should explain the general plan for
portability.  

The big problem in this branch is all the GL calls need abstracting out
properly as to work well across both GL and GLES ( there is some overlap
but not totally ). 

> It would certainly cut down the number of things to port, and
> probably fix bugs like:
> http://bugzilla.openedhand.com/show_bug.cgi?id=100
> 
> Is there any reasons why pure-X is preferred to using GDK/GTK+?
> 

Historical raisins and probably that I know xlib better than I do
GDK/GTK+. The reason for still avoiding currently is for what clutter
needs to actually do currently windowing system wise ( think clutter on
raw fb ) Im not sure if this justifies the extra dep of GTK at least. I
am working towards getting clutter on embedded type h/w so GTK as a dep
could be quite a big deal.  

We're going to end up using at least a fair amount of xlib-ish calls
anyway for GLX use of which GDK/GTK does not abstract. 

Also if you really do want to do more advanced windowing system type
stuff with the stage you can always use the GTK clutter widget. 

Re #100, Im not totally convinced use of GTK would solve this and if it
indeed does surely it wouldn't be that much extra xlib code to fix with
just xlib. 

For now at least Id like to stick with just xlib, see how the backend
branch pans out and if we hit a more issues like #100 then by all means
reconsider.

btw, are you hacking something exciting with clutter :) ?

  -- Matthew

PS, Many thanks for all your bugzilla patches - they should mostly be
merged now.

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to