[Xcb] problem with putting large images

Jamey Sharp jamey at minilop.net
Mon Jan 29 09:47:37 PST 2007


On Sun, Jan 28, 2007 at 02:16:52PM +0100, Christoph Pfister wrote:
> Apparently I can't put images with xcb_put_image which are bigger than
> 0x400000 bytes. Please see the attached test case (sorry for the
> hardcoded values: 1. screen; depth = 24; bpp = 32). Using a width of
> 1134 makes it working.

I suspect you're seeing an X server bug we noticed last June:
	https://bugs.freedesktop.org/show_bug.cgi?id=7186

I assume xcb_get_maximum_request_length returns 0x400000 for you? Of
course that number is supposed to be in 4-byte units, not 1-byte units;
but it comes directly from the server, which seems to just be doing the
wrong thing.

--Jamey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20070129/87557d7a/attachment.pgp


More information about the Xcb mailing list