> One can do all that with their own libraries based on Xlib. I don't use
> any Xlib font functions.

And how is your Gujerati and accessibility ... ?

> > I'm also not sure why you'd want to use Xlib nowdays. I mean Xlib has a
> > serial non-threaded model without callbacks that causes apps to block
> > on queries - problems you won't have if you hand code the X11 message
> > parser yourself in optimised assembler ;)
> 
> No way to avoid it. You can't draw on a window until you've waited for
> the first expose event etc.

A lot of queries you can avoid the overhead because you can batch queries
and answers. You can also stall one thread on a query while others do
things. You might be waiting for one window to expose but that doesn't
mean you can't be querying other stuff or rendering into other windows at
the same time.

> One doesn't need to be confined to Xlib drawing functions either.
> Just bit bang to Shm XImages.
> 
> Is Xlib thread re-entrant? If not, i may do something about that.

Outside of dinosaur land someone already did - its called xcb.

Alan
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to