[cairo] Deprecating CAIRO_FORMAT_RGB16_565

Ralph Giles giles at ghostscript.com
Mon Aug 7 14:15:15 PDT 2006


On Mon, Aug 07, 2006 at 12:36:13PM -0700, Carl Worth wrote:

> And the recent work we did on fixing the BGR bug shows that we could
> have added support for using the xlib backend without ever adding a
> public 16-bit format.
> 
> So I'm inclined to deprecate the RGB16_565 format since it's never
> been usable, nor was it necessary for fixing the one case for which
> this feature was requested, (namely drawing with cairo's xlib backend
> to an X server with a 16-bit visual).

The other case I'd be concerned about is SDL or other framebuffer-
oriented drawing on embedded devices. I'm not aware of any actual uses, 
so this perhaps has no moral authority. But if, for example, I were to 
use cairo for a game on the n770, it would be tempting to draw into SDL 
surfaces since maemo isn't supporting a native, gtk-coupled cairo.

FWIW,
 -r


More information about the cairo mailing list