compositor-drm: do not scan out transformed surfaces
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 25 Jan 2012 12:33:33 +0000 (14:33 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Fri, 27 Jan 2012 14:15:02 +0000 (16:15 +0200)
Not sure this check belongs here, but as the position checks are here
too, I added this. Just so we don't forget.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor-drm.c

index 95669b8..3adac88 100644 (file)
@@ -101,6 +101,7 @@ drm_output_prepare_scanout_surface(struct drm_output *output)
            es->geometry.y != output->base.y ||
            es->width != output->base.current->width ||
            es->height != output->base.current->height ||
+           es->transform.enabled ||
            es->image == EGL_NO_IMAGE_KHR)
                return -1;