Re: Turn off backing store
AFAIK OpenGL backend doesn't use a backing store.
Re: Turn off backing store
Quote:
Originally Posted by
wysota
AFAIK OpenGL backend doesn't use a backing store.
Does anything in Qt other than QPainter use a backing store? For instance, the QWidgets that make up the UI? The slowdown only occurs when another window (print dialog, open dialog etc) covers up any portion of the plot.
Re: Turn off backing store
QPainter is only an interface. It is QPaintDevice/QPaintEngine that is or is not backstore enabled (at least I think so).
Try to see if default Qt examples that use OpenGL experience simmilar slowdowns. If not, then the problem is probably in your code.
Re: Turn off backing store
AFAIK, only QPainters targeted to a QWidget* use the backing store. On Mac and MSWin, you can't disable this, despite the somewhat contradictory documentation. (Some places say you can, some say you can't.) I believe in X, you can disable the backing store.
*But, as others have mentioned, GL does not use the backing store, even if it's a 'widget'.