discuss-gnustep
[Top][All Lists]
Advanced

[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: Mon, 02 Jul 2007 19:38:20 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

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.

Fred




reply via email to

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