summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlogging.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-08-02 16:20:06 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-08-03 17:48:02 +0000
commit4b7cb3bc91e100c591134c1c32c397477356d2eb (patch)
tree355633507c8ca9b88b77a49fd35cde3c258d3001 /src/corelib/global/qlogging.cpp
parentffae448dc3fd4028aa62acc8710f8a11b1985f7f (diff)
Don't trigger composeAndFlush for native child widgets unless needed
The textureChildSeen flag is set on each widget the first time it has a child needing textures, which triggers the composeAndFlush codepath. If a top level widget had a child needing this codepath, but other native children not needing it, we ended up always using composeAndFlush for the native children, since we were checking textureChildSeen of the top level widget. We should check the child widget instead, which will never have the flag set unless itself had children that required composeAndFlush. This matches the logic in findAllTextureWidgetsRecursively, which also checks the child widget and not the top level widget. Done-width: Laszlo Agocs <laszlo.agocs@qt.io> Change-Id: I65064eef41e56d9c1a789a96cedb98b11e8a177a Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
0 files changed, 0 insertions, 0 deletions