[Xcb] [PATCH] allow runtime change of XCB buffer size

Barton C Massey bart at cs.pdx.edu
Wed Oct 8 01:09:56 PDT 2008


In message <194f62550810071217q2057558y1998497a957aa1c1 at mail.gmail.com> you wrote:
> > Failing good QA, I think just bumping the default buffer
> > size to something like 64KB and calling it a day is a better
> > plan.  This should be sufficient to solve our immediate
> > problem, without creating new things to tweak and manage.
> 
> Ok,  I agree on changing the buffer-size at runtime could be problematic.
> But from a could-fail point of view I can't see any difference between
> setting the buffer size at compile-time or setting the buffer size
> before the connection is etablished (API or enviroment variable
> based), or do I forget something?

The issue is whether stuff linked with XCB (statically or
dynamically) is making assumptions about the buffer size.
Theyre not *supposed* to (except maybe Xlib)...

	Bart


More information about the Xcb mailing list