diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-03-07 13:52:50 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-03-07 15:51:39 +0100 |
commit | 48e56862235f160ca08c713ac09c7b5764fc790a (patch) | |
tree | aecb3c9d03cbde136c6716198b2ceef075e1a2f5 /tests/auto/client/mockcompositor.h | |
parent | 609b8a18d0fb10cbee4a71a68ccee25a29fb071b (diff) |
Added testing of QBackingStore backend in wayland plugin.
Change-Id: I4db26cbee88f329a926914ff878e6efa9b0c8395
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'tests/auto/client/mockcompositor.h')
-rw-r--r-- | tests/auto/client/mockcompositor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/client/mockcompositor.h b/tests/auto/client/mockcompositor.h index 18de0e6cb..2d1e41836 100644 --- a/tests/auto/client/mockcompositor.h +++ b/tests/auto/client/mockcompositor.h @@ -46,8 +46,9 @@ #include <qglobal.h> #include <wayland-server.h> -#include <QRect> +#include <QImage> #include <QMutex> +#include <QRect> #include <QSharedPointer> #include <QVariant> #include <QVector> @@ -119,6 +120,8 @@ class MockSurface public: Impl::Surface *handle() const { return m_surface; } + QImage image; + private: MockSurface(Impl::Surface *surface); friend class Impl::Compositor; |