Results 1 to 2 of 2

Thread: Embedded Graphics Question: QRasterPaintEngine

  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Embedded Graphics Question: QRasterPaintEngine

    Hi All,

    I have been developing Qt-Embedded products for several years and have come up against an interesting challenge with my latest project.

    I have a powerpc touchscreen computer running a Linux 2.6 kernel and we have had Qt desktop running in X11. Recently we required 3D acceleration and bought an OpenGL driver for the graphics chip on the device. Unfortunately the driver does not support X11 and uses it's own MiniX / GLX that necessitates us going to Qt Embedded.

    Because the the OpenGL version is not ES compatible (it is customized full OpenGL 1.2ish) and we don't have EGL available (have tried wrappers but it was a nightmare), I can't use OpenGL for Qt Drawing. I do however have memory mapped access to a framebuffer layer on the graphics chip and can write to it directly while doing OpenGL on the other layers. The chip only supports 1 pixel format ARGB 1555 and the byte order is not the same as the platform. What would I need to do and how difficult would it be to massage the QRasterPaintEngine into drawing properly to this buffer?

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Embedded Graphics Question: QRasterPaintEngine

    Look at the QScreen-Class. There is an implementation for the linux framebuffer that could be used as a basis for your own implementation. Depending in your skills I think it is between half of a day and a week.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. Advanced PKG Options [S60]
    By ManuMies in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th November 2009, 11:52
  2. Problem with graphics in Qt embedded Linux
    By Krzysztow in forum Qt for Embedded and Mobile
    Replies: 11
    Last Post: 29th July 2009, 10:59
  3. Multiple apps using Qt/Embedded+Qtopia on Embedded Linux
    By drahardja in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 17th February 2008, 21:46
  4. QFileDialog options
    By The Storm in forum Qt Programming
    Replies: 5
    Last Post: 22nd December 2007, 11:22
  5. Qt IPC options & questions
    By Khal Drogo in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2007, 09:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.