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. QT5 2d acceleration on PowerVR SGX
QtWS25 Last Chance

QT5 2d acceleration on PowerVR SGX

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 4.1k 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.
  • N Offline
    N Offline
    NoelVanHook
    wrote on last edited by
    #1

    How much of the SGX 2D accelerator can Qt5 use for 2D? Will it automatically use the SGX OpenVG driver? Does it know how to talk to the PVR2D driver for non-vector graphics?

    If it can't, I'm assuming some kind of custom QPaintEngine module could be written to take advantage of the PVR2D API that the SGX drivers present?

    Thanks!
    Noel

    1 Reply Last reply
    0
    • M Offline
      M Offline
      messi
      wrote on last edited by
      #2

      Hi Noel

      this depends on which platform plugin do you use.
      Which one are you intending to use? xcb, eglfs, linuxfb kms, wayland, ..?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NoelVanHook
        wrote on last edited by
        #3

        This would be on VxWorks. So there is the OpenGLES driver available, and maybe the OpenVG driver also. My main concern is how to hook up the Qt paint engine to PVR2D, if that is possible, and if it would help or not.

        Thanks!
        Noel

        1 Reply Last reply
        0
        • M Offline
          M Offline
          messi
          wrote on last edited by
          #4

          I'm not quite sure but I would guess that his is a task of the platform plugins.
          http://qt.gitorious.org/qt/qtbase/trees/stable/src/plugins/platforms

          1 Reply Last reply
          0
          • M Offline
            M Offline
            messi
            wrote on last edited by
            #5

            Hi Noel

            Here is a little note:

            A key thing specific to our (SGX based) platforms - With the elimination of the display plugin, Qt5 no longer uses or supports blits via pvr2d or wsegl, and instead directly uses the egl (or window) capabilities exposed by the GL driver. This eliminates immediately a large portion of pvr2d/wsegl version related issues that cropped up in earlier Qt versions.
            (ex patch for Qt4 in below link is not needed anymore)

            I found it here:
            http://gpupowered.org/node/8

            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