summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-04-22 16:15:20 +0200
committerSamuel Rødal <samuel.rodal@digia.com>2013-04-23 14:19:48 +0200
commit15f979cb46236c047859e0aaff1249302af20812 (patch)
tree5bf1c497aeda7c1dd5ee945fc46e072031dbf0da /src
parent16edc0e215677e6c9cef3a93528a1c8963418074 (diff)
downloadqtwayland-15f979cb46236c047859e0aaff1249302af20812.tar.gz
Fixed rendering stalling in qml-compositor.
We need to emit the textureChanged() signal on the QSGTextureProvider class for scene graph to mark the shader effect as dirty and for rendering of a new frame to be triggered. Change-Id: I57f625a154c5215e83b5e93b613463e97e9b8f77 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/compositor/compositor_api/qwaylandsurfaceitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurfaceitem.cpp b/src/compositor/compositor_api/qwaylandsurfaceitem.cpp
index 5089ce5f..a6f425a8 100644
--- a/src/compositor/compositor_api/qwaylandsurfaceitem.cpp
+++ b/src/compositor/compositor_api/qwaylandsurfaceitem.cpp
@@ -381,6 +381,7 @@ void QWaylandSurfaceItem::updateTexture()
}
m_provider->t = texture;
+ emit m_provider->textureChanged();
m_provider->smooth = smooth();
}