bug-gnustep
[Top][All Lists]
Advanced

[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: Fred Kiefer
Subject: [bug #28590] Cairo backend displays wrong colors on X server with a different endianness
Date: Tue, 19 Jan 2010 08:22:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6

Follow-up Comment #6, bug #28590 (project gnustep):

Thank you for your analysis. This really seems to be the cause of the
problem.

You patch is a complete hack and cannot be applied :-)
It would break all cases where we use shared memory in XWindowBuffer. But it
clearly points in the right direction. Why not put a similar change into
XWindowBuffer.m, close to line 390 after we create the XImage? For the
endianness, we should use that of the XServer,  ImageByteOrder(dpy) should do
the trick.

I am not sure, what this will result in for xlib and art when used remotely.
If this change breaks anything, we need to move the byte order out of this
method and pass it in as part of DI.
Could you please test this, as I don't have computers with different
endianness.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28590>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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