diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2015-02-13 14:37:58 +0200 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2015-03-19 09:22:04 +0000 |
commit | f7aa5e201338606ecb3a7e4cb09c276e9fe53df6 (patch) | |
tree | 60fb1899131114cfc423f3f98e266d99d6260a76 /tests/auto/compositor/mockclient.h | |
parent | 8176dc7e292737adfd9d5f39607a84193ad9f819 (diff) |
Fix the compositor test
Output handling in the compositor changed, so update the test
accordingly. As a side effect we now send an additional
wl_output.scale event, so have the client handle it.
Also the mapping between wayland's and QImage's format changed
so make it succeed again.
Change-Id: I66d32725c54d93ca1512a6a0ddaf466f58984afc
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'tests/auto/compositor/mockclient.h')
-rw-r--r-- | tests/auto/compositor/mockclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/compositor/mockclient.h b/tests/auto/compositor/mockclient.h index 7b6b2b1f4..8647205f2 100644 --- a/tests/auto/compositor/mockclient.h +++ b/tests/auto/compositor/mockclient.h @@ -101,6 +101,7 @@ private: int height, int refresh); static void outputDone(void *data, wl_output *output); + static void outputScale(void *data, wl_output *output, int factor); void handleGlobal(uint32_t id, const QByteArray &interface); |