summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qshareddata.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-09-03 14:29:04 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-10-23 20:19:30 +0200
commit07466a52c60dca9c1aeb1d40423bb9427d1a9583 (patch)
tree97c96db1db834bdb9bd4a0a26ec15581097f3106 /src/corelib/tools/qshareddata.cpp
parent4485f0d626c44ca21e8dff6e336bbd99fdae6761 (diff)
macOS: Remove alpha from default surface format
(This reverts commit 2ca1253b13e77643b3d2dd993a038ae2df882311). This allowed use to avoid backing store RGB -> RGBA conversions on the CPU back before macOS was layer backed. The conversion should be GPU accelerated now, and we can return to the cross-platform default. In addition, RGBA backingstores requires filling with transparent pixels on each paint event, which causes increased CPU usage - often for no reason if transparency effects are not used. Change-Id: Ic795128b7e474b63f44f9f4f3526d0b205652e62 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/tools/qshareddata.cpp')
0 files changed, 0 insertions, 0 deletions