×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Nokia Developer Expert
    Join Date
    Oct 2008
    Posts
    40

    Nokia 500 graphics acceleration

    Nokia 500 comes with 1 GHz CPU. Unfortunately Nokia 500 does not include 3D graphics accelerator HW and therefore there is no OpenGL ES API in this device. However, there is 2D acceleration HW and OpenVG API for that.

    Qt automatically uses OpenVG rendering backend for this device and your Qt apps will run faster compared to non 2D/3D accelerated devices (N97 mini). I have measured the peak performance of this device and you can have fillrate of 30 Mpixels/s with transparent pixels (QPainter drawImage). This means you can fill the NHD resolution screen 4.3 times at 30 fps. I think this is enough performance for some simple 2D casual games.

    We are planning to create new version of the EPONG game that will support direct OpenVG rendering. I hope this example will help some of the developers that want to learn OpenVG basics and how to use that API directly from Qt.

    Br,
    Mika

  2. #2
    Registered User
    Join Date
    Apr 2003
    Location
    Finland, Espoo
    Posts
    37

    Re: Nokia 500 graphics acceleration

    Looking forward to that. Funny that OpenGL ES isn't available without acceleration. 1GHz would be quick enough for simple stuff though I guess there isn't that much demand for it.

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    2

    Re: Nokia 500 graphics acceleration

    Hi Mike,

    It seems Direct OpenVG rendering will be much faster than the default QT with backend OpenVG? We are looking to achieve around 60 fps on Nokia 500.

    After little bit of google it seems that we need to build QT for direct OpenVG use http://doc.qt.nokia.com/stable/openv...openvg-support . Would you please suggest which OpenVG implementations should we use? There are references for ShivaVG (OpenGL based) in the official documentation but at the same time it also recommends for EGL based implementation. Thanks

    regards,
    Atif

  4. #4
    Nokia Developer Expert
    Join Date
    Oct 2008
    Posts
    40

    Re: Nokia 500 graphics acceleration

    Unfortunately display refresh rate is limited to 30 fps in Nokia 500. QtPainter will automatically use OpenVG rendering backend so it will benefit from the acceleration. However, you might be able to get more performance if you use directly OpenVG and if you have the full OpenVG API feature set.

    I would recommend you to develop directly with Nokia 500 and not to use any SW OpenVG emulation drivers as you really won't get exact performance. OpenVG works also with N8 and other Symbian devices but the performance will be much better on these devices compared to Nokia 500.

    We are going to publish a new project (https://projects.developer.nokia.com/spritebatchqt) that uses OpenVG in couple of weeks.

  5. #5
    Registered User
    Join Date
    Oct 2011
    Posts
    2

    Re: Nokia 500 graphics acceleration

    Thanks Mike,

    However, you might be able to get more performance if you use directly OpenVG
    Would you please direct me how can I use OpenVG directly? Do I really need to build QT from scratch as mentioned in reference document

    I would recommend you to develop directly with Nokia 500
    you mean with default QT development?

    profound regards,
    Atif

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    26

    Re: Nokia 500 graphics acceleration

    Qt 4.7 has an example of OpenVG rendering at examples/openvg/star directory.

    Basically, you just write

    painter.beginNativePainting();

    /* do the openvg stuff here, like this: */
    static VGfloat backgroundColor[4] = { 0.0f, 1.0f, 0.0f, 1.0f };
    vgSetfv(VG_CLEAR_COLOR, 4, backgroundColor);
    vgClear(0, 0, 640, 360);

    painter.endNativePainting();

  7. #7
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Nokia 500 graphics acceleration

    One thing you have to consider if you are comparing N8 and Nokia 500,

    N8 has Graphics memory of 32MB , while Nokia 500 does not have.

    So, May be this is the possible reason.

  8. #8
    Nokia Developer Expert
    Join Date
    Oct 2008
    Posts
    40

    Re: Nokia 500 graphics acceleration

    SpriteBatchQt is now a public project. If you don't want to learn OpenVG but want to target Nokia 500 this project is for you. We will be publishing few example projects that use SpriteBatchQt in few weeks.

Similar Threads

  1. I have some question about 3d graphics hardware acceleration
    By micro.engine in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2009-07-31, 04:38
  2. Future of 3D Acceleration on Nokia devices...
    By Lichtens in forum General Development Questions
    Replies: 6
    Last Post: 2009-02-24, 12:30
  3. n95 j2me 3d graphics hardware acceleration
    By mincua in forum Mobile Java Games
    Replies: 2
    Last Post: 2008-10-06, 10:31
  4. Graphics.copyArea() vs Image.getRGB() / Graphics.drawRGB() ?
    By akokchai in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-23, 04:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×