Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Speed up QPixmap::width(), height(), isNull() and depth(). | Andreas Aardal Hanssen | 2009-06-17 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | This change moves the w, h, d variables to QPixmapData and introduces is_null to keep track of nullness. This is possible only because QPixmapData is internal API; otherwise we'd have to be smarter. The optimization makes the QPixmap::width() function take 7 instructions, down from 34 before. For the calculator demo in the declarative ui branch this reduces a block of 750000 instructions (out of 30000000) to around 100000-150000 instructions. Tested on Windows, Linux, Mac. Raster, X11 and OpenGL paint engines. Have not tested the DirectFB engine. Reviewed-by: Trond | ||||
* | Merge license header changes from 4.5 | Volker Hilsheimer | 2009-06-16 | 1 | -2/+2 |
|\ | |||||
| * | Update license headers as requested by the marketing department. | Jason McDonald | 2009-06-16 | 1 | -2/+2 |
| | | | | | | | | Reviewed-by: Trust Me | ||||
| * | Long live Qt 4.5! | Lars Knoll | 2009-03-23 | 1 | -0/+350 |
| | |||||
* | Optimized QRasterPixmapData::metric. | Samuel Rødal | 2009-05-27 | 1 | -11/+22 |
| | | | | | | | | | | 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 | ||||
* | Remove the Direct3D engine. | Gunnar Sletta | 2009-04-24 | 1 | -9/+0 |
| | |||||
* | Long live Qt! | Lars Knoll | 2009-03-23 | 1 | -0/+360 |