diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-21 14:52:02 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-26 13:16:09 (GMT) |
commit | 0bf84a428ab6199ae1bb98460b6a8ffb842cba88 (patch) | |
tree | f80c35e47bd07f8bdb86a524495e748d4c8d45f3 /src/plugins/platforms/wayland/qwaylanddisplay.h | |
parent | d39662822785484ec8e76066f4f2b65ef8778b40 (diff) | |
download | Qt-0bf84a428ab6199ae1bb98460b6a8ffb842cba88.zip Qt-0bf84a428ab6199ae1bb98460b6a8ffb842cba88.tar.gz Qt-0bf84a428ab6199ae1bb98460b6a8ffb842cba88.tar.bz2 |
Making clearer separation between responsibility of different classes
Ie. Moving code into different files and refactoring some of the
classes. The Drmbuffer was most affected.
It has a depth and stencil buffer.
QWaylandGLContext contain the context. The drm buffer class has to
be bound to the context before used.
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylanddisplay.h')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylanddisplay.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.h b/src/plugins/platforms/wayland/qwaylanddisplay.h index 7d989a9..a95e9c0 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay.h +++ b/src/plugins/platforms/wayland/qwaylanddisplay.h @@ -78,6 +78,9 @@ public: void setCursor(QWaylandBuffer *buffer, int32_t x, int32_t y); + void syncCallback(wl_display_sync_func_t func, void *data); + void frameCallback(wl_display_frame_func_t func, void *data); + public slots: void eventDispatcher(void); void flushRequests(void); |