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

Keith Packard keithp at keithp.com
Mon Apr 13 09:01:33 PDT 2015

Egbert Eich <eich at freedesktop.org> writes:

> 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.

Yeah, this is kinda miserable, but at least it should work now.

Reviewed-by: Keith Packard <keithp at keithp.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150413/01800d6e/attachment.sig>

More information about the xorg-devel mailing list