summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglscreen_qws.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-05-27 07:44:14 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-05-27 09:57:22 (GMT)
commitcfdfdf079c4a2095c588dd8af8403c74d2cfa37a (patch)
treec4297c67413f25bf4e125258467f694e175972d9 /src/opengl/qglscreen_qws.cpp
parent80bc757b56953065fafeffe6c4b8fb6fbca287ac (diff)
downloadQt-cfdfdf079c4a2095c588dd8af8403c74d2cfa37a.zip
Qt-cfdfdf079c4a2095c588dd8af8403c74d2cfa37a.tar.gz
Qt-cfdfdf079c4a2095c588dd8af8403c74d2cfa37a.tar.bz2
Optimized QRasterPixmapData::metric.
Avoid needless DPI calculations when not needed, and simplify the DPI calculations to the point where most of the operations disappear. Also avoid calling QImage::metric() so that we don't need to go through two switch statements and an extra function call just to get the width of a pixmap. Reviewed-by: Trond
Diffstat (limited to 'src/opengl/qglscreen_qws.cpp')
0 files changed, 0 insertions, 0 deletions