[Xcb] How can I increase the maximum request length?

Keith Packard keithp at keithp.com
Wed Jan 30 21:38:57 UTC 2019


paul ewing <pcewing at outlook.com> writes:

> It's not just the xcb_image_put request that needs to be split up. Separate
> images have to be created via multiple calls to xcb_image_create and a call to
> xcb_image_put has to be made for each image.

Yeah, some API changes to make it easy to put sub-images would be
useful.

> I suppose that xcb_image_put could detect if the image is too large and split
> the image up internally but then you have the problem Bart mentioned where
> there are multiple cookies to track each request and it's unclear what to
> return.

With xcb API changes to allow sub-image puts, creating a util function
to put the whole image and split it up would be pretty easy.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20190130/2b16ec29/attachment.sig>


More information about the Xcb mailing list