[cairo] [PATCH 20/41] drm/intel: allow CAIRO_FORMAT_RGB30 in intel_bo
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Thu Dec 10 14:16:56 PST 2015
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm-intel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/drm/cairo-drm-intel.c b/src/drm/cairo-drm-intel.c
index 735b173..0cded98 100644
--- a/src/drm/cairo-drm-intel.c
+++ b/src/drm/cairo-drm-intel.c
@@ -672,6 +672,7 @@ intel_bo_put_image (intel_device_t *device,
switch (src->format) {
case CAIRO_FORMAT_ARGB32:
case CAIRO_FORMAT_RGB24:
+ case CAIRO_FORMAT_RGB30:
offset += 4 * dst_x;
data += 4 * src_x;
size = 4 * width;
--
2.6.4.442.g545299f
More information about the cairo
mailing list