[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28590] Cairo backend displays wrong colors on X server with a diff

From: Wolfgang Lux
Subject: [bug #28590] Cairo backend displays wrong colors on X server with a different endianness
Date: Tue, 19 Jan 2010 10:12:45 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PowerPC Mac OS X 10_4_11; en-US) AppleWebKit/531.9+(KHTML, like Gecko, Safari/528.16) OmniWeb/v622.10.0

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:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]