diff options
author | Oleg Romashin <romaxa@gmail.com> | 2010-03-24 13:12:25 -0400 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2010-03-24 13:12:25 -0400 |
commit | 022291be1cbddf4f6722f0bf76ebda6922780276 (patch) | |
tree | c2135c11a39312ff75ddb6786e2807eafee15706 /src/cairo-deprecated.h | |
parent | 36e12b1952f9bdc52491c5a9bdf8ce155865c362 (diff) | |
download | cairo-022291be1cbddf4f6722f0bf76ebda6922780276.tar.gz |
Add back support for CAIRO_FORMAT_RGB16_565
Due to slow memory speed, 16bpp color depth is still very popular on mobile
devices. Maemo5 is also using 16bpp color depth.
Diffstat (limited to 'src/cairo-deprecated.h')
-rw-r--r-- | src/cairo-deprecated.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/cairo-deprecated.h b/src/cairo-deprecated.h index 6397cc42d..e1f25bf29 100644 --- a/src/cairo-deprecated.h +++ b/src/cairo-deprecated.h @@ -36,20 +36,6 @@ #ifndef CAIRO_DEPRECATED_H #define CAIRO_DEPRECATED_H -/* The %CAIRO_FORMAT_RGB16_565 value was added in cairo 1.2.0 as part - * of fixing cairo's xlib backend to work with X servers advertising a - * 16-bit, 565 visual. But as it turned out, adding this format to - * #cairo_format_t was not necessary, and was a mistake, (cairo's xlib - * backend can work fine with 16-bit visuals in the same way it works - * with BGR visuals without any BGR formats in - * #cairo_format_t). - * - * Additionally, the support for the RGB16_565 format was never - * completely implemented. So while this format value is currently - * deprecated, it may eventually acquire complete support in the future. - */ -#define CAIRO_FORMAT_RGB16_565 4 - #define CAIRO_FONT_TYPE_ATSUI CAIRO_FONT_TYPE_QUARTZ /* Obsolete functions. These definitions exist to coerce the compiler |