Hi,

Manoj Kumar Bhatta <[EMAIL PROTECTED]> writes:

>    when i am running any application of gtk+ with
> directfb as backend  , i am setting GdkColor  whose
> all structure members are 16 bit integer. But at
> DirectFB DFBColor structure members are all 8 bit
> integer .
> 
> I want to know how conversions happpens if it is 8 bit
> right shift of GdkColor structure members then ,
> GdkColor values(re,gren,blue) may get lost and  it may
> be some other color at DirectFB level .

Some precision is lost, that is correct, but since DirectFB and your
graphics cards can only display 8bit per channel, the color is
essentially the same.


Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to