[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Use 8-bit colour values internally
From:       Billy Biggs <vektor () dumbterm ! net>
Date:       2005-08-23 4:03:31
Message-ID: 20050823040331.GA2417 () dumbterm ! net
[Download RAW message or body]

Jason Dorje Short (jdorje@users.sourceforge.net):

> Billy Biggs wrote:
> > The 16-bit representation of colours (cairo_color_t's shorts) is
> > only used by the fill_rectangles implementation for the image and
> > Xlib backends.  However, neither really needs this much precision:
> > pixman and X both convert back to 8 bit internally by shifting.
> 
> In the pixman code in the patch it looks like pixman is using 16-bit
> values...

  iccolor.c just shifts them back to 8-bit and then does the fill.

  -Billy


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic