summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-04-28 12:09:13 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-04-29 11:37:32 +0000
commit32a09df9a1b42806be0fd82a40f5837a22cfa52c (patch)
tree65e2b4ba3e6c0277b9da74382231d5f16dee8f28 /src/compositor/wayland_wrapper
parent3004d09437aca95544be88f60bae9b3f1d412a63 (diff)
Compositor API: Add bufferScale property to QWaylandSurface
Change-Id: I1d4e4b65e5a58e3f314551bb10226fa58650becb Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/compositor/wayland_wrapper')
-rw-r--r--src/compositor/wayland_wrapper/qwlsurfacebuffer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/wayland_wrapper/qwlsurfacebuffer_p.h b/src/compositor/wayland_wrapper/qwlsurfacebuffer_p.h
index a3866f285..1d186e2d8 100644
--- a/src/compositor/wayland_wrapper/qwlsurfacebuffer_p.h
+++ b/src/compositor/wayland_wrapper/qwlsurfacebuffer_p.h
@@ -116,6 +116,7 @@ private:
QWaylandSurface *m_surface;
QWaylandCompositor *m_compositor;
struct ::wl_resource *m_buffer;
+ int m_bufferScale;
struct surface_buffer_destroy_listener m_destroy_listener;
bool m_committed;
bool m_is_registered_for_buffer;