Follow-up Comment #7, bug #28590 (project gnustep):
Unfortunately I lack a machine where X is using shared memory at present.
However, I thought that shared memory is used only when the X server and
client are running on the same machine, in which case the patch should not
break anything since the endianness should be the same. (Of course, this does
change the hackishness of my patch :-)
I do not understand your suggestion to use the endianness of the server. The
problem is that we pass the cairo image surface the raw buffer and not an
XImage, so cairo can only use the endianness of the host. I've also found no
way to tell cairo to use another endianness (which is not very surprising,
since the image surface is a pure memory only representation). If we want
generic code that works for all backends, we can only use the host's native
endianness for the XImage buffer.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28590>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep