summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng/libpng.3
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@accenture.com>2009-10-21 14:41:21 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-23 13:50:52 (GMT)
commitd54bc7379de145995534058dd2f6b400c9ab160e (patch)
treece27f5081ff2b6d3dea7323970f8d588f91c70f8 /src/3rdparty/libpng/libpng.3
parentdf0f099b7ae0ffbea46411276a239d152f36a7e2 (diff)
downloadQt-d54bc7379de145995534058dd2f6b400c9ab160e.zip
Qt-d54bc7379de145995534058dd2f6b400c9ab160e.tar.gz
Qt-d54bc7379de145995534058dd2f6b400c9ab160e.tar.bz2
Video screen region is updated in response to ancestors of video widget
being moved. Because QWidget::moveEvent is only called when a widget moves relative to its parent, a widget's absolute screen position may change without it receiving a moveEvent (for example, as a result of its parent being moved). The MMF video playback API on Symbian v9.4 requires, in addition to a window handle, an absolute screen rectangle. Changes in the video widget's absolute screen position therefore need to be propagated into the MMF. This change introduces a new object, AncestorMoveMonitor, which installs an event filter on the QCoreApplication instance. A VideoOutput object registers with the AncestorMoveMonitor, which listens on its behalf for MoveEvents and ParentChangeEvents directed at any of the ancestors of the VideoOutput. MoveEvents trigger a callback to the VideoOutput instance, which then notifies the MMF of the new screen rectangle. ParentChangeEvents cause the AncestorMoveMonitor to update the ancestor list associated with the target VideoOutput instance. The video position now tracks that of the associated widget, but there are two problems which require further investigation: 1. The video window lags behind. This may be an unavoidable consequence of the fact that setting a new screen rectangle causes the MMF to tear down its DSA session and start a new one; this is known to block the window server and take some time to complete. 2. Artifacts are visible around the edges of the moving video widget. Task-number: QTBUG-4787 Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty/libpng/libpng.3')
0 files changed, 0 insertions, 0 deletions