[Xcb] xcb_glx example

Barton C Massey bart at cs.pdx.edu
Mon Jul 30 12:15:11 PDT 2007

Awesome!  Thanks much for sending.  Hopefully we can figure
out what's going on.  My initial attempt to run your program
revealed something that seems like a bug in the Debian
version of XCB I have installed; I'm working on diagnosing
it :-).

If you could ship us a version of your code with your
copyright notice and an open source license notice
(preferably the same MIT license as XCB's) on the top of
each file, that would be great; we could then publish it as
an example for folks to use.

Again, thanks much for the example; we'll try to work on the bug.

    Bart Massey
    Assoc. Prof. Computer Science
    Portland State University
    bart at cs.pdx.edu

In message <9f0f7ddb0707271044l75b40827of9dd635cc9d3e818 at mail.gmail.com> you wrote:
> ------=_Part_10055_9415068.1185558280104
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>      Hello, since the documentation on xcb_glx is very scarse and
> xcb_glx has it's differences from xlib's glx, I have some problems
> converting my xlib code to xcb_glx. I would prefer to convert xlib
> code to xcb since it would allow me for example for dedicated event
> threads without locking X all over the rest of my code. The problem
> with my simple xcb_glx program is that it only displays a window, but
> doesn't draw any opengl stuff in it. I also think it could also be a
> nice example for people who try to use xcb_glx because I'm sure I'm
> not the only one having this problem.
>     I send my code as attachment,  you can compile it with "gcc main.c
> x.c -lxcb -lxcb-glx -lGL -o glxtest". I'm sitting 2 days on it already
> and can't find any errors.
>            Konstantin.
> ------=_Part_10055_9415068.1185558280104
> Content-Type: application/x-bzip2; name=xcbglx.tar.bz2
> Content-Transfer-Encoding: base64
> X-Attachment-Id: f_f4oenbnx
> Content-Disposition: attachment; filename="xcbglx.tar.bz2"
> QlpoOTFBWSZTWU0MSRsACAT/gv3//GR7/////////v////9AAACIYBQe8de33nvnnurDEbUTmMXb
> su7zAaAAu3quSSvamAQEKKKopI6fR0oSCVMkyT1U/Uaek9U81TaQ9T1P1GoPUGmRk9MU2p6gA0DE

More information about the Xcb mailing list