Is there any android SurfaceView like stuff in QQuick?



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.