[Xcb] DBE help ...

Vincent Torri vtorri at univ-evry.fr
Fri Oct 29 06:38:07 PDT 2010



On Fri, 29 Oct 2010, Lars Segerlund wrote:

> Hello again,
>
> I have mailed the list on this topic before, but now I have done some
> testing and I am quite certain that xlib's BDE extension could be of
> use in xcb.
> I have checked some of my old programs, and also alternative
> techniques to do the same thing, ( allocating a big pixmap, and
> scrolling it in the drawable area of the window ), but nothing really
> gives the same performance as dbe & shm as for flickerfree animation.
>
> I am thinking that I could port xdbe to xcb, and my question is if I
> have understood the process correctly.
>
> As I understand it I need to do the following points:
>
> 1. port the xdbe proto header file.

actually, writing the xml file (dbe.xml) of the protocol specification of 
that extension is sufficient. Put that file in proto/

You can look at other xml description in proto to see how they are 
written. For example, take the protocol specification of shm, look at how 
shm.xml is written. Then look at dbe protocol specification and write 
dbe.xml.

> 2. somwhere add the functions to make the calls , Xext ?

the calls will be generated automatically if you correctly modify the 
autotools in proto/ and libxcb/. Again, for example, look at all the 
occurences of shm in the autotools (configure.ac, Makefile.am and .pc.in 
files)

Vincent


More information about the Xcb mailing list