Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to use Android's TextureView on Qt.

How to use Android's TextureView on Qt.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 392 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.
  • delamorD Offline
    delamorD Offline
    delamor
    wrote on last edited by
    #1

    I do need to use Android TextureView on Qt, and I am not sure on how to proceed; is there a way to wrap native views? have Qt a way of using TextureView directly on Qml or so?

    The main reason of wanting that is because it synchronizes better and has less latency than other options I've checked ( like a custom QSGGeometryNode that creates latency ), on a slow hardware device with Mali-450.. Maybe because it's synchronized and paintings aren't getting stacked.

    raven-worxR 1 Reply Last reply
    0
    • delamorD delamor

      I do need to use Android TextureView on Qt, and I am not sure on how to proceed; is there a way to wrap native views? have Qt a way of using TextureView directly on Qml or so?

      The main reason of wanting that is because it synchronizes better and has less latency than other options I've checked ( like a custom QSGGeometryNode that creates latency ), on a slow hardware device with Mali-450.. Maybe because it's synchronized and paintings aren't getting stacked.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @delamor
      Not directly. You can use some 3rd party offscreen views (like this for example)
      Anyway this draws the widget into a buffer and then this buffer is drawn in QML. So in the end its even better tho directly implement it in QML.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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