Hi all,
I have a question about the "paint time" processing (for example, when the
paint() method of a Tool extension is called), and a "work time" processing
(to substitute an atom by a molecule and other stuff while others extensions
work).
I am working with the Avogadro version 1.0.3 under Windows Seven (in debug
mode), and, sometime, I have big slowdown. And it seems that is neither "my
work time", nor "my paint time", but all process which manages the "paint
time".
But there is some mechanism (Qt and Avogadro) that I don't sure. For
example :
In a plugin of tool type (like drawTool) :
- When the mouse is downed, manipulation and calculation are realized to
manipulate the molecule and some Qt object (it can't work in a thread ?) ;
- In the same class/extension, the paint() method works when the
previous manipulations are finished.
Do they work in the same "main thread" ?
When the mouse is downed, the "main thread" lets this method works
immediately ? Or the "signal" is queued ?
Same questions for GLWidget.update() and the paint() method of drawTool ?
About the other extensions, do they work in the same thread ? Or they work
in different threads ?
If someone knows where I can have this information (I don't know what
mechanism works : specific to Qt, specific to Avogadro, both ?)
Thanks,
Regards.
Mickaël Gadroy
Ingénieur d'Etudes / Consulting engineer
Université de Reims Champagne-Ardenne
Département de Mathématiques et Informatique
UFR Sciences Exactes et Naturelles
Campus du Moulin de la Housse
BP 1039 - 51687 REIMS Cedex 2 - France
www.univ-reims.fr / www.univ-reims.eu
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel