qt5 - QML text rendering issue with custom OpenGL item active -
i've been working qmlogre qt example make work qt5 final. original example looks fine , behaves intended. code here: https://github.com/advancingu/qmlogre
however found there issue when qml text item modified either through changed signals emitted c++ or simple timer in sample qml scene. example, added 10ms qml timer increments counter , assigns text item. corresponding code here: https://github.com/advancingu/qmlogre/tree/issue
what happens on each frame, characters (except 1 or two) of text item randomly disappear. of them disappear changes each frame, there lot of flickering. characters show correct ones , @ correct location.
my observation has been issue appears on application executions, looks threading issue (qmlengine runs 1 thread dealing qml object bindings, qml painting has own thread in ogre lives / must live).
anyone have ideas on why happening or how can resolved?
- ogre version: 1.8.1
- qt version: 5.0.1 (5.1-dev today has same issue)
- os/distro: ubuntu 12.04 64bit
- graphics driver: tried mesa 9.0 , fglrx (both show it)
still not sure caused issue found way fix creating separate opengl context in ogrenode
used ogre. of course cause performance worsen, still better things not working reliably. code in repository updated fix.
Comments
Post a Comment