Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0
-
None
-
Mac OS Mavericks with Retina display (MacBookPro 13"), iOS (iPad mini Retina)
-
0c7349fa9621f6460b754c2b3595d1c0f1d02ec4
Description
QQuickPaintedItem draws poorly on Retina displays due to lack of support for 2x devicePixelRatio. The result is fuzzy draw.
Please see the attached files for examples of the fuzzy draw in comparison with and an improved draw using a provisional fix implemented by a colleague. Also, the provisional fix to qsgpainternode.cpp is attached.
BTW, our application contains a mix of QtQuick/QML and some additional classes which implement graphs which inherit from QQuickPaintedItem. We need QQuickPaintedItems to draw well on Retina displays, because our customers' target device may often be an iPad (3 or 4 current iPad models ship with Retina displays as stock) or MacBook Pro with Retina display (2 of 3 current MacBook Pro models ship with Retina display as stock).
Attachments
For Gerrit Dashboard: QTBUG-40489 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
111012,1 | WIP: High-dpi QQuickPaintedItem | 5.5 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
112765,1 | Fix QQuickPaintedItem's contents[Size|Scale] and support high-dpi. | 5.5 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
125383,5 | Introduce QQuickPaintedItem::textureSize and support HighDpi. | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |