I think the rendering is good at the moment. Currently I do not know how we could improve it further.
Maybe we can improve the preview image display, because it seems that it takes some additional time to be build (verse list is rendered/displayed, but the image not).
if not self.screens.current[u'primary'] and self.serviceItem and \ self.serviceItem.is_capable(ItemCapabilities.ProvidesOwnDisplay):
# Grab now, but try again in a couple of seconds if slide change
# is slow QtCore.QTimer.singleShot(0.5, self.grabMainDisplay) QtCore.QTimer.singleShot(2.5, self.grabMainDisplay)
else: self.slidePreview.setPixmap( QtGui.QPixmap.fromImage(self.display.preview()))
I think the rendering is good at the moment. Currently I do not know how we could improve it further.
Maybe we can improve the preview image display, because it seems that it takes some additional time to be build (verse list is rendered/displayed, but the image not).
if not self.screens. current[ u'primary' ] and self.serviceItem and \
self. serviceItem. is_capable( ItemCapabilitie s.ProvidesOwnDi splay):
QtCore. QTimer. singleShot( 0.5, self.grabMainDi splay)
QtCore. QTimer. singleShot( 2.5, self.grabMainDi splay)
self. slidePreview. setPixmap(
QtGui. QPixmap. fromImage( self.display. preview( )))
# Grab now, but try again in a couple of seconds if slide change
# is slow
else:
http:// bazaar. launchpad. net/~openlp- core/openlp/ trunk/view/ head:/openlp/ core/ui/ slidecontroller .py#L983
If we can remove the timers somehow, we should be able to make it snappier in some (!) cases.