summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2015-05-12 09:52:48 -0700
committerKeith Packard <keithp@keithp.com>2015-05-12 09:53:25 -0700
commit910ddf85219f114744e8996a4ac044c4eafc62ac (patch)
tree4c3ac38a83b63144547994d30a1272f69d7feb41 /glamor
parentc65eda5e6676d942e80eaf2650a670174c8bd84a (diff)
Xephyr: Fix broken image when endianess of client machine and host-Xserver differ
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. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor')
0 files changed, 0 insertions, 0 deletions