iOS: Skip flushing child windows in QIOSBackingStore
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>
Fri, 8 Feb 2013 12:36:24 +0000 (13:36 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Wed, 27 Feb 2013 22:56:09 +0000 (23:56 +0100)
commit3eeb388b429242da8bfd9b9dc70660980f62090a
tree65e3c100aaeaaa50657d811fe49525cd7bfda058
parent029029fa97b8f11b2384040f12dc1ca6b31e03a6
iOS: Skip flushing child windows in QIOSBackingStore

We skip flushing raster-based child windows, to avoid the extra cost
of copying from the parent FBO into the child FBO. Since the child
is already drawn inside the parent FBO, it will become visible when
flushing the parent. The only case we end up not supporting is if the
child window overlaps a sibling window that's draws using a separate
QOpenGLContext.

Change-Id: Ib10414f4494747e5fe67f84b06575fe16ffddf96
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/plugins/platforms/ios/qiosbackingstore.mm