[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Sun Jan 29 16:34:34 CET 2006
SVN commit 503551 by harris:
Turn off antialiasing when the display is being slewed. This makes the
display much more responsive (but it still seems a little bit slower
than under 3.x). Optimization work is definitely on the back
burner, we can worry about speed when everything is stable and working.
CCMAIL: kstars-devel at kde.org
M +5 -1 skymapevents.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymapevents.cpp #503550:503551
@@ -764,7 +764,11 @@
// bool drawGrid( Options::showGrid() && !(checkSlewing && Options::hideGrid() ) );
psky.begin( sky );
- psky.setRenderHint(QPainter::Antialiasing, true);
+ if ( slewing )
+ psky.setRenderHint(QPainter::Antialiasing, false);
+ else
+ psky.setRenderHint(QPainter::Antialiasing, true);
+
psky.fillRect( 0, 0, width(), height(), QBrush( data->colorScheme()->colorNamed( "SkyColor" ) ) );
//Draw all sky elements
More information about the Kstars-devel
mailing list