diff options
author | Gunnar Sletta <gunnar@sletta.org> | 2014-09-30 21:32:17 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2014-10-16 08:38:17 +0200 |
commit | df663042ca8776d409e5474933b7d5663eb5a3cc (patch) | |
tree | c35fa7aeaedf434a6ec6e6013522e88fdff64ea3 /src/quick/scenegraph/qsgrenderloop_p.h | |
parent | b341ccf0a9be27713505b4c6ff748db58fdae91f (diff) |
Use QWindow::requestUpdate in threaded renderloop.
The default implementation is the same as what we do with the exhaust
delay, but it is now possible for platforms to line it up with vsync
so the GUI thread doesn't spend so much time being blocked.
Change-Id: Ie126f00a1be978608bf2a1db33d80d7f0458590d
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgrenderloop_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgrenderloop_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop_p.h b/src/quick/scenegraph/qsgrenderloop_p.h index e9b58c60ba..8d3214db60 100644 --- a/src/quick/scenegraph/qsgrenderloop_p.h +++ b/src/quick/scenegraph/qsgrenderloop_p.h @@ -64,6 +64,7 @@ public: virtual void update(QQuickWindow *window) = 0; virtual void maybeUpdate(QQuickWindow *window) = 0; + virtual void handleUpdateRequest(QQuickWindow *) { } virtual QAnimationDriver *animationDriver() const = 0; |