[Top][All Lists]

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

Re: Status of Cairo backend

From: Fred Kiefer
Subject: Re: Status of Cairo backend
Date: Tue, 03 Jul 2007 12:06:53 +0200
User-agent: Thunderbird (X11/20060911)

Fred Kiefer wrote:
> Fred Kiefer wrote:
>> Yen-Ju Chen wrote:
>>> Here is what I found out why cairo loses alpha processing. By
>>> default, the best depth GNUstep choose to use 24 bit (RGB), not 32
>>> bit (ARGB). (See  back/Source/x11/context.c bestContext()). So all
>>> the window are RGB (no alpha). (The buffer is 32-bit, though). 
>>> Whenever cairo draw into the window straight, it loses the alpha.
>>> Therefore, it cannot render alpha correctly because the background
>>> has not alpha at all. Here is the code to find the visual for 32 bit
>>> (ARGB): 
>>> http://webcvs.freedesktop.org/xapps/fdclock/findargb.c?revision=1.1&view=markup
>> Thank you for all these references. I tried them myself on the weekend
>> and it turns out my graphic card only supports 24 bits :-(
>> It is a wonderful GeForce4 Ti 4200 from NVidia with 128 MB and up to
>> yesterday I was quite satisfied with it, even for games (OK, old ones at
>> least). Until I buy a new one, there isn't much I can do for the
>> development of 32 bit support in GNUstep.
>  OK, I bought some new hardware and am about to install it. But don't
> hold your breath it will take me a few days to get all my operating
> systems to work with the new graphics card.

Sorry, no luck:
(==) NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp

Either I didn't spend enough money or I am just not able to configure my
X correctly.
But now that I have a GeForce 6200, will spend my time on new games and
forget about cairo :-)

reply via email to

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