[Xcb] XCBImage

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Sun Mar 6 14:05:21 PST 2005

On Sun, 6 Mar 2005, Jamey Sharp wrote:

> 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'll do ;)

> > 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.

the WorksForMe(tm) strikes again. I'll see that. maybe with valgrind if
there's a problem

> (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.

great ! only good news

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

the code is really ugly...
but it will be simplier for you to modify it, i think.

tell me where i can add it, something like xcb/misc/xcb_image
and misc is used for ugly or test code


More information about the xcb mailing list