summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengltexture.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-07-13 16:25:37 +0200
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-08-06 11:45:28 +0000
commit62a56adfa6cab1fe1099cfc1be9750276732f35e (patch)
tree82992aec04a1fee2fa13db2b84d9386427b86e01 /src/gui/opengl/qopengltexture.cpp
parent6c4bd85c1fada88e7f3f97d9a5e26af31dcd6bbe (diff)
Compile-time option for disabling high-DPI scaling
Even if QHighDpiScaling::isActive() returns false, there is a small overhead from calling functions and multiplying with 1.0. This change adds a QT_NO_HIGHDPISCALING #ifdef that replaces all conversion functions with empty inline functions. Task-number: QTBUG-46615 Change-Id: Idf85e1700e3adf7f7174c6fa3f5e1d006d74c826 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/gui/opengl/qopengltexture.cpp')
0 files changed, 0 insertions, 0 deletions