Remove the callback facility from context node.
authorJustin McPherson <justin.mcpherson@nokia.com>
Fri, 17 Feb 2012 03:52:09 +0000 (13:52 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Feb 2012 00:21:41 +0000 (01:21 +0100)
commit2954685be016123aac8100f398150a9f8cf01a92
treee64641efb81d91e477f2cfe93f87452c5c59afc7
parent2d72f97328f3d379476034549a26f1002c0b5fbc
Remove the callback facility from context node.

- It's not really necessary.
- It's probably a mis-use of QSGNode::preprocess()
  - Because it triggers a race between object deletion in the main thread
  and preprocess() in the render thread.

Change-Id: I51433f508db306aab53398f8c3d1d8c9d9e986fd
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/quick/items/context2d/qquickcanvasitem.cpp
src/quick/items/context2d/qquickcanvasitemnode.cpp
src/quick/items/context2d/qquickcanvasitemnode_p.h