2009/5/25 Paul Robert Hayes <[email protected]>: > I have found that adding a forced "invalidate" can help with updates, but > there appears to be no consistent way. Between driver updates it changes as > well (OpenSuSE, and ATI). Sometimes it updates far too much. > > > gdk_window_invalidate_rect (drawingarea3->window, &drawingarea3->allocation, > FALSE);
thank you, I solved it by the similar way, at the end of each changing, add: this->get_gl_window()->get_window()->invalidate(true); > > Regards > > > 明覺 wrote: > > 2009/5/24 明覺 <[email protected]>: > > > I have spent 2 whole days working on porting my gtkglextmm program > from linux to windows, now it almost succeeds, except the last issue - > runs very slowly on nvidia geforce 9500 video card in windows vista. > On the same machine, I installed debian linux, and the program runs > smoothly there; on another machine, with a intel integrated video card > in windows vista, the same application also runs smoothly. > any advice on this problem? thanks > > > it seems to be a cache problem, I found that if I add some cout<< to > output something, the opengl drawing area will appear quicker, the > more I output by cout<<, the quicker it will appear, so it seems that > I need to command to output the video card cache. > > > -- > 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution > Gtkmm/Gtkglextmm Scim Totem Pidgin. > > > > > -- > Dr. Paul Robert Hayes > CEO, CEMTACH > [email protected] > 540 809 5839 > www.cemtach.com > Specializing in simulation, test, visualization and analysis of > electromagnetic systems. > -- 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution Gtkmm/Gtkglextmm Scim Totem Pidgin. _______________________________________________ gtkglext-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkglext-list
