GNOME Bugzilla – Bug 610248
don't poll geometry for every frame
Last modified: 2010-03-18 19:11:20 UTC
xvimagesink and ximagesink poll the geometry for every frame. It would be nice to avoid this for performance reason (long playback time on battery powered devices).
Created attachment 154020 [details] [review] update geometry in event thread (if possible)
If the patches in bug #610249 look good, we can remove the polling in all cases.
Created attachment 154212 [details] [review] update geometry in event thread (if possible) This also updated the geometry in _expose() and thus gets rid of the polling totaly. This patch is now independent of bug #610249.
You sure you committed the patch ?
Yes, I am. commit 7b13aeee329834a29642360f958f27a6ef23bcf7 Author: Stefan Kost <ensonic@users.sf.net> Date: Tue Feb 16 12:06:08 2010 +0200 x(v)imagesink: take new size from event thread and do not poll for every frame We can update the geometry in ConfigureNotify (unless we disable event- handling). If event handling is disabled, one should use _expose() to trigger a redraw and update the geometry.