[5/5] Xephyr: Fix broken image when endianess of client machine and host-Xserver differ

Matt Turner mattst88 at gmail.com
Tue May 5 14:18:36 PDT 2015


On Tue, May 5, 2015 at 11:07 AM, Ian Scott <ian.scott at arteris.com> wrote:
> On 03/31/2015 12:14 AM, Egbert Eich wrote:
>>
>> The image is created in the native byte order of the machine Xephyr is
>> rendered on however drawn in the image byte order of the Xephyr server.
>> Correct byte order in the xcb_image_t structure and convert to native
>> before updating the window.
>> If depths of Xephyr and host server differ this is already taken care of
>> by the depth conversion routine.
>> It is a terrible wase to always convert and transmit the entire image
>> no matter of the size of the damaged area. One should probably use
>> sub-images here. For now we leave this as an exercise.
>
>
> I have a patch that implements this with subimages. Should I submit a patch
> based on git master HEAD or based on this patch?

I expect Egbert's patch will be committed, so probably best to do it
on top of that.


More information about the xorg-devel mailing list