Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Is there any android SurfaceView like stuff in QQuick?

Is there any android SurfaceView like stuff in QQuick?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 414 Views
  • 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 Offline
    A Offline
    Amweb
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved