From: Reaves, T. <tr...@si...> - 2012-04-04 23:18:07
|
On my MacBook Pro - now seven years old - consolidating that code made the FPS go from ~55 to ~160. That's a big difference! On Wed, Apr 4, 2012 at 6:31 PM, Fabien Chéreau < fab...@go...> wrote: > On Wed, Apr 4, 2012 at 17:11, Chiraag Juvekar <chi...@gm...> > wrote: > > Hey, > > > > I was reading the implementation of the StelAppGraphicsWidget but I cant > > follow the paintPartial function. > > I understand that in one cycle it sets the data in the modules and in the > > next it paints them. > > I wanted to know why is it implemented in this manner. WHy no do both > > together one after the other? > > > > I had a similar doubt with the drawPartial implementation in stelApp > > This something Guillaume did to allow for fluid GUI even when the CPU > is not very fast. The problem was that when it took more than 1 frame > to compute and render the sky, the animation was kind of blocked and > it was annoying for keeping a fluid GUI. With this trick you can spit > the computation of the sky over several frames (and in the mean time > the program re-display always the same view stored in a buffer). > > Fab > > > > -- > > Chiraag > > > > You can't have everything in life, > > In particular, the list of all lists that do not contain themselves. > > > > > > > ------------------------------------------------------------------------------ > > Better than sec? Nothing is better than sec when it comes to > > monitoring Big Data applications. Try Boundary one-second > > resolution app monitoring today. Free. > > http://p.sf.net/sfu/Boundary-dev2dev > > _______________________________________________ > > Stellarium-pubdevel mailing list > > Ste...@li... > > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Stellarium-pubdevel mailing list > Ste...@li... > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > |