]> Git trees. - libqmvoc.git/commit
Changes in kalziumglwidget:
authorBenoît Jacob <jacob.benoit.1@gmail.com>
Mon, 26 Jun 2006 10:18:33 +0000 (10:18 +0000)
committerBenoît Jacob <jacob.benoit.1@gmail.com>
Mon, 26 Jun 2006 10:18:33 +0000 (10:18 +0000)
commit75022ae5531ecd22b01fe27fbf8cdb31f34841e4
treebf9a7bbe129fe14d271b1d00e6568cca71c605a8
parent68f0d317f5908d8c9f305d487dc30cbdb6ab72ee
Changes in kalziumglwidget:

- added FPS (frames per second) counter. Enable it by #defining
  USE_FPS_COUNTER. (Currently enabled).

- added option to cache the rendering of the molecule using a GL display
  list. This improves speed, especially for rendering complex
  molecules; I have measured a speed increase above +35% in some cases
  (depends also on the style and the widget size). Enable it by
  #defining USE_DISPLAY_LIST. (Currently enabled).

Change in latticedialog:

- I allowed myself to comment out ui.glWidget->update(); in
  LatticeDialog::slotUpdateView() because normally this is being
  taken care of by slotSetMolecule; also I think that for a GL widget,
  one should call updateGL() instead of update(); not 100% sure here.
  Carsten, I didn't see the "blank widget" bug in the lattice viewer;
  have you already solved it?

M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglwidget.cpp
M    kalzium/src/latticedialog.cpp

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=555113
kalzium/kalziumglwidget.cpp
kalzium/kalziumglwidget.h