Qt Forum

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

    Running QWS application with OpenVG (Mesa)

    Mobile and Embedded
    2
    6
    2465
    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.
    • E
      einarmar last edited by

      hi there

      I've have cross-compiled the Mesa library in order to have operational 2D/3D acceleration on my Intel Atom (Pineview with GMA3150) machine.

      I have a simple question regarding how to run a QWS application that uses OpenVG ?
      What are the arguments needed to use the Mesa openvg acceleration ? I have tried to use -display openvg but with now luck.

      And for another thing, isn't it right that QT is using openvg underneath if an application is told to use it ?? I mean I don't have to use another API like the OpenGL API intended for GL support. So when a regular QT application code (not using opengl API) is used and OpenVG is enabled, then the 2D acceleration should work ?

      Kind regards
      Einar M. Bjorgvinsson
      Embedded Software Engineer
      Marel ehf
      Iceland

      1 Reply Last reply Reply Quote 0
      • E
        einarmar last edited by

        hi there again

        Is there anybody with some suggestions ?

        regards
        Einar

        1 Reply Last reply Reply Quote 0
        • E
          einarmar last edited by

          Help anybody !

          1 Reply Last reply Reply Quote 0
          • A
            Adrien Leravat last edited by

            Hi einarmar,

            Yes acceleration should work without having you write specific code if you use OpenVG.

            I think running an application using -qws would still benefit acceleration, as the Qt graphical server only takes care of the final step of copying/painting on screen.

            Have you checked the following link to compile Qt with OpenVG support ?
            "http://qt-project.org/doc/qt-4.8/openvg.html":http://qt-project.org/doc/qt-4.8/openvg.html

            Adeneo Embedded - www.adeneo-embedded.com

            1 Reply Last reply Reply Quote 0
            • E
              einarmar last edited by

              Hi and thanks for the reply.

              I have checked out the link and there is some information that help me there but I'm still trying to figure out if the following settings are correct for running QT QWS application that uses OpenVG:

              QWS_DISPLAY=LinuxFB ./myApp -qws -graphicssystem OpenVG

              Is it correct to define LinuxFB as the the QWS_DISPLAY ? is it correct to use the -qws server ?

              regards
              Einar

              1 Reply Last reply Reply Quote 0
              • E
                einarmar last edited by

                Hoping for some help here :-)

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