Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there any android SurfaceView like stuff in QQuick?
Amweb last edited by
As far as I know, there are two UI threads at most in QT threaded mode, one for event processing, one for rendering.
Is it possible to have a third thread which can put content directly into the Window of QQuick, and the content can be composited with QQuick items?
In Android, there are only one thread for event processing and rendering. But android provides SurfaceView which provides a way to put content directly into android window system in a standalone thread. In android, SurfaceView has its own layer, the other android View(Like Qt Widget) has its own layer two. The compositor of android(SurfaceFlinger) can merged these two layers together. This mechanism provides best performance for games.