Doesn't need XCB API changes per se, I think, just to the image library.<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 30, 2019, 13:39 Keith Packard <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">paul ewing <<a href="mailto:pcewing@outlook.com" target="_blank">pcewing@outlook.com</a>> writes:<br>
<br>
> It's not just the xcb_image_put request that needs to be split up. Separate<br>
> images have to be created via multiple calls to xcb_image_create and a call to<br>
> xcb_image_put has to be made for each image.<br>
<br>
Yeah, some API changes to make it easy to put sub-images would be<br>
useful.<br>
<br>
> I suppose that xcb_image_put could detect if the image is too large and split<br>
> the image up internally but then you have the problem Bart mentioned where<br>
> there are multiple cookies to track each request and it's unclear what to<br>
> return.<br>
<br>
With xcb API changes to allow sub-image puts, creating a util function<br>
to put the whole image and split it up would be pretty easy.<br>
<br>
-- <br>
-keith<br>
</blockquote></div>