[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #28590] Cairo backend displays wrong colors on X server with a
From: |
Fred Kiefer |
Subject: |
Re: [bug #28590] Cairo backend displays wrong colors on X server with a different endianness |
Date: |
Fri, 22 Jan 2010 18:20:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 |
Am 20.01.2010 20:52, schrieb Derek Fawcus:
> [from bug-gnustep]
>
> On Wed, Jan 20, 2010 at 02:47:38PM +0000, Fred Kiefer wrote:
>>
>> And we only need to change any code in the case where we
>> don't use shared memory (this is for some reason broken on modern X Servers
>> and I don't have a clue).
>
> Broken how? Note that shared pixmaps are an optional part of MIT-SHM support,
> and that recent Xorg servers have it disabled by default.
>
> I see that the XWindowBuffer.m code tries to use shared XImages and shared
> Pixmaps, and hence if shared pixmaps are disabled, disables all X shm
> support. i.e. this bit:
>
> if (!XShmQueryVersion(display, &major, &minor, &pixmaps) || !pixmaps)
>
> Could the code be usefully restructured to use shared Ximages without
> the need for shared pixmaps? Since it only seems to be used for the
> window background, possibly so by adjusting the above to ignore
> the chared pixmap support, and removing the line that tries to create
> the shared pixmap.
I just committed some code changes that try to follow your advice. Could
you please have a look.
Thank you
Fred