Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Is there any android SurfaceView like stuff in QQuick?

    QML and Qt Quick
    1
    1
    277
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post