diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-04-20 10:34:05 -0700 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-01 09:00:14 +0100 |
commit | 356c4ed9ccb317b29fa7a9bb89b43f73cd70053e (patch) | |
tree | 3b67ecbcdd566d3b63d23c3f04afc1504ffbecd8 /src/cairo-xlib-display.c | |
parent | bf75c9542d97533d419ba19c8e2b91e03b0370da (diff) |
Expose 30bpp/10bpc support: CAIRO_FORMAT_RGB30
This is a common format used by framebuffers to drive 10bpc displays
and is often hardware accelerated by XRender with underlying support
from pixman's x2r10g10b10 format (which provides coercion paths for
fallbacks).
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-xlib-display.c')
-rw-r--r-- | src/cairo-xlib-display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c index dd60484c..bef9c839 100644 --- a/src/cairo-xlib-display.c +++ b/src/cairo-xlib-display.c @@ -584,6 +584,7 @@ _cairo_xlib_display_get_xrender_format (cairo_xlib_display_t *display, xrender_format = XRenderFindVisualFormat(display->display, visual); break; } + case CAIRO_FORMAT_RGB30: case CAIRO_FORMAT_INVALID: default: ASSERT_NOT_REACHED; |