Create BG context and fake surface on GUI thread
authorGunnar Sletta <gunnar.sletta@digia.com>
Thu, 7 Mar 2013 09:20:19 +0000 (10:20 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 23 Apr 2013 15:02:09 +0000 (17:02 +0200)
commit21aa22ba3fe2f6424742ba0a8fbf39937b81ad13
tree5d24cf8b5b971286036f1e7f24e2f078dc77d79c
parenta028d463508ed0612f7fd1d2b1365c5c091dc1b4
Create BG context and fake surface on GUI thread

This makes the example more messy and also makes it very hard
to avoid the initial black frame, but it is not compliant with
the limitations we experience on Windows.

Task-number: QTBUG-30077
Change-Id: If5a6da16f8fc1269cd20d2aa1190588025203d4f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
examples/quick/scenegraph/textureinthread/main.cpp
examples/quick/scenegraph/textureinthread/threadrenderer.cpp
examples/quick/scenegraph/textureinthread/threadrenderer.h