Bartlomiej Bazior wrote:
Sébastien Métrot wrote:
When you say the host gets slow, do you mean moving the Plugin window or
> moving the nui window inside the plugin window?
Moving the plugin window. But now I see that it happens with all plugins
editors. Moving file list window inside the nui plugin editor works
smooth as butter. So I guess I just made a false alarm :-) Sorry.
But still what's bothering me is that when I launch standard windows
task manager and start moving plugin window (or file list windows
inside) CPU consumption raises to about 90%. Well haven't looked deeply
into ngl sources yet, but does it render windows at the constant frame
rate, or it uses as many fps as CPU can provide in the specific moment?
That would explain this behaviour.
Neither. This example redraw the window only when it is needed. There is
also a partial redraw on default. This means that it will only redraw
the widget that have changed (one can disable that behaviour in order to
always have full frames redraws). However I also noticed that when the
system asks the video card to redraw the opengl window it starts to be
VERY slow and I don't ha ve clue why. Can anybody do some profiling with
VTune or something?
Sebastien
--
Sebastien Metrot
Lead Dev.
http://www.usbsounds.com