summaryrefslogtreecommitdiff
path: root/src/cairo-debug.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-04-20 10:34:05 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2011-05-01 09:00:14 +0100
commit356c4ed9ccb317b29fa7a9bb89b43f73cd70053e (patch)
tree3b67ecbcdd566d3b63d23c3f04afc1504ffbecd8 /src/cairo-debug.c
parentbf75c9542d97533d419ba19c8e2b91e03b0370da (diff)
downloadcairo-356c4ed9ccb317b29fa7a9bb89b43f73cd70053e.tar.gz
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-debug.c')
-rw-r--r--src/cairo-debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c
index b8bdfd1f6..1aa57791e 100644
--- a/src/cairo-debug.c
+++ b/src/cairo-debug.c
@@ -118,6 +118,7 @@ _cairo_debug_check_image_surface_is_defined (const cairo_surface_t *surface)
width = image->width*2;
break;
case CAIRO_FORMAT_RGB24:
+ case CAIRO_FORMAT_RGB30:
case CAIRO_FORMAT_ARGB32:
width = image->width*4;
break;