[Xcb] XCBImage

Jamey Sharp jamey at minilop.net
Sun Mar 6 12:05:37 PST 2005

On Sat, Mar 05, 2005 at 11:33:47AM +0100, Vincent Torri wrote:
> i am not a master of xlib, nor of xcb. My aim is first to make something
> that works. After that, if there is things that have to be modified, and
> the design is one of them, no problem. I don't want to fix it.

:-) Of course. Sorry if my questions bothered you: I'm glad you're
working on this and hope you will continue.

> I have put the code with shm stuff there :
> http://www.iecn.u-nancy.fr/~torri/files/xcb_image-0.2.tar.bz2

I've finally had a chance to try out this code. The SHM test works
nicely, but the normal test seems to be returning an X error and
segfaulting. I haven't had a chance to look into what error is coming
back yet.

(Josh, one of the things Xamine is supposed to do eventually is give us
a convenient protocol pretty-printer, right? Do you think it'll be
reasonably well-suited to being a "default" error handler for XCB-based
apps? Figuring out what X error just killed an XCB app is currently a
bit of a pain.)

I have some ideas for simplifying the Xlib-derived code, which should
make it run faster, use less memory, and be easier to validate. I won't
get into those just yet, though; we'd better make sure the current stuff
works first, I think.

I'd like to get your code into CVS soon: it looks ready for that to me.


More information about the xcb mailing list