Qt Labs Forum » Graphics View

Please, can you add QImage::Format_RGBA to speedup OpenGL

(2 posts)

  1. marher
    marher
    Member

    Can you please add a QImage::Format_RGBA_OpenGL flag for handling images the way OpenGL wants it? This would make drawing a Pixmap with QPainter on an QGLWidget 100 times faster, and everyone could use his own ImageReader to provide such images. Hence, it would not be necessary to convert images in QGLContextPrivate::convertToGLFormat() anymore.
    Thank you,
    Mark

    Posted: 8 months #
  2. I agree !!
    Not only QImage::Format_RGBA_OpenGL but also QImage::Format_RGB_OpenGL and QImage::Format_RGB_FLOAT_OpenGL formats would be very usefull as I use OpenEXR images.

    Hugo

    Posted: 5 months #

RSS feed for this topic

Reply

You must log in to post.



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.