summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglvertexarrayobject.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2021-03-09 12:13:41 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2021-03-15 11:49:48 +0100
commit4d1f13f3549a73f5ca4e64dac9137e83138080fa (patch)
tree8243b8fc6ccb9ac4a3399fd4966b82c4129d4964 /src/opengl/qopenglvertexarrayobject.cpp
parenta5573cfbd5f9bd5ac020b05c73e9da2cd7c0c33a (diff)
Read high-dpi env. variables in initHighDpiScaling()
Move all environment access to initHighDpiScaling(), which makes it so that all environment access happens at one point in time during QGuiApplication construction. Replace the “qt.scaling” logging category with “qt.highdpi”, and log each recognized env. variable. Further logging of DPI and computed scale factors will be introduced later on. This also enables auto-testing of the environment variable settings, since the auto-test can now control when the environment is read by (re-)creating the application object. Change-Id: I4e62a9c0050438357a58ace5b50fb7c5950c87ce Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/opengl/qopenglvertexarrayobject.cpp')
0 files changed, 0 insertions, 0 deletions