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
Qt Labs Forum » Graphics View
Please, can you add QImage::Format_RGBA to speedup OpenGL
(2 posts)-
Posted: 8 months #
-
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 #
Reply
You must log in to post.